Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src
Module Name: src
Committed By: jym
Date: Tue Oct 5 23:48:16 UTC 2010
Modified Files:
src/lib/libkvm: Makefile kvm_i386.c
src/sys/arch/i386/i386: dumpsys.c
src/sys/arch/i386/include: kcore.h
Added Files:
src/lib/libkvm: kvm_i386pae.c
Log Message:
Import PAE support for kvm(3):
- add kvm_i386pae.c (used for PAE memory translations), and update Makefile
for libkvm build.
- in pdppaddr: pass a flag to indicate PAE mode. Use a bit ignored
by the MMU. Mask address with PG_FRAME to avoid side effects.
Tested with vmstat(1)/netstat(1) to debug core files of PAE and !PAE
kernels. Older kernel dumps will default to native i386 (!PAE) mode.
XXX Currently, savecore(8) will fail to dump a PAE kernel in a !PAE
environment (and reciprocally). So you need to sync and reboot
with a kernel of the same mode as the one that crashed. Once the dump
is successful, this does not matter anymore.
To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/lib/libkvm/Makefile
cvs rdiff -u -r1.28 -r1.29 src/lib/libkvm/kvm_i386.c
cvs rdiff -u -r0 -r1.1 src/lib/libkvm/kvm_i386pae.c
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/i386/i386/dumpsys.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/i386/include/kcore.h
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