freebsd-nq/lib/libkvm
Brooks Davis f38b68ae8a Make struct xinpcb and friends word-size independent.
Replace size_t members with ksize_t (uint64_t) and pointer members
(never used as pointers in userspace, but instead as unique
idenitifiers) with kvaddr_t (uint64_t). This makes the structs
identical between 32-bit and 64-bit ABIs.

On 64-bit bit systems, the ABI is maintained. On 32-bit systems,
this is an ABI breaking change. The ABI of most of these structs
was previously broken in r315662.  This also imposes a small API
change on userspace consumers who must handle kernel pointers
becoming virtual addresses.

PR:		228301 (exp-run by antoine)
Reviewed by:	jtl, kib, rwatson (various versions)
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D15386
2018-07-05 13:13:48 +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_minidump_aarch64.c
kvm_minidump_amd64.c
kvm_minidump_arm.c
kvm_minidump_i386.c
kvm_minidump_mips.c
kvm_mips.h
kvm_native.3
kvm_nlist.3
kvm_open.3
kvm_pcpu.c
kvm_powerpc64.c
kvm_powerpc.c
kvm_private.c
kvm_private.h
kvm_proc.c
kvm_read.3
kvm_sparc64.c
kvm_sparc64.h
kvm_vnet.c
kvm.3
kvm.c
kvm.h Make struct xinpcb and friends word-size independent. 2018-07-05 13:13:48 +00:00
Makefile
Makefile.depend