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