From 232b4b8d40c2dddee0da6afc9ec34a8bd80b7ed0 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 19 Jan 2019 16:26:17 +0000 Subject: [PATCH] tiny68k: start up fixes --- Kernel/platform-tiny68k/crt0.S | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Kernel/platform-tiny68k/crt0.S b/Kernel/platform-tiny68k/crt0.S index 9b7796cb..240a9867 100644 --- a/Kernel/platform-tiny68k/crt0.S +++ b/Kernel/platform-tiny68k/crt0.S @@ -1,8 +1,8 @@ /* * Need to wipe BSS etc once we figure out our preferred boot method * - * On entry we are loaded at $2000 with the loader and the loaders - * supervisor stack below us. We are in supervisor mode and the rest + * On entry we are loaded at $0400 with the loader and the loaders + * supervisor stack a mystery. We are in supervisor mode and the rest * is our problem. */ .globl __end @@ -24,9 +24,7 @@ wipebss: dbra d0,wipebss /* FIXME: hard coded ugly */ - move.l #udata_block+1016,a7 - /* udata global */ - move.l #udata_block,a5 + lea udata_block+1016,a7 bsr init_early bsr init_hardware bsr fuzix_main -- 2.34.1