summaryrefslogtreecommitdiffstats
path: root/sys/arm/include
diff options
context:
space:
mode:
authormmel <mmel@FreeBSD.org>2017-06-13 12:07:18 +0000
committerLuiz Souza <luiz@netgate.com>2017-09-06 12:34:43 -0500
commitd2b2169803329131e3defcc0e636a53ec231456e (patch)
treea76b363b353f7bfa0d608b6adc0f36caccdb3401 /sys/arm/include
parente38b0f53cd4363294f7f0b7d0fe43192c1c8801a (diff)
downloadFreeBSD-src-d2b2169803329131e3defcc0e636a53ec231456e.zip
FreeBSD-src-d2b2169803329131e3defcc0e636a53ec231456e.tar.gz
Implement tunable CPU quirks.
These quirks are intended for optimizing CPU performance, not for applying errata workarounds. Nobody can expect that CPU with unfixed errata is stable enough to execute the kernel until quirks are applied. MFC after: 3 weeks (cherry picked from commit 1065b8567421165a5e65e3ad5d8fa4bc348efdea)
Diffstat (limited to 'sys/arm/include')
-rw-r--r--sys/arm/include/cpuinfo.h4
-rw-r--r--sys/arm/include/pmap-v6.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/sys/arm/include/cpuinfo.h b/sys/arm/include/cpuinfo.h
index 41b5e6d..c05875c 100644
--- a/sys/arm/include/cpuinfo.h
+++ b/sys/arm/include/cpuinfo.h
@@ -121,5 +121,7 @@ struct cpuinfo {
extern struct cpuinfo cpuinfo;
void cpuinfo_init(void);
-void cpuinfo_get_actlr_modifier(uint32_t *actlr_mask, uint32_t *actlr_set);
+#if __ARM_ARCH >= 6
+void cpuinfo_reinit_mmu(uint32_t ttb);
+#endif
#endif /* _MACHINE_CPUINFO_H_ */
diff --git a/sys/arm/include/pmap-v6.h b/sys/arm/include/pmap-v6.h
index e25f7f0..958415e 100644
--- a/sys/arm/include/pmap-v6.h
+++ b/sys/arm/include/pmap-v6.h
@@ -177,7 +177,6 @@ vm_paddr_t pmap_dump_kextract(vm_offset_t, pt2_entry_t *);
int pmap_fault(pmap_t, vm_offset_t, uint32_t, int, bool);
void pmap_set_tex(void);
-void reinit_mmu(ttb_entry_t ttb, u_int aux_clr, u_int aux_set);
/*
* Pre-bootstrap epoch functions set.
OpenPOWER on IntegriCloud