Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/arm64/arm64/pmap.c | ||
---|---|---|
4598–4611 | I wish we had pmap_X_to_X+1() variants that returned the PTE value rather than its address so that we didn't repeatedly pmap_load() afterwards. |
sys/arm64/arm64/pmap.c | ||
---|---|---|
4598–4611 | Maybe something following this example? pd_entry_t pmap_l1e_to_l2e(pdp_entry_t l1e, vm_offset_t va) { pd_entry_t *l2; l2 = (pd_entry_t *)PHYS_TO_DMAP(l1e & ~ATTR_MASK); return (l2[pmap_l2_index(va)]); } On the other hand, I'm not really sure why the arm64 pmap uses pmap_load() to begin with. |
sys/arm64/arm64/pmap.c | ||
---|---|---|
4598–4611 | Yes, something like that. |