Page MenuHomeFreeBSD

arm64: Fix calculating kernel size for preload metadata
ClosedPublic

Authored by jhb on Nov 11 2025, 8:11 PM.
Tags
None
Referenced Files
F157310590: D53699.id166365.diff
Wed, May 20, 5:35 AM
Unknown Object (File)
Sat, May 16, 9:08 PM
Unknown Object (File)
Fri, May 15, 3:48 PM
Unknown Object (File)
Mon, May 11, 4:37 PM
Unknown Object (File)
Mon, May 11, 4:08 PM
Unknown Object (File)
Mon, May 11, 2:33 PM
Unknown Object (File)
Mon, May 11, 9:44 AM
Unknown Object (File)
Mon, May 11, 9:44 AM
Subscribers

Details

Summary

Cast &end to vm_offset_t before subtracting VM_MIN_KERNEL_ADDRESS to
ensure the resulting size is correct for PRELOAD_PUSH_VALUE.
Previously the correct size was effectively divided by sizeof(void *).

Obtained from: CheriBSD

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 68557
Build 65440: arc lint + arc unit