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
F156703318: D17781.id49839.diff
Fri, May 15, 7:12 PM
F156703316: D17781.id49907.diff
Fri, May 15, 7:12 PM
F156701890: D17781.diff
Fri, May 15, 7:00 PM
Unknown Object (File)
Sat, May 9, 5:25 AM
Unknown Object (File)
Sat, May 9, 5:20 AM
Unknown Object (File)
Apr 5 2026, 12:11 PM
Unknown Object (File)
Mar 17 2026, 3:47 AM
Unknown Object (File)
Mar 17 2026, 3:28 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