From 858056284f5076bbc93f29fb62cb5f0e08f9bc39 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 15 Nov 2014 13:57:38 +0000 Subject: [PATCH] z80pack: put the kernel flag in common As this is checked with the kernel not mapped it's important it lives somewhere more suitable --- Kernel/platform-z80pack/z80pack.s | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Kernel/platform-z80pack/z80pack.s b/Kernel/platform-z80pack/z80pack.s index 7bb300a1..13900249 100644 --- a/Kernel/platform-z80pack/z80pack.s +++ b/Kernel/platform-z80pack/z80pack.s @@ -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: -- 2.34.1