Switch the kernel's pmap domain from 15 to 0.
This should be a no-op, and this is needed for xscale core 3 supersections support, as they are always part of the domain 0
This commit is contained in:
parent
16d3037df8
commit
fe85f6cee8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=169756
@ -431,10 +431,10 @@ pmap_init_l1(struct l1_ttable *l1, pd_entry_t *l1pt)
|
||||
|
||||
l1->l1_kva = l1pt;
|
||||
l1->l1_domain_use_count = 0;
|
||||
l1->l1_domain_first = 0;
|
||||
l1->l1_domain_first = 1;
|
||||
|
||||
for (i = 0; i < PMAP_DOMAINS; i++)
|
||||
l1->l1_domain_free[i] = i + 1;
|
||||
l1->l1_domain_free[i] = i + 2;
|
||||
|
||||
/*
|
||||
* Copy the kernel's L1 entries to each new L1.
|
||||
|
@ -237,8 +237,8 @@ int pmap_fault_fixup(pmap_t, vm_offset_t, vm_prot_t, int);
|
||||
/*
|
||||
* Definitions for MMU domains
|
||||
*/
|
||||
#define PMAP_DOMAINS 15 /* 15 'user' domains (0-14) */
|
||||
#define PMAP_DOMAIN_KERNEL 15 /* The kernel uses domain #15 */
|
||||
#define PMAP_DOMAINS 15 /* 15 'user' domains (1-15) */
|
||||
#define PMAP_DOMAIN_KERNEL 0 /* The kernel uses domain #0 */
|
||||
|
||||
/*
|
||||
* The new pmap ensures that page-tables are always mapping Write-Thru.
|
||||
|
Loading…
Reference in New Issue
Block a user