Changeset View
Changeset View
Standalone View
Standalone View
sys/powerpc/aim/locore32.S
Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Lines | GLOBAL(__startkernel) | ||||
.long begin | .long begin | ||||
GLOBAL(__endkernel) | GLOBAL(__endkernel) | ||||
.long end | .long end | ||||
.align 4 | .align 4 | ||||
#define TMPSTKSZ 8192 /* 8K temporary stack */ | #define TMPSTKSZ 8192 /* 8K temporary stack */ | ||||
GLOBAL(tmpstk) | GLOBAL(tmpstk) | ||||
.space TMPSTKSZ | .space TMPSTKSZ | ||||
#define TRAPSTKSZ 4096 /* 4k trap stack */ | |||||
jhibbits: Do you intend this only to be used by debug traps? If so, those are only used when KDB is… | |||||
Not Done Inline ActionsI faced this issue again and realized that it is still in review. leonardo.bianconi_eldorado.org.br: I faced this issue again and realized that it is still in review.
Added `#ifdef` as requested… | |||||
GLOBAL(trapstk) | |||||
.space TRAPSTKSZ | |||||
.text | .text | ||||
.globl btext | .globl btext | ||||
btext: | btext: | ||||
/* | /* | ||||
* Main kernel entry point. | * Main kernel entry point. | ||||
*/ | */ | ||||
.text | .text | ||||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |
Do you intend this only to be used by debug traps? If so, those are only used when KDB is enabled, so you should wrap this with a \#ifdef KDB, same with the other one.