1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00
freebsd/sys
John Baldwin 645743ea99 Export various helper variables describing the layout and size of
certain kernel structures for use by debuggers. This mostly aids
in examining cores from a kernel without debug symbols as a debugger
can infer these values if debug symbols are available.

One set of variables describes the layout of 'struct linker_file' to
walk the list of loaded kernel modules.

A second set of variables describes the layout of 'struct proc' and
'struct thread' to walk the list of processes in the kernel and the
threads in each process.

The 'pcb_size' variable is used to index into the stoppcbs[] array.

The 'vm_maxuser_address' is used to distinguish kernel virtual addresses
from user addresses. This doesn't have to be perfect, and
'vm_maxuser_address' is a cheap and simple way to differentiate kernel
pointers from simple values like TIDs and PIDs.

While here, annotate the fields in struct pcb used by kgdb on amd64
and i386 to note that their ABI should be preserved.  Annotations for
other platforms will be added in the future.

Reviewed by:	kib
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D3773
2015-11-12 22:00:59 +00:00
..
amd64 Export various helper variables describing the layout and size of 2015-11-12 22:00:59 +00:00
arm Enable cloks for all USDHC interfaces, previous value was USDHC 1-3 + USBOH3 2015-11-12 21:37:58 +00:00
arm64 Fix typo in message from arm64 ITS workaround 2015-11-09 01:49:25 +00:00
boot Raspberry Pi firmware passes cache line size as a DTB parameter 2015-11-03 04:50:58 +00:00
bsm
cam Modify target port groups logic in CTL. 2015-11-11 13:18:38 +00:00
cddl Switch zfs_panic_recover to panic for bad DVA 2015-11-06 20:45:19 +00:00
compat Build fixes: 2015-11-12 09:18:22 +00:00
conf Now that the PMU implementation is independent of HWPMC 2015-11-09 17:57:32 +00:00
contrib Fix slots DMA memory handling. It's similar to r290553. 2015-11-10 10:56:52 +00:00
crypto
ddb
dev NTB: MFV 8b782fab: unify translation addresses 2015-11-12 19:07:03 +00:00
fs - Consistently use PROC_ASSERT_HELD() to verify that a process' hold count 2015-11-08 01:38:56 +00:00
gdb
geom Fix g_eli error loss conditions 2015-11-05 17:37:35 +00:00
gnu
i386 Export various helper variables describing the layout and size of 2015-11-12 22:00:59 +00:00
isa
kern Export various helper variables describing the layout and size of 2015-11-12 22:00:59 +00:00
kgssapi
libkern libkern: ffs, fls: s/4/3/ the 3rd BSD clause 2015-10-22 21:04:47 +00:00
mips Remove this; it's also in sys/conf/files.mips. 2015-11-03 21:03:26 +00:00
modules Add riotboard DTB to dtb/imx6 2015-11-12 03:37:28 +00:00
net Use lladdr_event to propagate gratiotus arp. 2015-11-09 10:11:14 +00:00
net80211 net80211: add ieee80211_restart_all() call. 2015-10-27 20:40:57 +00:00
netgraph Use lladdr_event to propagate gratiotus arp. 2015-11-09 10:11:14 +00:00
netinet Decompose arp_ifinit() into arp_add_ifa_lle() and arp_announce_ifaddr(). 2015-11-09 10:35:33 +00:00
netinet6 Unify setting lladdr for AF_INET[6]. 2015-11-07 11:12:00 +00:00
netipsec Turning on IPSEC used to introduce a slight amount of performance 2015-10-27 00:42:15 +00:00
netnatm
netpfil Print proper setfib values in ipfw log. 2015-11-08 13:44:21 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed Fix integer to pointer of different size conversion warnings when 2015-11-12 10:12:20 +00:00
opencrypto
pc98
powerpc Write 2- and 4-byte aligned values as single writes in ddb(4) 2015-11-06 04:56:52 +00:00
rpc
security
sparc64 Fix an alignment check that is wrong in half the busdma implementations. 2015-11-02 23:37:19 +00:00
sys Bump version number since callout_stop() macro now has new NULL arg. 2015-11-12 10:48:31 +00:00
teken
tests Style 9 changes. 2015-11-12 10:31:14 +00:00
tools
ufs Do not perform read-ahead for BA_CLRBUF request when we are low on 2015-10-27 13:44:13 +00:00
vm Export various helper variables describing the layout and size of 2015-11-12 22:00:59 +00:00
x86 x86/dma_bounce: rework _bus_dmamap_load_ma implementation 2015-11-09 12:19:58 +00:00
xdr
xen xen/intr: fix the event channel enabled per-cpu mask 2015-11-05 14:33:46 +00:00
Makefile