FreeBSD Bugzilla – Attachment 199945 Details for
Bug 233819
12-BETA PAE kernel does not boot
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Ignore nx for kernel_pmap
1.patch (text/plain), 560 bytes, created by
Konstantin Belousov
on 2018-12-08 03:11:30 UTC
(
hide
)
Description:
Ignore nx for kernel_pmap
Filename:
MIME Type:
Creator:
Konstantin Belousov
Created:
2018-12-08 03:11:30 UTC
Size:
560 bytes
patch
obsolete
>diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c >index 763808be016..39230faff6c 100644 >--- a/sys/i386/i386/pmap.c >+++ b/sys/i386/i386/pmap.c >@@ -3688,7 +3688,7 @@ pmap_enter(pmap_t pmap, vm_offset_t va, vm_page_t m, vm_prot_t prot, > KASSERT((newpte & (PG_M | PG_RW)) != PG_M, > ("pmap_enter: flags includes VM_PROT_WRITE but prot doesn't")); > #if defined(PAE) || defined(PAE_TABLES) >- if ((prot & VM_PROT_EXECUTE) == 0) >+ if ((prot & VM_PROT_EXECUTE) == 0 && pmap != kernel_pmap) > newpte |= pg_nx; > #endif > if ((flags & PMAP_ENTER_WIRED) != 0)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 233819
: 199945