diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2011-07-02 13:50:21 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2011-07-02 13:50:21 -0400 |
commit | c1de91b3110cb163526784439e315d24b8e5311a (patch) | |
tree | 85c3a7a5ecc764e3a75c8de1b38af5e97aefdff5 /src/util.h | |
parent | 76b5e7146bac15ad5357ca9e46bd8f6fd7ace3c2 (diff) | |
download | seabios-hppa-c1de91b3110cb163526784439e315d24b8e5311a.zip seabios-hppa-c1de91b3110cb163526784439e315d24b8e5311a.tar.gz seabios-hppa-c1de91b3110cb163526784439e315d24b8e5311a.tar.bz2 |
Calculate vgahook responses during setup instead of in 16bit code.
Do vga type and parameter detection during setup and store the
necessary info in global variables for the 16bit code. This
simplifies the "vgahook" 16bit code.
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -387,6 +387,7 @@ void wrmsr_smp(u32 index, u64 val); void smp_probe(void); // coreboot.c +extern const char *CBvendor, *CBpart; struct cbfs_file; struct cbfs_file *cbfs_finddatafile(const char *fname); struct cbfs_file *cbfs_findprefix(const char *prefix, struct cbfs_file *last); @@ -405,9 +406,9 @@ void copy_acpi_rsdp(void *pos); void copy_smbios(void *pos); // vgahooks.c -extern int VGAbdf; void handle_155f(struct bregs *regs); -void vgahook_setup(const char *vendor, const char *part); +struct pci_device; +void vgahook_setup(struct pci_device *pci); // optionroms.c void call_bcv(u16 seg, u16 ip); |