diff options
author | marius <marius@FreeBSD.org> | 2010-02-20 23:24:19 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2010-02-20 23:24:19 +0000 |
commit | 27efbf647d0328612f1c44a888957c1f15f2b67c (patch) | |
tree | e93ca7084184f69831be9ec848380cb2e7a4faf0 /sys/boot/sparc64 | |
parent | bd54d0edd70c92645e019f14c299149217d2a60f (diff) | |
download | FreeBSD-src-27efbf647d0328612f1c44a888957c1f15f2b67c.zip FreeBSD-src-27efbf647d0328612f1c44a888957c1f15f2b67c.tar.gz |
Some machines can not only consist of CPUs running at different speeds
but also of different types, f.e. Sun Fire V890 can be equipped with a
mix of UltraSPARC IV and IV+ CPUs, requiring different MMU initialization
and different workarounds for model specific errata. Therefore move the
CPU implementation number from a global variable to the per-CPU data.
Functions which are called before the latter is available are passed the
implementation number as a parameter now.
Diffstat (limited to 'sys/boot/sparc64')
-rw-r--r-- | sys/boot/sparc64/loader/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/sparc64/loader/main.c b/sys/boot/sparc64/loader/main.c index 7204169..2afbfee 100644 --- a/sys/boot/sparc64/loader/main.c +++ b/sys/boot/sparc64/loader/main.c @@ -137,7 +137,7 @@ struct tlb_entry *dtlb_store; struct tlb_entry *itlb_store; u_int dtlb_slot; u_int itlb_slot; -int cpu_impl; +static int cpu_impl; static u_int dtlb_slot_max; static u_int itlb_slot_max; |