diff options
author | ian <ian@FreeBSD.org> | 2013-12-14 01:12:13 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2013-12-14 01:12:13 +0000 |
commit | b37938a4e4173ecd46aa46bb293aad3f58baefbe (patch) | |
tree | 40c74e56c766046a52593f13e5e4e4e0b0aab04c /cddl/usr.bin | |
parent | 1185e669672b4edbb49d44b2c876c995baf12a7d (diff) | |
download | FreeBSD-src-b37938a4e4173ecd46aa46bb293aad3f58baefbe.zip FreeBSD-src-b37938a4e4173ecd46aa46bb293aad3f58baefbe.tar.gz |
MFC r258392, r258412:
Call cpu_setup() immediately after the page tables are installed. This
enables data cache and other chip-specific features. It was previously
done via an early SYSINIT, but it was being done after pmap and vm setup,
and those setups need to use mutexes. On some modern ARM platforms,
the ldrex/strex instructions that implement mutexes require the data cache
to be enabled.
Call cpu_setup() from the initarm() routine on platforms that don't use
the common FDT-aware initarm() in arm/machdep.c.
Diffstat (limited to 'cddl/usr.bin')
0 files changed, 0 insertions, 0 deletions