Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145312492
D19365.id54552.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
748 B
Referenced Files
None
Subscribers
None
D19365.id54552.diff
View Options
Index: sys/i386/i386/pmap.c
===================================================================
--- sys/i386/i386/pmap.c
+++ sys/i386/i386/pmap.c
@@ -564,6 +564,8 @@
/* Now enable paging */
#ifdef PMAP_PAE_COMP
cr3 = (u_int)IdlePDPT;
+ if ((cpu_feature & CPUID_PAT) == 0)
+ wbinvd();
#else
cr3 = (u_int)IdlePTD;
#endif
@@ -2040,6 +2042,14 @@
}
pmap_qenter((vm_offset_t)pmap->pm_pdir, pmap->pm_ptdpg, NPGPTD);
+#ifdef PMAP_PAE_COMP
+ if ((cpu_feature & CPUID_PAT) == 0) {
+ pmap_invalidate_cache_range(
+ trunc_page((vm_offset_t)pmap->pm_pdpt),
+ round_page((vm_offset_t)pmap->pm_pdpt +
+ NPGPTD * sizeof(pdpt_entry_t)));
+ }
+#endif
for (i = 0; i < NPGPTD; i++)
if ((pmap->pm_ptdpg[i]->flags & PG_ZERO) == 0)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 19, 7:07 AM (8 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28872014
Default Alt Text
D19365.id54552.diff (748 B)
Attached To
Mode
D19365: Invalidate cache for the pdir page when using PAE paging but PAT is not supported.
Attached
Detach File
Event Timeline
Log In to Comment