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 */
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
;
17 /* Current screen type */
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
);
37 void con_Putc(char chr
);
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
);
47 void fb_Putc(char chr
);
48 void fb_SetMirror(char *addr
);
51 void serial_Init(char *opts
);
52 void serial_Putc(char chr
);