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 @@
120120725
2 increase KSTACK for Linux/arm
120120615320120615
2 add configuration emu/FreeBSD/emu-g [powerman]4 add configuration emu/FreeBSD/emu-g [powerman]
320120509520120509
Linux/arm/include/emu.h+2−1
@@ -13,9 +13,9 @@ struct FPU · 12 unmodified lines
13 uchar env[28];13 uchar env[28];
14};14};
15 15
16#define KSTACK (16 * 1024)
17 16
18#ifndef USE_PTHREADS17#ifndef USE_PTHREADS
18#define KSTACK (16 * 1024) /* must be power of two */
19static __inline Proc *getup(void) {19static __inline Proc *getup(void) {
20 Proc *p;20 Proc *p;
21 __asm__( "mov %0, %%sp;" 21 __asm__( "mov %0, %%sp;"
@@ -24,6 +24,7 @@ static __inline Proc *getup(void) { · 2 unmodified lines
24 return *(Proc **)((uintptr)p & ~(KSTACK - 1));24 return *(Proc **)((uintptr)p & ~(KSTACK - 1));
25}25}
26#else26#else
27#define KSTACK (32 * 1024) /* need not be power of two */
27extern Proc* getup(void);28extern Proc* getup(void);
28#endif29#endif
29 30
include/version.h+1−1
@@ -1 +1 @@
1#define VERSION "Fourth Edition (20120720)"1#define VERSION "Fourth Edition (20120725)"