]> git.saurik.com Git - apple/xnu.git/blob - osfmk/ppc/POWERMAC/video_console_entries.h
4976ee80dd34b424706ceeb50c0cc3a7ebf4ea79
[apple/xnu.git] / osfmk / ppc / POWERMAC / video_console_entries.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 * @OSF_FREE_COPYRIGHT@
24 *
25 */
26 /*
27 * @APPLE_FREE_COPYRIGHT@
28 */
29 /*
30 * HISTORY
31 *
32 * Revision 1.1.1.1 1998/09/22 21:05:43 wsanchez
33 * Import of Mac OS X kernel (~semeria)
34 *
35 * Revision 1.1.1.1 1998/03/07 02:26:05 wsanchez
36 * Import of OSF Mach kernel (~mburg)
37 *
38 * Revision 1.1.10.1 1996/12/09 16:52:54 stephen
39 * nmklinux_1.0b3_shared into pmk1.1
40 * [1996/12/09 10:57:17 stephen]
41 *
42 * Revision 1.1.8.2 1996/06/14 08:40:48 emcmanus
43 * Added prototype for vc_putchar().
44 * [1996/05/07 09:35:43 emcmanus]
45 *
46 * Revision 1.1.8.1 1996/06/07 16:04:24 stephen
47 * Added video_scroll_up and video_scroll_down prototypes
48 * [1996/06/07 15:43:59 stephen]
49 *
50 * Revision 1.1.4.3 1996/05/03 17:26:10 stephen
51 * Added APPLE_FREE_COPYRIGHT
52 * [1996/05/03 17:20:12 stephen]
53 *
54 * Revision 1.1.4.2 1996/04/27 15:23:46 emcmanus
55 * Added vcputc() and vcgetc() prototypes so these functions can be
56 * used in the console switch.
57 * [1996/04/27 15:03:38 emcmanus]
58 *
59 * Revision 1.1.4.1 1996/04/11 09:06:51 emcmanus
60 * Copied from mainline.ppc.
61 * [1996/04/10 17:01:38 emcmanus]
62 *
63 * Revision 1.1.2.3 1996/03/14 12:58:27 stephen
64 * no change
65 * [1996/03/14 12:56:24 stephen]
66 *
67 * Revision 1.1.2.2 1996/01/30 13:29:09 stephen
68 * Added vcmmap
69 * [1996/01/30 13:27:11 stephen]
70 *
71 * Revision 1.1.2.1 1996/01/12 16:15:06 stephen
72 * First revision
73 * [1996/01/12 14:41:47 stephen]
74 *
75 * $EndLog$
76 */
77 #include <device/device_types.h>
78
79 extern void vc_putchar(
80 char ch);
81 extern int vcputc(
82 int l,
83 int u,
84 int c);
85 extern int vcgetc(
86 int l,
87 int u,
88 boolean_t wait,
89 boolean_t raw);
90
91 extern void video_scroll_up(unsigned long start,
92 unsigned long end,
93 unsigned long dest);
94
95 extern void video_scroll_down(unsigned long start, /* HIGH addr */
96 unsigned long end, /* LOW addr */
97 unsigned long dest); /* HIGH addr */