Sync tpm(4) with FreeBSD.Adds TPM 2.0 support, mainly.
kernel: Remove last use cases of "%b" format.Switch to args safe "%pb%i" internal format.
build - Separate out CFLAGS for kernel & module build* Make COPTFLAGS apply to module builds in addition to kernel builds.* Implement a new make variable, KCFLAGS, for specifying overrides for
build - Separate out CFLAGS for kernel & module build* Make COPTFLAGS apply to module builds in addition to kernel builds.* Implement a new make variable, KCFLAGS, for specifying overrides for kernel and module builds.* Fixup the module build infrastructure to use KCFLAGS, and get rid of infiltration from the more generic CFLAGS onto the kernel & modules build.
show more ...
kernel: Use NULL for pointers in DRIVER_MODULE().
acpi: Fix building the kernel.
tpm(4): Use __func__.
tpm(4): Fix building with TPM_DEBUG.
kernel: Add the tpm(4) driver for trusted platform modules.Tested-by: tuxillo on a HP ProBook 6460bTaken-from: FreeBSD