Page MenuHomeFreeBSD

Don't pass error from syscallenter() to syscallret().
ClosedPublic

Authored by jhb on Jul 10 2019, 6:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 20 2024, 11:54 AM
Unknown Object (File)
Jan 8 2024, 11:39 PM
Unknown Object (File)
Dec 15 2023, 12:43 AM
Unknown Object (File)
Nov 30 2023, 5:47 AM
Unknown Object (File)
Sep 4 2023, 1:07 AM
Unknown Object (File)
Jun 27 2023, 6:54 PM
Unknown Object (File)
Jun 20 2023, 4:11 AM
Unknown Object (File)
Jun 15 2023, 7:16 PM

Details

Summary

syscallret() doesn't use error anymore. Fix a few other places to permit
removing the return value from syscallenter() entirely.

  • Remove a duplicated assertion from arm's syscall().
  • Use td_errno for amd64_syscall_ret_flush_l1d.
Test Plan
  • compiled amd64 and i386, still need to do a full tinderbox

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 25283
Build 23948: arc lint + arc unit