diff options
author | marcel <marcel@FreeBSD.org> | 2008-09-16 17:22:16 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2008-09-16 17:22:16 +0000 |
commit | c30442519135193341da3ed7a651eb15bcea26b8 (patch) | |
tree | 33a29b8ea047141e6fbf030a73562a25ccf21b1f /etc | |
parent | 79892756cd617d3c35e4bb2a2d5d346cbec9efe4 (diff) | |
download | FreeBSD-src-c30442519135193341da3ed7a651eb15bcea26b8.zip FreeBSD-src-c30442519135193341da3ed7a651eb15bcea26b8.tar.gz |
Rewrite cpudep_ap_bootstrap(). We now enable L3, L2, L1D and L1I
caches if not yet enabed. This is required for coherency and
atomic operations to work, not to mention performance. We use the
L2 and L3 cache settings of the BSP to configure the APs caches.
Can't be bad.
Program NAP and not DOZE. DOZE is present only on earlier CPUs
and the bit is reserved on the MPC7441 & MPC7451. NAP will do
bus snooping to keep caches coherent.
Program the PIR with the cpuid. This may not be necessary...
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions