diff options
author | benno <benno@FreeBSD.org> | 2002-03-07 10:15:17 +0000 |
---|---|---|
committer | benno <benno@FreeBSD.org> | 2002-03-07 10:15:17 +0000 |
commit | 2ee5d124d0f1d892a177f288ee347c8303fe7249 (patch) | |
tree | 2d73726bb4f9c69abd8441d7070984431c66ffe5 /sys/powerpc | |
parent | a4f95150fbad505613d53ed279717f68643b1072 (diff) | |
download | FreeBSD-src-2ee5d124d0f1d892a177f288ee347c8303fe7249.zip FreeBSD-src-2ee5d124d0f1d892a177f288ee347c8303fe7249.tar.gz |
Move tunable initialisation so it can get access to physmem.
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/aim/machdep.c | 12 | ||||
-rw-r--r-- | sys/powerpc/powerpc/machdep.c | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/sys/powerpc/aim/machdep.c b/sys/powerpc/aim/machdep.c index c4bc5dc..0f75ee4 100644 --- a/sys/powerpc/aim/machdep.c +++ b/sys/powerpc/aim/machdep.c @@ -360,12 +360,6 @@ powerpc_init(u_int startkernel, u_int endkernel, u_int basekernel, char *args) cninit(); /* - * Initialize tunables. - */ - init_param1(); - init_param2(physmem); - - /* * XXX: Initialize the interrupt tables. */ bcopy(&decrint, (void *)EXC_DECR, (size_t)&decrsize); @@ -406,6 +400,12 @@ powerpc_init(u_int startkernel, u_int endkernel, u_int basekernel, char *args) pmap_bootstrap(startkernel, endkernel); /* + * Initialize tunables. + */ + init_param1(); + init_param2(physmem); + + /* * Finish setting up thread0. */ thread0.td_kstack = kstack0; diff --git a/sys/powerpc/powerpc/machdep.c b/sys/powerpc/powerpc/machdep.c index c4bc5dc..0f75ee4 100644 --- a/sys/powerpc/powerpc/machdep.c +++ b/sys/powerpc/powerpc/machdep.c @@ -360,12 +360,6 @@ powerpc_init(u_int startkernel, u_int endkernel, u_int basekernel, char *args) cninit(); /* - * Initialize tunables. - */ - init_param1(); - init_param2(physmem); - - /* * XXX: Initialize the interrupt tables. */ bcopy(&decrint, (void *)EXC_DECR, (size_t)&decrsize); @@ -406,6 +400,12 @@ powerpc_init(u_int startkernel, u_int endkernel, u_int basekernel, char *args) pmap_bootstrap(startkernel, endkernel); /* + * Initialize tunables. + */ + init_param1(); + init_param2(physmem); + + /* * Finish setting up thread0. */ thread0.td_kstack = kstack0; |