]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/console/i386/text_console.h
xnu-1228.15.4.tar.gz
[apple/xnu.git] / osfmk / console / i386 / text_console.h
index c44122a6df7681308d885f43e740aae737c00d89..f971aaf1983158e591c5d1cd6476e1c5725649bd 100644 (file)
@@ -1,16 +1,19 @@
 /*
- * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2005 Apple Computer, Inc. All rights reserved.
  *
- * @APPLE_LICENSE_HEADER_START@
- * 
- * Copyright (c) 1999-2003 Apple Computer, Inc.  All Rights Reserved.
+ * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  * 
  * This file contains Original Code and/or Modifications of Original Code
  * as defined in and that are subject to the Apple Public Source License
  * Version 2.0 (the 'License'). You may not use this file except in
- * compliance with the License. Please obtain a copy of the License at
- * http://www.opensource.apple.com/apsl/ and read it before using this
- * file.
+ * compliance with the License. The rights granted to you under the License
+ * may not be used to create, or enable the creation or redistribution of,
+ * unlawful or unlicensed copies of an Apple operating system, or to
+ * circumvent, violate, or enable the circumvention or violation of, any
+ * terms of an Apple operating system software license agreement.
+ * 
+ * Please obtain a copy of the License at
+ * http://www.opensource.apple.com/apsl/ and read it before using this file.
  * 
  * The Original Code and all software distributed under the License are
  * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  * Please see the License for the specific language governing rights and
  * limitations under the License.
  * 
- * @APPLE_LICENSE_HEADER_END@
+ * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  */
 
 #ifndef _TEXT_CONSOLE_H_
 #define _TEXT_CONSOLE_H_
 
-#define TEXT_MODE 0
-
-void tc_paint_char(int x, int y, unsigned char ch, int attrs, unsigned char ch_previous, int attrs_previous);
-void tc_scroll_down(int lines, int top, int bottom);
-void tc_scroll_up(int lines, int top, int bottom);
-void tc_clear_screen(int x, int y, int top, int bottom, int operation);
-void tc_show_cursor(int x, int y);
-void tc_hide_cursor(int x, int y); 
+void tc_paint_char(unsigned int x, unsigned int y, unsigned char ch, int attrs,
+               unsigned char ch_previous, int attrs_previous);
+void tc_scroll_down(int lines, unsigned int top, unsigned int bottom);
+void tc_scroll_up(int lines, unsigned int top, unsigned int bottom);
+void tc_clear_screen(unsigned int x, unsigned int y, unsigned int top,
+               unsigned int bottom, int operation);
+void tc_show_cursor(unsigned int x, unsigned int y);
+void tc_hide_cursor(unsigned int x, unsigned int y); 
 void tc_enable(boolean_t enable);
 void tc_initialize(struct vc_info * vinfo_p);
 void tc_update_color(int color, int fore);