aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2013-03-20 10:58:47 -0600
committerKevin O'Connor <kevin@koconnor.net>2013-03-22 20:46:59 -0400
commit7adfd712d031e5b4bbd0865f32c99f397fbab821 (patch)
treee0f0c321a2d8cc3e9307b67c061159da9448782e /src/util.h
parentd8388157a2e303dea6d8d1406174c56c50d8d676 (diff)
downloadseabios-hppa-7adfd712d031e5b4bbd0865f32c99f397fbab821.zip
seabios-hppa-7adfd712d031e5b4bbd0865f32c99f397fbab821.tar.gz
seabios-hppa-7adfd712d031e5b4bbd0865f32c99f397fbab821.tar.bz2
pciinit: Enable default VGA device
As QEMU gains PCI bridge and PCIe root port support, we won't always find the VGA device on the root bus. We therefore need to add support to find and enable a VGA device and the path to it through the VGA Enable support in the PCI bridge control register. Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index af029fc..99aff78 100644
--- a/src/util.h
+++ b/src/util.h
@@ -344,6 +344,7 @@ void vgahook_setup(struct pci_device *pci);
// optionroms.c
void call_bcv(u16 seg, u16 ip);
+int is_pci_vga(struct pci_device *pci);
void optionrom_setup(void);
void vgarom_setup(void);
void s3_resume_vga(void);