]> git.saurik.com Git - apple/xnu.git/blob - pexpert/pexpert/pe_images.h
8fdab2dea7409d0b41eefb1103d26ea777097e74
[apple/xnu.git] / pexpert / pexpert / pe_images.h
1 /*
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * The contents of this file constitute Original Code as defined in and
7 * are subject to the Apple Public Source License Version 1.1 (the
8 * "License"). You may not use this file except in compliance with the
9 * License. Please obtain a copy of the License at
10 * http://www.apple.com/publicsource and read it before using this file.
11 *
12 * This Original Code and all software distributed under the License are
13 * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
14 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
17 * License for the specific language governing rights and limitations
18 * under the License.
19 *
20 * @APPLE_LICENSE_HEADER_END@
21 */
22
23 #include <pexpert/GearImage.h>
24
25
26 #warning shared video_console.c
27 struct vc_progress_element {
28 unsigned int version;
29 unsigned int flags;
30 unsigned int time;
31 unsigned char count;
32 unsigned char res[3];
33 int width;
34 int height;
35 int dx;
36 int dy;
37 int transparent;
38 unsigned int res2[3];
39 };
40 typedef struct vc_progress_element vc_progress_element;
41
42 struct boot_progress_element {
43 unsigned int width;
44 unsigned int height;
45 int yOffset;
46 unsigned int res[5];
47 unsigned char data[0];
48 };
49 typedef struct boot_progress_element boot_progress_element;
50
51
52 static const unsigned char * default_progress_data = gGearPict;
53 static const unsigned char * default_noroot_data = 0;
54
55 static vc_progress_element default_progress =
56 { 0, 4|1, 1000 / kGearFPS, kGearFrames, {0, 0, 0},
57 kGearWidth, kGearHeight, 0, kGearOffset,
58 0, {0, 0, 0} };
59
60 static vc_progress_element default_noroot =
61 { 0, 1, 0, 0, {0, 0, 0},
62 128, 128, 0, 0,
63 -1, {0, 0, 0} };