Clean up video routines

git-svn-id: svn://coreboot.org/openbios/openbios-devel@343 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Blue Swirl
2009-01-02 14:53:33 +00:00
parent 2137312f95
commit ec53fcec45
10 changed files with 31 additions and 31 deletions

View File

@@ -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 */