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/archbcm2.c | |
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/archbcm2.c')
-rw-r--r-- | sys/src/9/bcm/archbcm2.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/src/9/bcm/archbcm2.c b/sys/src/9/bcm/archbcm2.c index 05c7e9d55..510abdb8f 100644 --- a/sys/src/9/bcm/archbcm2.c +++ b/sys/src/9/bcm/archbcm2.c @@ -221,12 +221,6 @@ archbcm2link(void) addclock0link(wdogfeed, HZ); } -int -l2ap(int ap) -{ - return (AP(0, (ap))); -} - void cpustart(int cpu) { |