ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / include / asm-ppc64 / btext.h
1 /*
2  * Definitions for using the procedures in btext.c.
3  *
4  * Benjamin Herrenschmidt <benh@kernel.crashing.org>
5  */
6 #ifndef __PPC_BTEXT_H
7 #define __PPC_BTEXT_H
8 #ifdef __KERNEL__
9
10 #include <asm/bootx.h>
11
12 extern void btext_clearscreen(void);
13 extern void btext_flushscreen(void);
14
15 extern boot_infos_t disp_bi;
16 extern int boot_text_mapped;
17
18 void btext_setup_display(int width, int height, int depth, int pitch,
19                          unsigned long address);
20 void map_boot_text(void);
21 void btext_update_display(unsigned long phys, int width, int height,
22                           int depth, int pitch);
23
24 void btext_drawchar(char c);
25 void btext_drawstring(const char *str);
26 void btext_drawhex(unsigned long v);
27
28 #endif /* __KERNEL__ */
29 #endif /* __PPC_BTEXT_H */