freebsd-nq/lib/libkvm
Leandro Lupori 38cf2a4334 Implement kvm_kerndisp
This change adds a new libkvm function, kvm_kerndisp(), that can be used to
retrieve the kernel displacement, that is the difference between the kernel's
base virtual address at run time and the kernel base virtual address specified
in the kernel image file.

This will be used by kgdb, to properly relocate kernel symbols, when needed.

Reviewed by:	jhb
Differential Revision:	https://reviews.freebsd.org/D23285
2020-02-06 13:21:59 +00:00
..
tests
kvm_aarch64.h
kvm_amd64.c
kvm_amd64.h
kvm_arm.c
kvm_arm.h
kvm_cptime.c
kvm_getcptime.3
kvm_geterr.3
kvm_getloadavg.3
kvm_getloadavg.c
kvm_getpcpu.3
kvm_getprocs.3
kvm_getswapinfo.3
kvm_getswapinfo.c
kvm_i386.c
kvm_i386.h
kvm_kerndisp.3 Implement kvm_kerndisp 2020-02-06 13:21:59 +00:00
kvm_minidump_aarch64.c
kvm_minidump_amd64.c
kvm_minidump_arm.c
kvm_minidump_i386.c
kvm_minidump_mips.c
kvm_minidump_powerpc64_hpt.c [PPC64] Initial libkvm minidump implementation 2019-12-09 13:59:36 +00:00
kvm_minidump_powerpc64.c Implement kvm_kerndisp 2020-02-06 13:21:59 +00:00
kvm_minidump_riscv.c
kvm_mips.h
kvm_native.3
kvm_nlist.3
kvm_open.3
kvm_pcpu.c
kvm_powerpc64.c
kvm_powerpc64.h [PPC64] Initial libkvm minidump implementation 2019-12-09 13:59:36 +00:00
kvm_powerpc.c
kvm_private.c kvm: fix types for cross-debugging 2019-11-08 14:51:09 +00:00
kvm_private.h Implement kvm_kerndisp 2020-02-06 13:21:59 +00:00
kvm_proc.c Add support for ps -H on corefiles in libkvm 2019-09-22 13:56:27 +00:00
kvm_read.3
kvm_riscv.h
kvm_sparc64.c
kvm_sparc64.h
kvm_vnet.c
kvm.3 Implement kvm_kerndisp 2020-02-06 13:21:59 +00:00
kvm.c Implement kvm_kerndisp 2020-02-06 13:21:59 +00:00
kvm.h Implement kvm_kerndisp 2020-02-06 13:21:59 +00:00
Makefile Implement kvm_kerndisp 2020-02-06 13:21:59 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00