diff options
author | Sean Anderson <sean.anderson@seco.com> | 2022-08-30 16:32:27 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-08-31 12:21:47 -0400 |
commit | f4b540e25c5c63fd55a80c78a22b2f69ecb848f8 (patch) | |
tree | 682c915d732c07d017a00278ae76fdea6f00b003 /include/tpm_api.h | |
parent | 1a4af2d9507b54ccf91d5616d5544915f695e64d (diff) |
arm: smh: Fix uninitialized parameters with newer GCCs
Newer versions of GCC won't initialize parts of structures which don't
appear to be used. This results in uninitialized semihosting parameters
passed via R1. Fix this by marking the inline assembly as clobbering
memory.
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Diffstat (limited to 'include/tpm_api.h')
0 files changed, 0 insertions, 0 deletions