aboutsummaryrefslogtreecommitdiff
path: root/src/pcibios.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-07-19 14:12:32 -0400
committerKevin O'Connor <kevin@koconnor.net>2008-07-19 14:12:32 -0400
commit65e63420e588f72ac2849f09d43483f8097e24fe (patch)
tree8e3f4ccaa1ed2462899f8e1a5af0c68da061e477 /src/pcibios.c
parent7ab798f9071abb4566e164fc25fb22d179c8f767 (diff)
downloadseabios-hppa-65e63420e588f72ac2849f09d43483f8097e24fe.zip
seabios-hppa-65e63420e588f72ac2849f09d43483f8097e24fe.tar.gz
seabios-hppa-65e63420e588f72ac2849f09d43483f8097e24fe.tar.bz2
Misc fixes and updates.
Minor code cleanups. Fix parenthesis imbalance in keyboard led test. The printf() call is only used in 32bit mode - make this explicit to the compiler - it improves the code generation. Clear the screen after initializing the vga option rom.
Diffstat (limited to 'src/pcibios.c')
-rw-r--r--src/pcibios.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pcibios.c b/src/pcibios.c
index 05d7856..545ad8d 100644
--- a/src/pcibios.c
+++ b/src/pcibios.c
@@ -23,6 +23,7 @@ handle_1ab101(struct bregs *regs)
regs->ax = 0x0001;
regs->bx = 0x0210;
regs->cx = 0;
+ // XXX - regs->cl should equal max bus number.
regs->edx = 0x20494350; // "PCI "
// XXX - bochs bios code sets edi to point to 32bit code - but no
// reference to this in spec.