revert between 56095 -> 55830 in arch
[AROS.git] / arch / arm-raspi / boot / include / bootconsole.h
blob6ffafa8228e9c35ca0605e6ee000432078d2d4fb
1 /*
2 Copyright � 2013, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 struct multiboot;
7 struct vbe_mode;
9 extern void *scr_FrameBuffer; /* VRAM address, must be set */
10 extern unsigned int scr_Width; /* Display width in characters */
11 extern unsigned int scr_Height; /* Display height in characters */
13 extern unsigned int scr_XPos;
14 extern unsigned int scr_YPos;
16 extern const unsigned int fontWidth;
17 extern const unsigned int fontHeight;
18 extern const unsigned char fontData[];
21 * Address of mirror buffer for graphical console.
22 * Must be set if you want to use it.
24 extern char *fb_Mirror;
26 extern unsigned short Serial_Base;
27 extern void *IO_Base;
29 /* Current screen type */
30 enum scr_type
32 SCR_UNKNOWN,
33 SCR_TEXT,
34 SCR_GFX
37 extern unsigned char scr_Type;
39 /* Common initialization */
40 void con_InitMultiboot(struct multiboot *mb);
41 void con_InitMultiboot2(void *mb);
42 void con_InitTagList(const struct TagItem *tags);
43 void con_InitVESA(unsigned short version, struct vbe_mode *mode);
44 void con_InitVGA(void);
45 void con_InitSerial(char *cmdline);
47 /* Common output */
48 void con_Clear(void);
49 void con_Putc(char chr);
51 /* Text output */
52 void txt_Clear(void);
53 void txt_Putc(char chr);
55 /* Graphical framebuffer output */
56 void fb_Init(unsigned int width, unsigned int height, unsigned int depth, unsigned int pitch);
57 void fb_Resize(unsigned int height);
58 void fb_Clear(void);
59 void fb_Putc(char chr);
60 void fb_SetMirror(char *addr);
62 /* Serial I/O */
63 void serial_Init(char *opts);
64 void serial_Putc(char chr);