diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2018-05-30 22:50:42 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-06-22 07:44:07 +0200 |
commit | 4d70b24b86012e382cf551ce72c2dd6c92a6d1fa (patch) | |
tree | bbaa66609311aed0ba52019eb8b36fd8eddd2b8f /vgasrc/vgautil.h | |
parent | e28e0bb39b6a8cca7da196491ad80f1b96d1c806 (diff) | |
download | seabios-4d70b24b86012e382cf551ce72c2dd6c92a6d1fa.tar.gz |
cbvga: factor out cbvga_setup_modes()
Factor out generic data structure setup code from cbvga_setup().
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'vgasrc/vgautil.h')
-rw-r--r-- | vgasrc/vgautil.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vgasrc/vgautil.h b/vgasrc/vgautil.h index fae5fbae..e02ad3e6 100644 --- a/vgasrc/vgautil.h +++ b/vgasrc/vgautil.h @@ -18,6 +18,7 @@ int cbvga_set_dacformat(struct vgamode_s *vmode_g, int val); int cbvga_save_restore(int cmd, u16 seg, void *data); int cbvga_set_mode(struct vgamode_s *vmode_g, int flags); int cbvga_get_linesize(struct vgamode_s *vmode_g); +void cbvga_setup_modes(u64 addr, u8 bpp, u32 xlines, u32 ylines, u32 linelength); int cbvga_setup(void); // clext.c |