aboutsummaryrefslogtreecommitdiff
path: root/contrib/compiler-rt/lib/sanitizer_common/(public-mirror)
diff options
context:
space:
mode:
authorMitchell Horne <mhorne@FreeBSD.org>2025-03-03 15:47:23 +0000
committerMitchell Horne <mhorne@FreeBSD.org>2025-03-03 16:12:15 +0000
commit04a812ae94e44982ee7f86e5de8a5caccdbc8a81 (patch)
tree84cc9c78771451718d3a3e2248b82bd220c8f3d5 /contrib/compiler-rt/lib/sanitizer_common/(public-mirror)
parent62c0997d4317390685afdd35a28396f2a6f0b2a3 (diff)
riscv/stand: pass boot hart in loader metadataHEADmain
Use the RISCV_EFI_BOOT_PROTOCOL to fetch the boot hart ID, and communicate this to the kernel via new metadata field (MODINFOMD_BOOT_HART). If the boot hart is not found this way, fall back to the (now deprecated) device-tree method. The assumption that a hart ID can be represented with a 32-bit unsigned integer is unchanged in the kernel, but from the loader we pass the full 64-bit value. This ensures that this API won't need to change in the future, should the wider value become necessary. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D48887
Diffstat (limited to 'contrib/compiler-rt/lib/sanitizer_common/(public-mirror)')
0 files changed, 0 insertions, 0 deletions