From 42fc152fe4766d950607f00dacb550096c4268dc Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Mon, 4 Feb 2019 00:36:33 +0000 Subject: [PATCH] tiny68k: fix pagesize --- Kernel/platform-tiny68k/README | 7 +++---- Kernel/platform-tiny68k/config.h | 3 ++- 2 files changed, 5 insertions(+), 5 deletions(-) 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 -- 2.34.1