From: Alan Cox Date: Wed, 23 Jan 2019 14:16:20 +0000 (+0000) Subject: tiny68k: use defined for size of udata block to set stack X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=76914d2e55c4c29d631912687269c4c299ce7ff2;p=FUZIX.git tiny68k: use defined for size of udata block to set stack --- diff --git a/Kernel/platform-tiny68k/crt0.S b/Kernel/platform-tiny68k/crt0.S index 240a9867..910e1d78 100644 --- a/Kernel/platform-tiny68k/crt0.S +++ b/Kernel/platform-tiny68k/crt0.S @@ -5,6 +5,8 @@ * supervisor stack a mystery. We are in supervisor mode and the rest * is our problem. */ + #include "../kernel-68000.def" + .globl __end .globl __bss_start @@ -23,8 +25,7 @@ wipebss: clr.l (a0)+ dbra d0,wipebss - /* FIXME: hard coded ugly */ - lea udata_block+1016,a7 + lea udata_block0+UBLOCK_SIZE,a7 bsr init_early bsr init_hardware bsr fuzix_main