aboutsummaryrefslogtreecommitdiffstats
path: root/src/floppy.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/floppy.c
parentb4525a0ec176426788f293cce92160e6573e86b6 (diff)
downloadseabios-cc9e1bf4336696340330010d59028e3b8fb9aa7d.tar.gz
Add FUNC16() helper macro for converting a 16bit func to a segoff_s.
Diffstat (limited to 'src/floppy.c')
-rw-r--r--src/floppy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/floppy.c b/src/floppy.c
index a8942cf0..6491b969 100644
--- a/src/floppy.c
+++ b/src/floppy.c
@@ -139,7 +139,7 @@ floppy_setup(void)
outb(0x02, PORT_DMA1_MASK_REG);
- enable_hwirq(6, entry_0e);
+ enable_hwirq(6, FUNC16(entry_0e));
}
// Find a floppy type that matches a given image size.