use USER_CPPFLAGS
[AROS.git] / arch / all-native / bootconsole / include / bootconsole.h
blobf6e828a33551281f7bfbf4d92331351051b3a0ee
1 struct multiboot;
2 struct vbe_mode;
4 extern void *scr_FrameBuffer; /* VRAM address, must be set */
5 extern unsigned int scr_Width; /* Display width in characters */
6 extern unsigned int scr_Height; /* Display height in characters */
8 /*
9 * Address of mirror buffer for graphical console.
10 * Must be set if you want to use it.
12 extern char *fb_Mirror;
14 extern unsigned short Serial_Base;
15 extern void *IO_Base;
17 /* Current screen type */
18 enum scr_type
20 SCR_UNKNOWN,
21 SCR_TEXT,
22 SCR_GFX
25 extern unsigned char scr_Type;
27 /* Common initialization */
28 void con_InitMultiboot(struct multiboot *mb);
29 void con_InitMultiboot2(void *mb);
30 void con_InitTagList(const struct TagItem *tags);
31 void con_InitVESA(unsigned short version, struct vbe_mode *mode);
32 void con_InitVGA(void);
33 void con_InitSerial(char *cmdline);
35 /* Common output */
36 void con_Clear(void);
37 void con_Putc(char chr);
39 /* Text output */
40 void txt_Clear(void);
41 void txt_Putc(char chr);
43 /* Graphical framebuffer output */
44 void fb_Init(unsigned int width, unsigned int height, unsigned int depth, unsigned int pitch);
45 void fb_Resize(unsigned int height);
46 void fb_Clear(void);
47 void fb_Putc(char chr);
48 void fb_SetMirror(char *addr);
50 /* Serial I/O */
51 void serial_Init(char *opts);
52 void serial_Putc(char chr);