aboutsummaryrefslogtreecommitdiff
path: root/src/boot.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2012-05-31 00:20:55 -0400
committerKevin O'Connor <kevin@koconnor.net>2012-06-02 20:06:18 -0400
commit59d6ca52a7eba5b1f4f2becf70fd446dccaf0a2e (patch)
treea90ca99b49e14bd73076a35183be1a14143534e6 /src/boot.c
parent51d6ba3e6fac2e78679145fe34f3861225670ae9 (diff)
downloadseabios-hppa-59d6ca52a7eba5b1f4f2becf70fd446dccaf0a2e.zip
seabios-hppa-59d6ca52a7eba5b1f4f2becf70fd446dccaf0a2e.tar.gz
seabios-hppa-59d6ca52a7eba5b1f4f2becf70fd446dccaf0a2e.tar.bz2
Cache romfile entries.
Create a 'struct romfile_s' and populate a list of all romfiles at start of init. Caching the romfiles both simplifies the code and makes it more efficient. Also, convert the ramdisk code to use romfile helpers instead of directly accessing cbfs. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/boot.c')
-rw-r--r--src/boot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/boot.c b/src/boot.c
index 3f6375b..6949490 100644
--- a/src/boot.c
+++ b/src/boot.c
@@ -11,8 +11,8 @@
#include "bregs.h" // struct bregs
#include "boot.h" // func defs
#include "cmos.h" // inb_cmos
-#include "paravirt.h" // romfile_loadfile
-#include "pci.h" //pci_bdf_to_*
+#include "paravirt.h" // qemu_cfg_show_boot_menu
+#include "pci.h" // pci_bdf_to_*
#include "usb.h" // struct usbdevice_s