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
F144439260: D37922.id116232.diff
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
Unknown Object (File)
Nov 22 2025, 12:43 PM

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 Not Applicable
Unit
Tests Not Applicable