platforms: add platform_interrupt_all everywhere
authorAlan Cox <alan@etchedpixels.co.uk>
Thu, 6 Nov 2014 00:38:56 +0000 (00:38 +0000)
committerAlan Cox <alan@etchedpixels.co.uk>
Thu, 6 Nov 2014 00:38:56 +0000 (00:38 +0000)
Kernel/platform-micropack/z80pack.s
Kernel/platform-nc100/nc100.s
Kernel/platform-pcw8256/pcw8256.s
Kernel/platform-px4plus/px4plus.s
Kernel/platform-socz80/socz80.s
Kernel/platform-trs80/trs80.s
Kernel/platform-z80pack-lite/z80pack.s
Kernel/platform-z80pack/z80pack.s

index 19814b5..2952e48 100644 (file)
@@ -23,6 +23,7 @@
            .globl map_process_always
            .globl map_save
            .globl map_restore
+           .globl platform_interrupt_all
 
             ; exported debugging tools
             .globl _trap_monitor
@@ -54,6 +55,7 @@
 _trap_monitor:
            ld a, #128
            out (29), a
+platform_interrupt_all:
            ret
 
 _trap_reboot:
index 13f7819..bbc0aee 100644 (file)
@@ -30,6 +30,7 @@
            ; need the font
            .globl _font4x6
            .globl _vtinit
+           .globl platform_interrupt_all
 
             ; exported debugging tools
             .globl _trap_monitor
@@ -80,6 +81,9 @@ _trap_reboot:
            xor a
            out (0x70), a
 
+platform_interrupt_all:
+            ret
+
 ; -----------------------------------------------------------------------------
 ; KERNEL MEMORY BANK (below 0xF000, only accessible when the kernel is mapped)
 ; -----------------------------------------------------------------------------
index 0f8953e..4400f11 100644 (file)
@@ -14,6 +14,7 @@
            .globl _kernel_flag
            .globl map_save
            .globl map_restore
+           .globl platform_interrupt_all
 
             ; exported debugging tools
             .globl _trap_monitor
@@ -84,6 +85,9 @@ _trap_monitor:
            halt
            jr _trap_monitor
 
+platform_interrupt_all:
+           ret
+
 ; -----------------------------------------------------------------------------
 ; KERNEL MEMORY BANK (below 0xF000, only accessible when the kernel is mapped)
 ; -----------------------------------------------------------------------------
index 6077976..c15b179 100644 (file)
@@ -24,6 +24,8 @@
            .globl map_save
            .globl map_restore
 
+           .globl platform_interrupt_all
+
             ; exported debugging tools
             .globl _trap_monitor
             .globl outchar
@@ -59,6 +61,8 @@ _trap_monitor:
 _trap_reboot:
            di
            halt
+platform_interrupt_all:
+           ret
 
 ; -----------------------------------------------------------------------------
 ; KERNEL MEMORY BANK (only accessible when the kernel is mapped)
index 00278cf..2343aba 100644 (file)
@@ -16,6 +16,7 @@
             .globl _tty_outproc
            .globl map_kernel
            .globl map_process
+           .globl platform_interrupt_all
 
             ; exported debugging tools
             .globl _trap_monitor
@@ -94,6 +95,8 @@ _trap_monitor:
             jp 0x0000
             ; it's never a dull day with ROM around!
 
+platform_interrupt_all:
+           ret
 
 ; -----------------------------------------------------------------------------
 ; KERNEL MEMORY BANK (below 0xF000, only accessible when the kernel is mapped)
index 7262d25..3672603 100644 (file)
@@ -15,6 +15,7 @@
            .globl map_process_always
            .globl map_save
            .globl map_restore
+           .globl platform_interrupt_all
 
             ; exported debugging tools
             .globl _trap_monitor
@@ -52,6 +53,7 @@ tm_stack_top:
 _trap_monitor:
            ld a, #128
            out (0x28), a
+platform_interrupt_all:
            ret
 
 _trap_reboot:
index 49358b6..51f893d 100644 (file)
@@ -23,6 +23,7 @@
            .globl map_process_a
            .globl map_process_always
            .globl _fd_bankcmd
+           .globl platform_interrupt_all
 
             ; exported debugging tools
             .globl _trap_monitor
@@ -59,6 +60,7 @@
 _trap_monitor:
            ld a, #128
            out (29), a
+platform_interrupt_all:
            ret
 
 _trap_reboot:
index c89604c..7bb300a 100644 (file)
@@ -17,6 +17,7 @@
             .globl init_hardware
             .globl _program_vectors
             .globl _system_tick_counter
+           .globl platform_interrupt_all
 
            .globl map_kernel
            .globl map_process
@@ -56,6 +57,7 @@
 _trap_monitor:
            ld a, #128
            out (29), a
+platform_interrupt_all:
            ret
 
 _trap_reboot: