aboutsummaryrefslogtreecommitdiff
path: root/src/disk.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2013-07-14 15:07:21 -0400
committerKevin O'Connor <kevin@koconnor.net>2013-07-14 15:10:36 -0400
commitaa7c234ddf507761f90396eed34ab947bfd61636 (patch)
treeaa6f9b501b9705d8191c7191a1ccfbb41178a75a /src/disk.c
parent14b255bcc2150932f655eb1bf441e470ecf3dff2 (diff)
downloadseabios-hppa-aa7c234ddf507761f90396eed34ab947bfd61636.zip
seabios-hppa-aa7c234ddf507761f90396eed34ab947bfd61636.tar.gz
seabios-hppa-aa7c234ddf507761f90396eed34ab947bfd61636.tar.bz2
PIC code cleanups.
Preface PIC functions with a pic_ to provide a more consistent naming. Convert the irqmask code to a more consistent pic_irqmask_read/write/mask form. Move code from pic.h to pic.c. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/disk.c')
-rw-r--r--src/disk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/disk.c b/src/disk.c
index 0291fe3..975d053 100644
--- a/src/disk.c
+++ b/src/disk.c
@@ -9,7 +9,7 @@
#include "biosvar.h" // SET_BDA
#include "config.h" // CONFIG_*
#include "util.h" // debug_enter
-#include "pic.h" // eoi_pic2
+#include "pic.h" // pic_eoi2
#include "bregs.h" // struct bregs
#include "pci.h" // pci_bdf_to_bus
#include "ata.h" // ATA_CB_DC
@@ -889,7 +889,7 @@ handle_76(void)
{
debug_isr(DEBUG_ISR_76);
SET_BDA(disk_interrupt_flag, 0xff);
- eoi_pic2();
+ pic_eoi2();
}
// Old Fixed Disk Parameter Table (newer tables are in the ebda).