Page MenuHomeFreeBSD

arm_smcc_1_2_*: Don't trash SP and X19 if no return value structure.
ClosedPublic

Authored by jhb on Jan 1 2023, 4:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Feb 17, 1:14 PM
Unknown Object (File)
Sun, Feb 8, 11:06 AM
Unknown Object (File)
Sat, Feb 7, 5:21 PM
Unknown Object (File)
Sat, Jan 31, 7:46 AM
Unknown Object (File)
Dec 7 2025, 11:14 AM
Unknown Object (File)
Nov 27 2025, 3:13 AM
Unknown Object (File)
Nov 26 2025, 11:10 PM
Unknown Object (File)
Nov 25 2025, 2:08 AM

Details

Summary

Jumping direct to ret was not restoring the saved value of x19 and was
also not adjusting sp to discard the two saved registers.

Sponsored by: DARPA

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 48928
Build 45817: arc lint + arc unit