From 3bfea7911f24f3f66e957606abd5882432ad3afd Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Tue, 8 Jan 2019 23:39:46 +0000 Subject: [PATCH] linc80: fix reboot --- Kernel/platform-linc80/linc80.s | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Kernel/platform-linc80/linc80.s b/Kernel/platform-linc80/linc80.s index 8e796346..0dd2a999 100644 --- a/Kernel/platform-linc80/linc80.s +++ b/Kernel/platform-linc80/linc80.s @@ -56,7 +56,10 @@ _bufpool: .ds BUFSIZE * NBUFS - .area _COMMONMEM +; +; We need this above 16K so the ROM doesn't map over it +; + .area _CODE2 _platform_monitor: ; Reboot ends up back in the monitor @@ -68,6 +71,7 @@ _platform_reboot: _int_disabled: .db 1 + .area _COMMONMEM map_buffers: map_kernel: map_kernel_di: -- 2.34.1