msx1: add the syscall vector
authorAlan Cox <alan@linux.intel.com>
Sat, 6 Apr 2019 23:52:14 +0000 (00:52 +0100)
committerAlan Cox <alan@linux.intel.com>
Sat, 6 Apr 2019 23:52:14 +0000 (00:52 +0100)
This helps a lot 8)

Kernel/platform-msx1/crt0.s

index 6867cad..4614cd8 100644 (file)
 
                .globl interrupt_handler
                .globl null_handler
+               .globl unix_syscall_entry
 
                .globl do_set_sub_slot
                .globl do_get_sub_slot
 
+               .globl rst30
                .globl rst38            ; for checking
 ;
 ;      First _CODE section
                .area _CODE
 
 start:         jp null_handler
-               .ds 0x35
+               .ds 0x2d
+rst30:
+               jp unix_syscall_entry
+               .ds 5
 rst38:         jp interrupt_handler
                ; We only have 0x3B-0x4F free
 do_set_sub_slot: