diff options
author | marcel <marcel@FreeBSD.org> | 2008-04-27 22:33:43 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2008-04-27 22:33:43 +0000 |
commit | 20ca53a7f4befa5e1618bc6a38ee628358d387fa (patch) | |
tree | 4b070e2f496ebbb1c51a6e269f603b5beaaa4f8a /sys/powerpc/aim/locore.S | |
parent | 20ebf9deb0806cb9231272edbec6d75e64878d4c (diff) | |
download | FreeBSD-src-20ca53a7f4befa5e1618bc6a38ee628358d387fa.zip FreeBSD-src-20ca53a7f4befa5e1618bc6a38ee628358d387fa.tar.gz |
MFp4: SMP support
Diffstat (limited to 'sys/powerpc/aim/locore.S')
-rw-r--r-- | sys/powerpc/aim/locore.S | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/powerpc/aim/locore.S b/sys/powerpc/aim/locore.S index 235e13a..ed5c7b8 100644 --- a/sys/powerpc/aim/locore.S +++ b/sys/powerpc/aim/locore.S @@ -77,20 +77,21 @@ .globl kernbase .set kernbase, KERNBASE +#define TMPSTKSZ 8192 /* 8K temporary stack */ + /* * Globals */ .data .align 4 GLOBAL(tmpstk) - .space 8192 + .space TMPSTKSZ GLOBAL(esym) .long 0 /* end of symbol table */ GLOBAL(ofmsr) .long 0, 0, 0, 0, 0 /* msr/sprg0-3 used in Open Firmware */ -#define INTSTK 16384 /* 16K interrupt stack */ #define INTRCNT_COUNT 256 /* max(HROWPIC_IRQMAX,OPENPIC_IRQMAX) */ GLOBAL(intrnames) .space INTRCNT_COUNT * (MAXCOMLEN + 1) * 2 @@ -152,9 +153,8 @@ __start: stw 5,openfirmware_entry@l(8) /* save client interface handler */ mr 3,5 - lis 1,tmpstk@ha - addi 1,1,tmpstk@l - addi 1,1,8192-16 + lis 1,(tmpstk+TMPSTKSZ-16)@ha + addi 1,1,(tmpstk+TMPSTKSZ-16)@l mfmsr 0 lis 9,ofmsr@ha |