ref: 3e7d71878bbb318a3774a2b5a75965e41e6a4a43
parent: e4b215d77ff0f63eaf42d737a1a4f75d2a2037aa
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Tue Jun 20 15:52:34 EDT 2023
bcm64: don't zap idmap, not in L1 anymore
--- a/sys/src/9/bcm64/mmu.c
+++ b/sys/src/9/bcm64/mmu.c
@@ -246,11 +246,8 @@
* the proper sizes.
*/
coherence();
- for(va = INITMAP+KZERO; va != 0; va += PGLSZ(1)){
- pa = va-KZERO;
- ((uintptr*)L1)[PTL1X(pa, 1)] = 0;
+ for(va = INITMAP+KZERO; va != 0; va += PGLSZ(1))
((uintptr*)L1)[PTL1X(va, 1)] = 0;
- }
flushtlb();
pa = PGROUND((uintptr)end)-KZERO;