Date: Fri, 21 Apr 2006 04:32:51 +0000 (UTC) From: Peter Wemm <peter@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libkvm Makefile kvm_amd64.c kvm_i386.c kvm_minidump_amd64.c kvm_minidump_i386.c kvm_private.h Message-ID: <200604210432.k3L4Wp81049094@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 2006-04-21 04:32:51 UTC FreeBSD src repository Modified files: lib/libkvm Makefile kvm_amd64.c kvm_i386.c kvm_private.h Added files: lib/libkvm kvm_minidump_amd64.c kvm_minidump_i386.c Log: Teach libkvm how to read minidumps. It turns out that minidumps are far more convenient for libkvm to work with because of the page table block at the beginning. As a result, the MD code is smaller. libkvm will automatically detect old vs mini dumps on i386 and amd64. libkvm will handle i386 PAE and non-PAE modes. There is a PAE flag in the i386 minidump header to signal the width of the entries in the page table block. Other convenient values are also present, such as kernbase and the direct map addresses on amd64. Revision Changes Path 1.15 +3 -0 src/lib/libkvm/Makefile 1.20 +11 -0 src/lib/libkvm/kvm_amd64.c 1.19 +11 -0 src/lib/libkvm/kvm_i386.c 1.1 +255 -0 src/lib/libkvm/kvm_minidump_amd64.c (new) 1.1 +294 -0 src/lib/libkvm/kvm_minidump_i386.c (new) 1.10 +6 -0 src/lib/libkvm/kvm_private.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604210432.k3L4Wp81049094>