diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2013-09-18 21:41:48 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2013-09-28 22:10:31 -0400 |
commit | 4ade523a9db32b2a0e3cdeec3413c52e463542c8 (patch) | |
tree | 83da55d3236672934dc003765578d52e48b737bb /src/system.c | |
parent | 7b9f29736aecd3ac35021a8fc24ee15fc01d2c5a (diff) | |
download | seabios-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.c | 3 |
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 |