1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Definitions for using the procedures in btext.c.
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);
17 extern void btext_prepare_BAT(void);
19 static inline void btext_prepare_BAT(void) { }
21 extern void btext_map(void);
22 extern void btext_unmap(void);
24 extern void btext_drawchar(char c);
25 extern void btext_drawstring(const char *str);
26 void __init btext_drawhex(unsigned long v);
27 void __init btext_drawtext(const char *c, unsigned int len);
29 void __init btext_clearscreen(void);
30 void __init btext_flushscreen(void);
31 void __init btext_flushline(void);
33 #endif /* __KERNEL__ */
34 #endif /* __PPC_BTEXT_H */