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