aboutsummaryrefslogtreecommitdiffstats
path: root/src/misc.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/misc.c
parent7b9f29736aecd3ac35021a8fc24ee15fc01d2c5a (diff)
downloadseabios-4ade523a9db32b2a0e3cdeec3413c52e463542c8.tar.gz
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/misc.c')
-rw-r--r--src/misc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/misc.c b/src/misc.c
index 43dd16f4..191e7070 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -12,6 +12,8 @@
#include "stacks.h" // call16_int
#include "string.h" // memset
+#define PORT_MATH_CLEAR 0x00f0
+
/****************************************************************
* Misc 16bit ISRs