Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch



Module Name:    src
Committed By:   maxv
Date:           Sun Aug 12 12:42:54 UTC 2018

Modified Files:
        src/sys/arch/amd64/amd64: machdep.c prekern.c
        src/sys/arch/amd64/include: pmap.h
        src/sys/arch/amd64/stand/prekern: pdir.h prekern.c
        src/sys/arch/x86/x86: pmap.c

Log Message:
Move the PTE area from slot 255 to slot 509. I've never understood why we
put it on 255; the "kernel" half of the VM space begins on slot 256, so
if anything, the PTE area should have been above it, not below.

Virtually extend the user slots in slotspace, because we don't want
(randomized) kernel mappings to land on slot 255.

The prekern is updated accordingly.

Tested on GENERIC, GENERIC_KASLR and XEN3_DOM0.


To generate a diff of this commit:
cvs rdiff -u -r1.312 -r1.313 src/sys/arch/amd64/amd64/machdep.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/amd64/amd64/prekern.c
cvs rdiff -u -r1.51 -r1.52 src/sys/arch/amd64/include/pmap.h
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/amd64/stand/prekern/pdir.h
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/amd64/stand/prekern/prekern.c
cvs rdiff -u -r1.300 -r1.301 src/sys/arch/x86/x86/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index