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
F131814145: D17781.id49839.diff
Sat, Oct 11, 9:35 AM
Unknown Object (File)
Mon, Oct 6, 6:13 AM
Unknown Object (File)
Sun, Sep 14, 5:14 AM
Unknown Object (File)
Aug 18 2025, 2:33 AM
Unknown Object (File)
Jul 29 2025, 5:30 AM
Unknown Object (File)
Jul 6 2025, 5:01 AM
Unknown Object (File)
Jun 27 2025, 6:09 PM
Unknown Object (File)
Jun 27 2025, 6:49 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