You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regarding inter-SM function calls, sancus-cc currently only supports up to four 16-bit arguments to be passed in CPU registers. As such, we do not support inter-SM calls that involve spilling function arguments on the callee's call stack.
In case an SM calls the unprotected domain (e.g., printf), however, the compiler should be able to generate code that spills arguments on the unprotected call stack (i.e., using __unprotected_sp).
The text was updated successfully, but these errors were encountered:
Regarding inter-SM function calls,
sancus-cc
currently only supports up to four 16-bit arguments to be passed in CPU registers. As such, we do not support inter-SM calls that involve spilling function arguments on the callee's call stack.In case an SM calls the unprotected domain (e.g.,
printf
), however, the compiler should be able to generate code that spills arguments on the unprotected call stack (i.e., using__unprotected_sp
).The text was updated successfully, but these errors were encountered: