freebsd-skq/lib/libkvm
avg 6ba2297b75 amd64: introduce minidump version 2
After KVA space was increased to 512GB on amd64 it became impractical
to use PTEs as entries in the minidump map of dumped pages, because size
of that map alone would already be 1GB.
Instead, we now use PDEs as page map entries and employ two stage lookup
in libkvm: virtual address -> PDE -> PTE -> physical address.  PTEs are
now dumped as regular pages.  Fixed page map size now is 2MB.

libkvm keeps support for accessing amd64 minidumps of version 1.
Support for 1GB pages is added.

Many thanks to Alan Cox for his guidance, numerous reviews, suggestions,
enhancments and corrections.

Reviewed by:	alc [kernel part]
MFC after:	15 days
2010-11-11 18:35:28 +00:00
..
kvm_amd64.c Fix missing includes of <string.h>, to silence some compiler warnings. 2009-06-14 12:42:06 +00:00
kvm_arm.c Fix missing includes of <string.h>, to silence some compiler warnings. 2009-06-14 12:42:06 +00:00
kvm_cptime.c Fix missing includes of <string.h>, to silence some compiler warnings. 2009-06-14 12:42:06 +00:00
kvm_file.c Fix missing includes of <string.h>, to silence some compiler warnings. 2009-06-14 12:42:06 +00:00
kvm_getcptime.3 Add a new routine kvm_getcptime(3) for fetching the equivalent of 2008-08-19 21:30:36 +00:00
kvm_geterr.3 Remove the advertising clause. UCB did this some time ago, but these 2007-01-08 17:35:36 +00:00
kvm_getfiles.3 Remove the advertising clause. UCB did this some time ago, but these 2007-01-08 17:35:36 +00:00
kvm_getloadavg.3 mdoc: make sure to pass at least one argument to quotation macros 2010-08-02 13:11:35 +00:00
kvm_getloadavg.c Remove the advertising clause. UCB did this some time ago, but these 2007-01-08 17:35:36 +00:00
kvm_getpcpu.3 Fix several typos in macros or macro misusage. 2010-03-12 10:01:06 +00:00
kvm_getprocs.3 Remove the advertising clause. UCB did this some time ago, but these 2007-01-08 17:35:36 +00:00
kvm_getswapinfo.3
kvm_getswapinfo.c - Move 'struct swdevt' back into swap_pager.h and expose it to userland. 2007-02-07 17:43:11 +00:00
kvm_i386.c Fix a copy-paste bug when reading data from the last 3 (7 for PAE) bytes of 2009-11-06 13:10:12 +00:00
kvm_ia64.c Add a level of indirection to the kernel PTE table. The old 2007-05-19 13:11:27 +00:00
kvm_minidump_amd64.c amd64: introduce minidump version 2 2010-11-11 18:35:28 +00:00
kvm_minidump_arm.c Support kernel crash mini dumps on ARM architecture. 2008-11-06 16:20:27 +00:00
kvm_minidump_i386.c Fix missing includes of <string.h>, to silence some compiler warnings. 2009-06-14 12:42:06 +00:00
kvm_minidump_mips.c Add minidump support for MIPS 2010-11-07 03:26:22 +00:00
kvm_mips.c Add minidump support for MIPS 2010-11-07 03:26:22 +00:00
kvm_nlist.3 Remove the advertising clause. UCB did this some time ago, but these 2007-01-08 17:35:36 +00:00
kvm_open.3 Remove the advertising clause. UCB did this some time ago, but these 2007-01-08 17:35:36 +00:00
kvm_pcpu.c A first cut at teaching libkvm how to deal with dynamic per-CPU storage 2010-03-01 00:27:55 +00:00
kvm_powerpc64.c 64-bit PowerPC KVM support. 2010-07-10 15:15:00 +00:00
kvm_powerpc.c Add support for PowerPC kernel core files. This commit only adds 2009-04-06 21:52:10 +00:00
kvm_private.h Add minidump support for MIPS 2010-11-07 03:26:22 +00:00
kvm_proc.c Much closer approximation of the kernel's calculation of this value. 2010-06-18 01:17:16 +00:00
kvm_read.3 Remove the advertising clause. UCB did this some time ago, but these 2007-01-08 17:35:36 +00:00
kvm_sparc64.c Remove the advertising clause. UCB did this some time ago, but these 2007-01-08 17:35:36 +00:00
kvm_sparc.c Remove the advertising clause. UCB did this some time ago, but these 2007-01-08 17:35:36 +00:00
kvm_vnet.c Fix typo in comment. 2010-02-27 21:58:55 +00:00
kvm.3 kvm(3): Mention that some of the functions use sysctl(3) instead of kmem. 2010-04-25 12:50:30 +00:00
kvm.c A first cut at teaching libkvm how to deal with dynamic per-CPU storage 2010-03-01 00:27:55 +00:00
kvm.h Not all programs including kvm.h include the necessary headers to use 2010-03-01 09:46:27 +00:00
Makefile Add minidump support for MIPS 2010-11-07 03:26:22 +00:00