From b51b02f5132506dc9422add29b14faf8c67fb557 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sun, 20 Jan 2019 15:21:58 +0000 Subject: [PATCH] tiny68k: fix incorrect sr set up at boot --- Kernel/platform-tiny68k/p68000.S | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Kernel/platform-tiny68k/p68000.S b/Kernel/platform-tiny68k/p68000.S index 07693d26..d8af248b 100644 --- a/Kernel/platform-tiny68k/p68000.S +++ b/Kernel/platform-tiny68k/p68000.S @@ -21,9 +21,12 @@ #define IVR $19 .mri 1 -platform_reboot: platform_monitor: - or #0700,sr + ; Need to check if top of memory at FE7000, if so + ; copy vectors from FE7000 to 0 (where we saved them) + ; them jmp to FE8000 +platform_reboot: + or #$0700,sr bra platform_monitor init_early: -- 2.34.1