Files
src/stand
Mitchell Horne 04a812ae94 riscv/stand: pass boot hart in loader metadata
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
2025-03-03 12:12:15 -04:00
..
2025-01-27 15:03:10 -05:00
2023-11-07 09:57:32 -05:00
2023-08-16 11:55:03 -06:00
2023-08-16 11:55:03 -06:00
2024-11-12 22:01:24 -07:00