]>
git.saurik.com Git - apple/xnu.git/blob - osfmk/console/i386/text_console.h
f0921a20a000bec11639a0fb2e805868542f59b6
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
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.
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
20 * @APPLE_LICENSE_HEADER_END@
23 #ifndef _TEXT_CONSOLE_H_
24 #define _TEXT_CONSOLE_H_
26 void tc_paint_char(int x
, int y
, unsigned char ch
, int attrs
, unsigned char ch_previous
, int attrs_previous
);
27 void tc_scroll_down(int lines
, int top
, int bottom
);
28 void tc_scroll_up(int lines
, int top
, int bottom
);
29 void tc_clear_screen(int x
, int y
, int top
, int bottom
, int operation
);
30 void tc_show_cursor(int x
, int y
);
31 void tc_hide_cursor(int x
, int y
);
32 void tc_enable(boolean_t enable
);
33 void tc_initialize(struct vc_info
* vinfo_p
);
34 void tc_update_color(int color
, int fore
);
36 #endif /* !_TEXT_CONSOLE_H_ */