aboutsummaryrefslogtreecommitdiff
path: root/vgasrc/vgautil.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-05-30 22:50:42 +0200
committerGerd Hoffmann <kraxel@redhat.com>2018-06-22 07:44:07 +0200
commit4d70b24b86012e382cf551ce72c2dd6c92a6d1fa (patch)
treebbaa66609311aed0ba52019eb8b36fd8eddd2b8f /vgasrc/vgautil.h
parente28e0bb39b6a8cca7da196491ad80f1b96d1c806 (diff)
downloadseabios-hppa-4d70b24b86012e382cf551ce72c2dd6c92a6d1fa.zip
seabios-hppa-4d70b24b86012e382cf551ce72c2dd6c92a6d1fa.tar.gz
seabios-hppa-4d70b24b86012e382cf551ce72c2dd6c92a6d1fa.tar.bz2
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vgasrc/vgautil.h b/vgasrc/vgautil.h
index fae5fba..e02ad3e 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