summaryrefslogtreecommitdiffstats
path: root/lib/libkvm/kvm_minidump_i386.c
Commit message (Collapse)AuthorAgeFilesLines
* libkvm code janitoringuqs2011-01-231-5/+2
| | | | | | | | | | | | - make WARNS=6 clean for archs w/o strict alignment requirments - add const, ANSIfy, remove unused vars, cast types for comparison - thanks to differing definitions of VM_MIN_ADDRESS across our archs, we need to trick the compiler to not complain about signedness. We could either fix VM_MIN_ADDRESS to always be a simple integer or make the check conditional on $ARCH. Closes PRs: kern/42386, kern/83364 Reviewed by: bde
* Fix missing includes of <string.h>, to silence some compiler warnings.ed2009-06-141-1/+1
| | | | Submitted by: Pawel Worach
* _kvm_malloc allocates memory through calloc() whichdelphij2008-10-171-1/+0
| | | | returns zeroed memory, so don't redo the initialization.
* Include strings.h for bzero()delphij2006-06-051-0/+1
|
* Teach libkvm how to read minidumps. It turns out that minidumps arepeter2006-04-211-0/+294
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.
OpenPOWER on IntegriCloud