z80pack: put the kernel flag in common
authorAlan Cox <alan@etchedpixels.co.uk>
Sat, 15 Nov 2014 13:57:38 +0000 (13:57 +0000)
committerAlan Cox <alan@etchedpixels.co.uk>
Sat, 15 Nov 2014 13:57:38 +0000 (13:57 +0000)
As this is checked with the kernel not mapped it's important it lives somewhere
more suitable

Kernel/platform-z80pack/z80pack.s

index 7bb300a..1390024 100644 (file)
@@ -27,6 +27,8 @@
 
            .globl _fd_bankcmd
 
+           .globl _kernel_flag
+
             ; exported debugging tools
             .globl _trap_monitor
             .globl outchar
@@ -202,6 +204,9 @@ map_restore:
 map_store:
            .db 0
 
+_kernel_flag:
+           .db 1
+
 ; outchar: Wait for UART TX idle, then print the char in A
 ; destroys: AF
 outchar: