diff options
Diffstat (limited to 'include/asm-ppc64/btext.h')
-rw-r--r-- | include/asm-ppc64/btext.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/include/asm-ppc64/btext.h b/include/asm-ppc64/btext.h new file mode 100644 index 000000000000..67aef0cc72c0 --- /dev/null +++ b/include/asm-ppc64/btext.h | |||
@@ -0,0 +1,26 @@ | |||
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 | extern void btext_clearscreen(void); | ||
11 | extern void btext_flushscreen(void); | ||
12 | |||
13 | extern int boot_text_mapped; | ||
14 | |||
15 | extern int btext_initialize(struct device_node *np); | ||
16 | |||
17 | extern void map_boot_text(void); | ||
18 | extern void btext_update_display(unsigned long phys, int width, int height, | ||
19 | int depth, int pitch); | ||
20 | |||
21 | extern void btext_drawchar(char c); | ||
22 | extern void btext_drawstring(const char *str); | ||
23 | extern void btext_drawhex(unsigned long v); | ||
24 | |||
25 | #endif /* __KERNEL__ */ | ||
26 | #endif /* __PPC_BTEXT_H */ | ||