diff options
author | imp <imp@FreeBSD.org> | 2010-01-08 22:48:21 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2010-01-08 22:48:21 +0000 |
commit | 382bd114d47d27897b6d0fe901f339d755ab880e (patch) | |
tree | f447652ac5a153a4a61518e866819b80cdbfe9bb /sys/mips/rmi | |
parent | 24c5063f2e4bd0cb0d71f8d3737b7a4d089731c2 (diff) | |
download | FreeBSD-src-382bd114d47d27897b6d0fe901f339d755ab880e.zip FreeBSD-src-382bd114d47d27897b6d0fe901f339d755ab880e.tar.gz |
Centralize initialization of pcpu, and set curthread early...
Diffstat (limited to 'sys/mips/rmi')
-rw-r--r-- | sys/mips/rmi/xlr_machdep.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/mips/rmi/xlr_machdep.c b/sys/mips/rmi/xlr_machdep.c index 52306d9..5de015f 100644 --- a/sys/mips/rmi/xlr_machdep.c +++ b/sys/mips/rmi/xlr_machdep.c @@ -385,7 +385,10 @@ platform_start(__register_t a0 __unused, void (*wakeup) (void *, void *, unsigned int); #endif + /* XXX no zeroing of BSS? */ + /* Initialize pcpu stuff */ + mips_pcpu_init(); /* XXX FIXME the code below is not 64 bit clean */ /* Save boot loader and other stuff from scratch regs */ |