From: Alan Cox Date: Mon, 4 Feb 2019 00:36:33 +0000 (+0000) Subject: tiny68k: fix pagesize X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=42fc152fe4766d950607f00dacb550096c4268dc;p=FUZIX.git tiny68k: fix pagesize --- diff --git a/Kernel/platform-tiny68k/README b/Kernel/platform-tiny68k/README index 19644ef7..81058205 100644 --- a/Kernel/platform-tiny68k/README +++ b/Kernel/platform-tiny68k/README @@ -23,7 +23,6 @@ vi is not getting built linked as such vile exits without a message -pagesize is not meaningful 68010 support - frame sizes needed but also the code to deal with move to/from sr from user @@ -60,8 +59,6 @@ To Do Propogate synchronous trap changes to Z80+MMU and Z180 illegal and maybe generically jp 0 and 0 corruptor ? -Clean up switchout/switchin/dofork/forkreturn. We only ever return from a -fork() as the parent so the d0.w push/pop can go everywhere 68K has space to add ptrace? @@ -113,4 +110,6 @@ DONE Do we need the extra irqstack any more ? DONE Move lots of p68000.S code into lowlevel-68000.S DONE Need some kind of CPU specific C file (or a general one with ifdefs ?) and then move lots of platform/main.c into it. - +DONE Clean up switchout/switchin/dofork/forkreturn. We only ever return from a + fork() as the parent so the d0.w push/pop can go everywhere +DONE pagesize is not meaningful diff --git a/Kernel/platform-tiny68k/config.h b/Kernel/platform-tiny68k/config.h index b8cfdee9..e93cbb89 100644 --- a/Kernel/platform-tiny68k/config.h +++ b/Kernel/platform-tiny68k/config.h @@ -12,7 +12,8 @@ #define CONFIG_FLAT #define CONFIG_PARENT_FIRST #define CONFIG_USERMEM_DIRECT -#define CONFIG_BANKS 1 +/* It's not that meaningful but we currently chunk to 512 bytes */ +#define CONFIG_BANKS (65536/512) #define CONFIG_LARGE_IO_DIRECT(x) 1