Author: mcayland Date: Sun Mar 14 21:19:46 2010 New Revision: 697 URL: http://tracker.coreboot.org/trac/openbios/changeset/697
Log: Commit extra files I forgot to "svn add" from the previous commit :(
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@siriusit.co.uk
Added: trunk/openbios-devel/include/drivers/vga.h trunk/openbios-devel/include/libopenbios/console.h trunk/openbios-devel/include/packages/ trunk/openbios-devel/include/packages/video.h
Added: trunk/openbios-devel/include/drivers/vga.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ trunk/openbios-devel/include/drivers/vga.h Sun Mar 14 21:19:46 2010 (r697) @@ -0,0 +1,20 @@ +#ifndef VIDEO_VGA_H +#define VIDEO_VGA_H + +/* drivers/vga_load_regs.c */ +void vga_load_regs(void); + +/* drivers/vga_set_mode.c */ +void vga_set_gmode (void); +void vga_set_amode (void); +void vga_font_load(unsigned char *vidmem, const unsigned char *font, int height, int num_chars); + +/* drivers/vga_vbe.c */ +void vga_set_color(int i, unsigned int r, unsigned int g, unsigned int b); +void vga_vbe_set_mode(int width, int height, int depth); +void vga_vbe_init(const char *path, unsigned long fb, uint32_t fb_size, + unsigned long rom, uint32_t rom_size); + +extern volatile uint32_t *dac; + +#endif /* VIDEO_VGA_H */
Added: trunk/openbios-devel/include/libopenbios/console.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ trunk/openbios-devel/include/libopenbios/console.h Sun Mar 14 21:19:46 2010 (r697) @@ -0,0 +1,9 @@ +#ifndef VIDEO_CONSOLE_H +#define VIDEO_CONSOLE_H + +/* libopenbios/console_common.c */ +int console_draw_str(const char *str); +int console_init(void); +void console_close(void); + +#endif /* VIDEO_CONSOLE_H */
Added: trunk/openbios-devel/include/packages/video.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ trunk/openbios-devel/include/packages/video.h Sun Mar 14 21:19:46 2010 (r697) @@ -0,0 +1,11 @@ +#ifndef VIDEO_SUBR_H +#define VIDEO_SUBR_H + +/* packages/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); + +#endif /* VIDEO_SUBR_H */
On 3/14/10, repository service svn@openbios.org wrote:
Author: mcayland Date: Sun Mar 14 21:19:46 2010 New Revision: 697 URL: http://tracker.coreboot.org/trac/openbios/changeset/697
Log: Commit extra files I forgot to "svn add" from the previous commit :(
I think this would not happen with 'git-svn' I'm using... ;-)
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@siriusit.co.uk
Added: trunk/openbios-devel/include/drivers/vga.h trunk/openbios-devel/include/libopenbios/console.h trunk/openbios-devel/include/packages/ trunk/openbios-devel/include/packages/video.h
Added: trunk/openbios-devel/include/drivers/vga.h
--- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ trunk/openbios-devel/include/drivers/vga.h Sun Mar 14 21:19:46 2010 (r697) @@ -0,0 +1,20 @@ +#ifndef VIDEO_VGA_H +#define VIDEO_VGA_H
+/* drivers/vga_load_regs.c */ +void vga_load_regs(void);
+/* drivers/vga_set_mode.c */ +void vga_set_gmode (void); +void vga_set_amode (void); +void vga_font_load(unsigned char *vidmem, const unsigned char *font, int height, int num_chars);
+/* drivers/vga_vbe.c */ +void vga_set_color(int i, unsigned int r, unsigned int g, unsigned int b); +void vga_vbe_set_mode(int width, int height, int depth); +void vga_vbe_init(const char *path, unsigned long fb, uint32_t fb_size,
unsigned long rom, uint32_t rom_size);
+extern volatile uint32_t *dac;
+#endif /* VIDEO_VGA_H */
Added: trunk/openbios-devel/include/libopenbios/console.h
--- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ trunk/openbios-devel/include/libopenbios/console.h Sun Mar 14 21:19:46 2010 (r697) @@ -0,0 +1,9 @@ +#ifndef VIDEO_CONSOLE_H +#define VIDEO_CONSOLE_H
+/* libopenbios/console_common.c */ +int console_draw_str(const char *str); +int console_init(void); +void console_close(void);
+#endif /* VIDEO_CONSOLE_H */
Added: trunk/openbios-devel/include/packages/video.h
--- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ trunk/openbios-devel/include/packages/video.h Sun Mar 14 21:19:46 2010 (r697) @@ -0,0 +1,11 @@ +#ifndef VIDEO_SUBR_H +#define VIDEO_SUBR_H
+/* packages/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);
+#endif /* VIDEO_SUBR_H */
-- OpenBIOS http://openbios.org/ Mailinglist: http://lists.openbios.org/mailman/listinfo Free your System - May the Forth be with you