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
F132271261: D37922.diff
Wed, Oct 15, 9:25 AM
Unknown Object (File)
Tue, Oct 14, 2:12 AM
Unknown Object (File)
Sun, Oct 12, 2:43 AM
Unknown Object (File)
Sun, Oct 12, 2:43 AM
Unknown Object (File)
Sun, Oct 12, 2:43 AM
Unknown Object (File)
Sat, Oct 11, 4:59 PM
Unknown Object (File)
Mon, Oct 6, 4:13 AM
Unknown Object (File)
Mon, Oct 6, 3:55 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 Not Applicable
Unit
Tests Not Applicable