trap_reboot: fix the first batch of platforms to export it
authorAlan Cox <alan@linux.intel.com>
Sun, 7 Jun 2015 23:35:24 +0000 (00:35 +0100)
committerAlan Cox <alan@linux.intel.com>
Sun, 7 Jun 2015 23:35:24 +0000 (00:35 +0100)
Kernel/Makefile
Kernel/platform-micropack/z80pack.s
Kernel/platform-msx1/msx1.s
Kernel/platform-msx2/msx2.s
Kernel/platform-mtx/mtx.s
Kernel/platform-nc100/nc100.s
Kernel/platform-px4plus/px4plus.s
Kernel/platform-socz80/socz80.s
Kernel/platform-trs80/trs80.s

index 68b1c78..97c4b6a 100644 (file)
@@ -5,7 +5,7 @@ TARGET_LIST = platform-nc100 platform-micropack platform-pcw8256 platform-socz80
 #export TARGET = atarist
 #export TARGET = bbcmicro
 #export TARGET = dragon
-export TARGET = dragon-nx32
+#export TARGET = dragon-nx32
 #export TARGET = micropack
 #export TARGET = msx1
 #export TARGET = msx2
@@ -18,7 +18,7 @@ export TARGET = dragon-nx32
 #export TARGET = px4plus
 #export TARGET = socz80
 #export TARGET = tgl6502
-#export TARGET = trs80
+export TARGET = trs80
 #export TARGET = ubee
 #export TARGET = z80pack
 #export TARGET = z80pack-lite
index e4a0169..f5a096b 100644 (file)
@@ -27,6 +27,7 @@
 
             ; exported debugging tools
             .globl _trap_monitor
+            .globl _trap_reboot
             .globl outchar
 
             ; imported symbols
index ae18ae7..5fc2d91 100644 (file)
@@ -30,7 +30,7 @@
 
             .globl _tty_inproc
             .globl unix_syscall_entry
-            .globl trap_illegal
+            .globl _trap_reboot
            .globl nmi_handler
            .globl null_handler
 
index a0446dd..c360e0a 100644 (file)
@@ -30,7 +30,7 @@
 
             .globl _tty_inproc
             .globl unix_syscall_entry
-            .globl trap_illegal
+            .globl _trap_reboot
            .globl nmi_handler
            .globl null_handler
 
index 5092700..64a8bd0 100644 (file)
@@ -24,6 +24,7 @@
 
             ; exported debugging tools
             .globl _trap_monitor
+            .globl _trap_reboot
             .globl outchar
 
             ; imported symbols
index 876b373..0c59b8f 100644 (file)
@@ -38,6 +38,7 @@
 
             ; exported debugging tools
             .globl _trap_monitor
+            .globl _trap_reboot
             .globl outchar
 
             ; imported symbols
index 9cea76a..d2030a3 100644 (file)
@@ -24,6 +24,7 @@
 
             ; exported debugging tools
             .globl _trap_monitor
+            .globl _trap_reboot
             .globl outchar
 
             ; imported symbols
index 62dc65e..a855114 100644 (file)
@@ -24,6 +24,7 @@
 
             ; exported debugging tools
             .globl _trap_monitor
+            .globl _trap_reboot
             .globl outchar
 
             ; imported symbols
@@ -65,6 +66,8 @@ tm_stack:
             .db 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
 tm_stack_top:
 
+; For now both hit monitor
+_trap_reboot:
 _trap_monitor:
             ; stash SP
             ld (tm_user_sp), sp
index ae5ca7a..2a93ec9 100644 (file)
@@ -31,6 +31,7 @@
 
             ; exported debugging tools
             .globl _trap_monitor
+            .globl _trap_reboot
             .globl outchar
 
             ; imported symbols