mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Clean up video routines
git-svn-id: svn://coreboot.org/openbios/openbios-devel@343 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -15,4 +15,19 @@ void vga_vbe_set_mode(int width, int height, int depth);
|
||||
void vga_vbe_init(const char *path, uint32_t fb, uint32_t fb_size,
|
||||
unsigned long rom, uint32_t rom_size);
|
||||
|
||||
/* modules/video.c */
|
||||
int video_get_res(int *w, int *h);
|
||||
void draw_pixel(int x, int y, int colind);
|
||||
void set_color(int ind, unsigned long color);
|
||||
void video_scroll(int height);
|
||||
void init_video(unsigned long fb, int width, int height, int depth, int rb);
|
||||
|
||||
/* modules/console_common.c */
|
||||
int console_draw_str(const char *str);
|
||||
int console_init(void);
|
||||
void console_close(void);
|
||||
void cls(void);
|
||||
|
||||
extern volatile uint32_t *dac;
|
||||
|
||||
#endif /* VIDEO_SUBR_H */
|
||||
|
||||
Reference in New Issue
Block a user