freebsd-dev/sys
Mark Johnston 994297b01b ctf: Add definitions for CTFv3
These are based on definitions added to binutils' libctf.  Specifically:
- Type IDs are now encoded in 32 bits rather than 16, changing the
  layout of ctf_type_t, ctf_array_t, ctf_member_t and ctf_lmember_t.
- Type info is encoded in 32 bits rather than 16.  The type "kind" is
  extended from 5 bits to 6, and the type "vlen" is extended from 10
  bits to 25.

The main upside is that we remove the current limit, imposed by CTFv2,
of 2^{15} distinct types in the main kernel executable.  Other limits,
such as that on the number of elements in an enum, imposed by the vlen
limit, are also raised.

This change adds v2 and v3 flavours of macros and type definitions which
differ between the two versions.  Compatibility is preserved for now by
having generic names refer to the v2 definitions, so, e.g., ctf_type_t
is still a v2 type.

No functional change intended.

Reviewed by:	Domagoj Stolfa
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D34360
2022-03-07 10:43:18 -05:00
..
amd64 amd64: Call clock_init() after finishidentcpu() 2022-03-04 19:32:39 -05:00
arm arm: Add extres pseudo devices to some kernel 2022-02-23 08:47:57 +01:00
arm64 Rework the arm64 sigtramp code to be a trampoline 2022-03-07 10:03:07 +00:00
bsm
cam CTL: Rework 05c3e8e871 using %zu format. 2022-02-25 11:53:53 -05:00
cddl ctf: Import ctf.h from OpenBSD 2022-03-07 10:43:18 -05:00
compat LinuxKPI: pci.h MODULE_DEVICE_TABLE to MODULE_PNP_INFO 2022-03-04 00:12:45 +00:00
conf ice(4): Update to 1.34.2-k 2022-03-04 10:51:41 -08:00
contrib iwlwifi: adjust the LinuxKPI pci return for now 2022-03-03 23:16:40 +00:00
crypto armv8crypto: Remove leftover debug printfs 2022-02-17 14:25:45 -05:00
ddb ddb: Remove SOFTWARE_SSTEP support 2022-01-07 09:25:33 -07:00
dev netmap: add a tunable for the maximum number of VALE switches 2022-03-06 17:29:44 +00:00
dts dts: add IPQ4018/IPQ4019 ethernet MAC and ethernet switch definitions 2022-02-03 21:26:45 -08:00
fs nfscl: Fix a use after free in nfscl_cleanupkext() 2022-02-25 07:27:03 -08:00
gdb gdb(4): Do not use run length encoding for 3-symbol repetitions 2022-01-22 14:46:06 -05:00
geom g_part: Allow attributes to be querried 2022-03-01 08:06:42 -07:00
gnu
i386 x86: Probe the TSC frequency earlier 2022-03-01 09:39:35 -05:00
isa
kern linker: Simplify CTF container handling 2022-03-07 10:43:18 -05:00
kgssapi
libkern
modules ice(4): Update to 1.34.2-k 2022-03-04 10:51:41 -08:00
net netmap: fix refcount bug in netmap allocator 2022-03-06 16:39:16 +00:00
net80211 net80211: enhance (disabled) debugging 2022-02-14 22:16:59 +00:00
netgraph ng pppoe(4): Add the required NET_EPOCH section to the hook 2022-02-09 22:00:50 +03:00
netinet rip: Fix a -Wunused-but-set-variable warning 2022-03-01 09:39:43 -05:00
netinet6 Fix a memory leak when ip_output_send() returns EAGAIN due to send tag issues 2022-01-27 10:34:34 -05:00
netipsec ipsec: sprinkle CURVNET_ASSERT_SET 2022-02-19 13:10:41 +00:00
netpfil pf: support masking mac addresses 2022-03-02 17:00:08 +01:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed ibcore: Fix multiple includes of same header file. 2022-03-03 12:51:20 +01:00
opencrypto crypto: hide crypto_destroyreq behind a tunable 2022-02-16 07:45:12 +00:00
powerpc powerpc: FreeBSD kernel compatibility cleanup 2022-03-07 14:30:26 -03:00
riscv riscv: Add support for enabling SV48 mode 2022-03-01 09:39:44 -05:00
rpc
security
sys ctf: Add definitions for CTFv3 2022-03-07 10:43:18 -05:00
teken
tests
tools Revert "syscallarg_t: Add a type for system call arguments" 2022-01-12 23:29:20 +00:00
ufs ffs_read(): lock buffers after snaplk with LK_NOWITNESS 2022-02-06 03:26:22 +02:00
vm uma: Add UMA_ZONE_UNMANAGED 2022-02-15 09:25:34 -05:00
x86 x86: Defer early TSC timecounter calibration to SI_SUB_CPU 2022-03-04 19:34:43 -05:00
xdr
xen xen: remove public headers in sys/xen/interface 2022-02-07 10:12:34 +01:00
Makefile Fix 'make cscope' with ALL_ARCH defined 2022-01-07 11:53:52 -04:00