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