From 87efdcdeee000c948941544807a31df26aa9fb5d Mon Sep 17 00:00:00 2001 From: forsyth Date: Wed, 25 Jul 2012 15:13:50 +0100 Subject: 20120725-1513 --- CHANGES | 2 ++ Linux/arm/include/emu.h | 3 ++- include/version.h | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index ce98013d..c74b56ab 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ +20120725 + increase KSTACK for Linux/arm 20120615 add configuration emu/FreeBSD/emu-g [powerman] 20120509 diff --git a/Linux/arm/include/emu.h b/Linux/arm/include/emu.h index 686dc1b7..7f2b101e 100644 --- a/Linux/arm/include/emu.h +++ b/Linux/arm/include/emu.h @@ -13,9 +13,9 @@ struct FPU uchar env[28]; }; -#define KSTACK (16 * 1024) #ifndef USE_PTHREADS +#define KSTACK (16 * 1024) /* must be power of two */ static __inline Proc *getup(void) { Proc *p; __asm__( "mov %0, %%sp;" @@ -24,6 +24,7 @@ static __inline Proc *getup(void) { return *(Proc **)((uintptr)p & ~(KSTACK - 1)); } #else +#define KSTACK (32 * 1024) /* need not be power of two */ extern Proc* getup(void); #endif diff --git a/include/version.h b/include/version.h index fab30b8b..fef198c1 100644 --- a/include/version.h +++ b/include/version.h @@ -1 +1 @@ -#define VERSION "Fourth Edition (20120720)" +#define VERSION "Fourth Edition (20120725)" -- cgit v1.2.3