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)
Tue, Dec 2, 12:32 AM
Unknown Object (File)
Wed, Nov 19, 7:16 AM
Unknown Object (File)
Tue, Nov 18, 10:12 AM
Unknown Object (File)
Tue, Nov 18, 9:59 AM
Unknown Object (File)
Sun, Nov 9, 11:12 PM
Unknown Object (File)
Nov 6 2025, 1:19 AM
Unknown Object (File)
Nov 4 2025, 11:54 PM
Unknown Object (File)
Oct 22 2025, 4:35 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