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