diff options
Diffstat (limited to 'sys/arm/xscale/ixp425/avila_machdep.c')
-rw-r--r-- | sys/arm/xscale/ixp425/avila_machdep.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/arm/xscale/ixp425/avila_machdep.c b/sys/arm/xscale/ixp425/avila_machdep.c index 35a9f25..7fed47b 100644 --- a/sys/arm/xscale/ixp425/avila_machdep.c +++ b/sys/arm/xscale/ixp425/avila_machdep.c @@ -480,6 +480,11 @@ initarm(void *arg, void *arg2) init_param1(); init_param2(physmem); kdb_init(); + + /* use static kernel environment if so configured */ + if (envmode == 1) + kern_envp = static_env; + return ((void *)(kernelstack.pv_va + USPACE_SVC_STACK_TOP - sizeof(struct pcb))); } |