diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-12-04 22:02:51 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-12-04 22:02:51 +0100 |
commit | f48f1a324aaad4616b93ec595d5e0f2e22d12bc4 (patch) | |
tree | 6481066d6ec62f330f6453cbe8462efb6343fc31 /sys/src/9/bcm/fns.h | |
parent | c9570c14af7780384df818c94700dc8a18a29423 (diff) |
bcm: use extended small pages so XN bit can work
the change to support no-execute bits broke the original
raspberry pi1, as it uses backwards compatible page table
format.
to use the XN bit, subpage AP bits have to be disabled
using the XP bit in CP15 Control Register c1 Bit 23.
Diffstat (limited to 'sys/src/9/bcm/fns.h')
-rw-r--r-- | sys/src/9/bcm/fns.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/src/9/bcm/fns.h b/sys/src/9/bcm/fns.h index 125dd4f4c..a2b8d16f8 100644 --- a/sys/src/9/bcm/fns.h +++ b/sys/src/9/bcm/fns.h @@ -99,7 +99,6 @@ extern void wdogoff(void); extern void wdogfeed(void); extern void writeconf(void); extern void vtable(void); -extern int l2ap(int); extern uint getcputemp(void); extern char *cputype2name(char *buf, int size); extern uint getboardrev(void); |