diff options
author | Ard Biesheuvel <[email protected]> | 2023-08-07 18:27:09 +0200 |
---|---|---|
committer | Borislav Petkov (AMD) <[email protected]> | 2023-08-07 20:46:57 +0200 |
commit | 64ef578b6b6866bec012544416946533444036c8 (patch) | |
tree | e54dee903fb09b16c32a43caf8ecdc64bbf850a8 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | bd328aa01ff77a45aeffea5fc4521854291db11f (diff) |
x86/decompressor: Call trampoline directly from C code
Instead of returning to the asm calling code to invoke the trampoline,
call it straight from the C code that sets it up. That way, the struct
return type is no longer needed for returning two values, and the call
can be made conditional more cleanly in a subsequent patch.
This means that all callee save 64-bit registers need to be preserved
and restored, as their contents may not survive the legacy mode switch.
Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Acked-by: Kirill A. Shutemov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions