diff options
| author | Ard Biesheuvel <[email protected]> | 2023-08-07 18:27:04 +0200 |
|---|---|---|
| committer | Borislav Petkov (AMD) <[email protected]> | 2023-08-07 20:41:04 +0200 |
| commit | 8b63cba746f86a754d66e302c43209cc9b9b6e39 (patch) | |
| tree | 62f16d7fea57b63d048c80b505333bc2621aaa91 /lib/crypto/mpi/mpi-cmp.c | |
| parent | d7156b986d4cc0657fa6dc05c9fcf51c3d55a0fe (diff) | |
x86/decompressor: Store boot_params pointer in callee save register
Instead of pushing and popping %RSI several times to preserve the struct
boot_params pointer across the execution of the startup code, move it
into a callee save register before the first call into C, and copy it
back when needed.
Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions