History

20120725-1513

forsyth committed 14 years ago

Commit ffd8a421 parent d161dff3 files · +5 −2Browse files

Unified · Split

3 files
  1. CHANGES +2 −0
  2. Linux/arm/include/emu.h +2 −1
  3. include/version.h +1 −1
CHANGES+2−0
@@ -1,3 +1,5 @@
1+20120725
2+ increase KSTACK for Linux/arm
13 20120615
24 add configuration emu/FreeBSD/emu-g [powerman]
35 20120509
Linux/arm/include/emu.h+2−1
@@ -13,9 +13,9 @@ struct FPU · 12 unmodified lines
1313 uchar env[28];
1414 };
1515
16−#define KSTACK (16 * 1024)
1716
1817 #ifndef USE_PTHREADS
18+#define KSTACK (16 * 1024) /* must be power of two */
1919 static __inline Proc *getup(void) {
2020 Proc *p;
2121 __asm__( "mov %0, %%sp;"
@@ -24,6 +24,7 @@ static __inline Proc *getup(void) { · 2 unmodified lines
2424 return *(Proc **)((uintptr)p & ~(KSTACK - 1));
2525 }
2626 #else
27+#define KSTACK (32 * 1024) /* need not be power of two */
2728 extern Proc* getup(void);
2829 #endif
2930
include/version.h+1−1
@@ -1 +1 @@
1−#define VERSION "Fourth Edition (20120720)"
1+#define VERSION "Fourth Edition (20120725)"