aboutsummaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2010-07-28 21:31:38 -0400
committerKevin O'Connor <kevin@koconnor.net>2010-07-28 21:31:38 -0400
commitcc9e1bf4336696340330010d59028e3b8fb9aa7d (patch)
tree108cd7725b49f689a52dfe27a9c692e408273ed4 /src/misc.c
parentb4525a0ec176426788f293cce92160e6573e86b6 (diff)
downloadseabios-hppa-cc9e1bf4336696340330010d59028e3b8fb9aa7d.zip
seabios-hppa-cc9e1bf4336696340330010d59028e3b8fb9aa7d.tar.gz
seabios-hppa-cc9e1bf4336696340330010d59028e3b8fb9aa7d.tar.bz2
Add FUNC16() helper macro for converting a 16bit func to a segoff_s.
Diffstat (limited to 'src/misc.c')
-rw-r--r--src/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc.c b/src/misc.c
index 5cb4a01..9db49e3 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -66,7 +66,7 @@ mathcp_setup(void)
dprintf(3, "math cp init\n");
// 80x87 coprocessor installed
SETBITS_BDA(equipment_list_flags, 0x02);
- enable_hwirq(13, entry_75);
+ enable_hwirq(13, FUNC16(entry_75));
}
// INT 75 - IRQ13 - MATH COPROCESSOR EXCEPTION