diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2013-07-14 15:07:21 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2013-07-14 15:10:36 -0400 |
commit | aa7c234ddf507761f90396eed34ab947bfd61636 (patch) | |
tree | aa6f9b501b9705d8191c7191a1ccfbb41178a75a /src/disk.c | |
parent | 14b255bcc2150932f655eb1bf441e470ecf3dff2 (diff) | |
download | seabios-aa7c234ddf507761f90396eed34ab947bfd61636.tar.gz |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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). |