mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
5f96573141
file as follows: 1. Common ia64-specific support functions have the ia64_ prefix. 2. Functions that work on physical cores have the phys_ prefix. 3. Functions that work on virtual cores have the virt_ prefix. With that: 1. _kvm_kvatop() has been renamed to phys_kvatop() as it handles physical cores only. 2. The new _kvm_kvatop() is nothing but a wrapper that calls either phys_kvatop() or virt_kvatop() by virtue of the kvatop function pointer in the vmstate structure. 3. virt_kvatop() is nothing but a wrapper around virt_addr2off(). 4. virt_addr2off() iterates over the Phdrs to find the segment in which the address falls and return the file offset for it. Now it's up to the kernel to populate the core file appropriately. |
||
---|---|---|
.. | ||
kvm.3 | ||
kvm.c | ||
kvm.h | ||
kvm_amd64.c | ||
kvm_arm.c | ||
kvm_cptime.c | ||
kvm_file.c | ||
kvm_getcptime.3 | ||
kvm_geterr.3 | ||
kvm_getfiles.3 | ||
kvm_getloadavg.3 | ||
kvm_getloadavg.c | ||
kvm_getpcpu.3 | ||
kvm_getprocs.3 | ||
kvm_getswapinfo.3 | ||
kvm_getswapinfo.c | ||
kvm_i386.c | ||
kvm_ia64.c | ||
kvm_minidump_amd64.c | ||
kvm_minidump_arm.c | ||
kvm_minidump_i386.c | ||
kvm_minidump_mips.c | ||
kvm_mips.c | ||
kvm_nlist.3 | ||
kvm_open.3 | ||
kvm_pcpu.c | ||
kvm_powerpc.c | ||
kvm_powerpc64.c | ||
kvm_private.h | ||
kvm_proc.c | ||
kvm_read.3 | ||
kvm_sparc.c | ||
kvm_sparc64.c | ||
kvm_vnet.c | ||
Makefile |