aboutsummaryrefslogtreecommitdiffstats
path: root/memdisk/start32.S
diff options
context:
space:
mode:
Diffstat (limited to 'memdisk/start32.S')
-rw-r--r--memdisk/start32.S8
1 files changed, 8 insertions, 0 deletions
diff --git a/memdisk/start32.S b/memdisk/start32.S
index 8fcebcc6..4fb05374 100644
--- a/memdisk/start32.S
+++ b/memdisk/start32.S
@@ -72,8 +72,16 @@ _start:
jmp *(rm_args) /* First argument is return */
.section ".text","ax"
+ .globl intcall
+ .type intcall, @function
+intcall:
+ jmp *(rm_args+1*4) /* Intcall is argument 1 */
+ .size intcall, .-intcall
+
+ .type handle_interrupt, @function
handle_interrupt:
jmp *(rm_args+4*4) /* Interrupt pointer is argument 4 */
+ .size handle_interrupt, .-handle_interrupt
.section ".rodata","a"
idt_ptr: