diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2008-07-19 14:12:32 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2008-07-19 14:12:32 -0400 |
commit | 65e63420e588f72ac2849f09d43483f8097e24fe (patch) | |
tree | 8e3f4ccaa1ed2462899f8e1a5af0c68da061e477 /src/pic.c | |
parent | 7ab798f9071abb4566e164fc25fb22d179c8f767 (diff) | |
download | seabios-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/pic.c')
-rw-r--r-- | src/pic.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,7 @@ pic_setup() // Send ICW1 (select OCW1 + will send ICW4) outb(0x11, PORT_PIC1_CMD); outb(0x11, PORT_PIC2_CMD); - // Send ICW2 (base irqs: 0x08-0x0f for irq0-7, 0x70-0x78 for irq8-15) + // Send ICW2 (base irqs: 0x08-0x0f for irq0-7, 0x70-0x77 for irq8-15) outb(0x08, PORT_PIC1_DATA); outb(0x70, PORT_PIC2_DATA); // Send ICW3 (cascaded pic ids) |