Add FUNC16() helper macro for converting a 16bit func to a segoff_s.
[seabios.git] / src / floppy.c
index a8942cf02217ae17879eb251da431a59155194e9..6491b969acf03b3da63d4a6adaf5a89273a5de85 100644 (file)
@@ -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.