aboutsummaryrefslogtreecommitdiff
path: root/src/system.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2013-09-18 21:41:48 -0400
committerKevin O'Connor <kevin@koconnor.net>2013-09-28 22:10:31 -0400
commit4ade523a9db32b2a0e3cdeec3413c52e463542c8 (patch)
tree83da55d3236672934dc003765578d52e48b737bb /src/system.c
parent7b9f29736aecd3ac35021a8fc24ee15fc01d2c5a (diff)
downloadseabios-hppa-4ade523a9db32b2a0e3cdeec3413c52e463542c8.zip
seabios-hppa-4ade523a9db32b2a0e3cdeec3413c52e463542c8.tar.gz
seabios-hppa-4ade523a9db32b2a0e3cdeec3413c52e463542c8.tar.bz2
Remove ioport.h; disperse its contents to other header files.
Move the inb(), insb(), etc. code from ioport.h to x86.h. Move the PORT_* definitions to their appropriate hardware files. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/system.c')
-rw-r--r--src/system.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/system.c b/src/system.c
index aaca059..3daf49b 100644
--- a/src/system.c
+++ b/src/system.c
@@ -8,12 +8,13 @@
#include "biosvar.h" // GET_GLOBAL
#include "bregs.h" // struct bregs
#include "hw/pic.h" // pic_reset
-#include "ioport.h" // inb
+#include "hw/ps2port.h" // PORT_A20
#include "malloc.h" // LegacyRamSize
#include "memmap.h" // E820_RAM
#include "output.h" // debug_enter
#include "string.h" // memcpy_far
#include "util.h" // handle_1553
+#include "x86.h" // inb
// Use PS2 System Control port A to set A20 enable
static inline u8