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
F157069044: D17781.id49907.diff
Mon, May 18, 6:22 AM
F157068070: D17781.id49907.diff
Mon, May 18, 6:16 AM
Unknown Object (File)
Fri, May 15, 7:12 PM
Unknown Object (File)
Fri, May 15, 7:12 PM
Unknown Object (File)
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
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

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 20540
Build 19965: arc lint + arc unit