diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2016-08-14 10:36:48 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2016-08-14 10:36:48 +0000 |
commit | a8b610b0da5189273c33b3b0b08358ea56cfc657 (patch) | |
tree | c14bd50a00b0b8d90d27b0e6faf337c7ed315854 /sys/arch/mips64 | |
parent | 1a677d06acc51e3db0435c21b79d153462735028 (diff) |
Fix setting the SMP bit in the Auxiliary Control Register. The old code was
toggling the bit, clearing it when already set. On Cortex-A7 setting the SMP
bit is essential since without it the CPU doesn't actually use its caches.
The SMP bit supposed to be set before turning on the caches and the MMU, so
move the setting of the Auxiliary Control Register before setting the
System Control Register.
ok jsg@
Diffstat (limited to 'sys/arch/mips64')
0 files changed, 0 insertions, 0 deletions