]>
Commit | Line | Data |
---|---|---|
1c79356b A |
1 | /* |
2 | * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. | |
3 | * | |
4 | * @APPLE_LICENSE_HEADER_START@ | |
5 | * | |
de355530 A |
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. | |
1c79356b | 11 | * |
de355530 A |
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 | |
1c79356b A |
14 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, |
15 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, | |
de355530 A |
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. | |
1c79356b A |
19 | * |
20 | * @APPLE_LICENSE_HEADER_END@ | |
21 | */ | |
22 | /* | |
23 | * @OSF_COPYRIGHT@ | |
24 | */ | |
25 | /* | |
26 | * @APPLE_FREE_COPYRIGHT@ | |
27 | */ | |
28 | /* | |
29 | * HISTORY | |
30 | * | |
31 | * Revision 1.1.1.1 1998/09/22 21:05:43 wsanchez | |
32 | * Import of Mac OS X kernel (~semeria) | |
33 | * | |
34 | * Revision 1.1.1.1 1998/03/07 02:26:05 wsanchez | |
35 | * Import of OSF Mach kernel (~mburg) | |
36 | * | |
37 | * Revision 1.1.9.4 1997/05/09 15:36:59 barbou | |
38 | * Moved "video" funnel declaration to video_board.h. | |
39 | * [97/05/09 barbou] | |
40 | * | |
41 | * Revision 1.1.9.3 1997/05/08 19:33:07 barbou | |
42 | * SMP support: | |
43 | * Funnelized the "video" driver. | |
44 | * [1997/05/08 18:20:34 barbou] | |
45 | * | |
46 | * Revision 1.1.9.2 1997/01/27 15:27:31 stephen | |
47 | * Export new set/get_status | |
48 | * VC_GETKEYBOARDLEDS/VC_SETKEYBOARDLEDS | |
49 | * [1997/01/27 15:27:01 stephen] | |
50 | * | |
51 | * Revision 1.1.9.1 1996/12/09 16:52:52 stephen | |
52 | * nmklinux_1.0b3_shared into pmk1.1 | |
53 | * [1996/12/09 10:57:12 stephen] | |
54 | * | |
55 | * Revision 1.1.7.4 1996/10/18 08:25:16 stephen | |
56 | * Added v_rowscanbytes field | |
57 | * [1996/10/18 08:24:11 stephen] | |
58 | * | |
59 | * Revision 1.1.7.3 1996/10/14 18:36:33 stephen | |
60 | * Added v_rows, v_volumns | |
61 | * Removed sys/ioctl.h inclusion | |
62 | * File is now exported from microkernel | |
63 | * [1996/10/14 18:24:17 stephen] | |
64 | * | |
65 | * Revision 1.1.7.2 1996/08/23 09:24:10 stephen | |
66 | * Added guards around file | |
67 | * [1996/08/23 09:23:05 stephen] | |
68 | * | |
69 | * Revision 1.1.7.1 1996/06/20 12:53:46 stephen | |
70 | * added VM_TYPE_AV | |
71 | * [1996/06/20 12:51:04 stephen] | |
72 | * | |
73 | * Revision 1.1.4.3 1996/05/28 10:47:39 stephen | |
74 | * Added HPV video capability | |
75 | * [1996/05/28 10:45:10 stephen] | |
76 | * | |
77 | * Revision 1.1.4.2 1996/05/03 17:26:06 stephen | |
78 | * Added APPLE_FREE_COPYRIGHT | |
79 | * [1996/05/03 17:20:05 stephen] | |
80 | * | |
81 | * Revision 1.1.4.1 1996/04/11 09:06:47 emcmanus | |
82 | * Copied from mainline.ppc. | |
83 | * [1996/04/10 17:01:34 emcmanus] | |
84 | * | |
85 | * Revision 1.1.2.2 1996/03/14 12:58:25 stephen | |
86 | * Various new definitions from Mike | |
87 | * [1996/03/14 12:21:30 stephen] | |
88 | * | |
89 | * Revision 1.1.2.1 1996/02/08 17:37:58 stephen | |
90 | * created | |
91 | * [1996/02/08 17:32:46 stephen] | |
92 | * | |
93 | * $EndLog$ | |
94 | */ | |
95 | ||
96 | #ifndef _POWERMAC_VIDEO_CONSOLE_H_ | |
97 | #define _POWERMAC_VIDEO_CONSOLE_H_ | |
98 | ||
99 | ||
100 | struct vc_info { | |
101 | unsigned long v_height; /* pixels */ | |
102 | unsigned long v_width; /* pixels */ | |
103 | unsigned long v_depth; | |
104 | unsigned long v_rowbytes; | |
105 | unsigned long v_baseaddr; | |
106 | unsigned long v_type; | |
107 | char v_name[32]; | |
108 | unsigned long v_physaddr; | |
109 | unsigned long v_rows; /* characters */ | |
110 | unsigned long v_columns; /* characters */ | |
111 | unsigned long v_rowscanbytes; /* Actualy number of bytes used for display per row*/ | |
112 | /* Note for PCI (VCI) systems, part of the row byte line | |
113 | is used for the hardware cursor which is not to be touched */ | |
114 | unsigned long v_reserved[5]; | |
115 | }; | |
116 | ||
117 | #endif /* _POWERMAC_VIDEO_CONSOLE_H_ */ |