1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Definitions for using the procedures in btext.c.
5 * Benjamin Herrenschmidt <benh@kernel.crashing.org>
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);
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
);
25 extern void btext_clearscreen(void);
26 extern void btext_flushscreen(void);
27 extern void btext_flushline(void);
29 #endif /* __KERNEL__ */
30 #endif /* __PPC_BTEXT_H */