]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/blob - arch/powerpc/include/asm/btext.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-disco-kernel.git] / arch / powerpc / include / asm / btext.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Definitions for using the procedures in btext.c.
4 *
5 * Benjamin Herrenschmidt <benh@kernel.crashing.org>
6 */
7 #ifndef __PPC_BTEXT_H
8 #define __PPC_BTEXT_H
9 #ifdef __KERNEL__
10
11 extern int btext_find_display(int allow_nonstdout);
12 extern void btext_update_display(unsigned long phys, int width, int height,
13 int depth, int pitch);
14 extern void btext_setup_display(int width, int height, int depth, int pitch,
15 unsigned long address);
16 extern void btext_prepare_BAT(void);
17 extern void btext_map(void);
18 extern void btext_unmap(void);
19
20 extern void btext_drawchar(char c);
21 extern void btext_drawstring(const char *str);
22 extern void btext_drawhex(unsigned long v);
23 extern void btext_drawtext(const char *c, unsigned int len);
24
25 extern void btext_clearscreen(void);
26 extern void btext_flushscreen(void);
27 extern void btext_flushline(void);
28
29 #endif /* __KERNEL__ */
30 #endif /* __PPC_BTEXT_H */