Page MenuHomeFreeBSD

SBI calls expect a pointer to a u_long rather than a pointer.
ClosedPublic

Authored by jhb on Oct 31 2018, 6:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 11, 1:22 PM
Unknown Object (File)
Dec 2 2025, 12:32 AM
Unknown Object (File)
Nov 19 2025, 7:16 AM
Unknown Object (File)
Nov 18 2025, 10:12 AM
Unknown Object (File)
Nov 18 2025, 9:59 AM
Unknown Object (File)
Nov 9 2025, 11:12 PM
Unknown Object (File)
Nov 6 2025, 1:19 AM
Unknown Object (File)
Nov 4 2025, 11:54 PM
Subscribers

Details

Summary

This is just cosmetic.

A weirder issue is that the SBI doc claims the hart mask pointer should
be a physical address, not a virtual address. However, the implementation
in bbl seems to just dereference the address directly.

Test Plan
  • booted SMP under qemu

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable