summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorforsyth <forsyth@vitanuova.com>2012-07-25 15:13:50 +0100
committerforsyth <forsyth@vitanuova.com>2012-07-25 15:13:50 +0100
commit87efdcdeee000c948941544807a31df26aa9fb5d (patch)
tree20d169354d41f9fa1e341ed79ed44d37062be4ce
parent1b23ed88126e7f6a6f8b22831cd5a966c7da748d (diff)
20120725-1513
-rw-r--r--CHANGES2
-rw-r--r--Linux/arm/include/emu.h3
-rw-r--r--include/version.h2
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)"