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)
Sun, Apr 5, 12:11 PM
Unknown Object (File)
Tue, Mar 17, 3:47 AM
Unknown Object (File)
Tue, Mar 17, 3:28 AM
Unknown Object (File)
Feb 22 2026, 12:20 AM
Unknown Object (File)
Jan 31 2026, 10:14 AM
Unknown Object (File)
Jan 31 2026, 4:54 AM
Unknown Object (File)
Dec 11 2025, 1:22 PM
Unknown Object (File)
Dec 2 2025, 12:32 AM
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