diff options
author | Simon Glass <sjg@chromium.org> | 2025-03-15 14:25:39 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-04-03 11:41:55 -0600 |
commit | ffd92a25be3feb4d9ff8393781ce65896cf9a3b6 (patch) | |
tree | e81675dc0457aeddada1dc1be8712723ac763731 /lib/tiny-printf.c | |
parent | f5b1c643b41214b0c04db827c539a278aee76255 (diff) |
x86: Use a simple jump into long mode
With the 64-bit descriptor we can use a jump instruction, rather than
pushing things on the stack.
Since the processor is in 64-bit mode by this point, pop a 64-bit value
from the stack, containing the target address.
This simplifies the code slightly, in particular its use of the stack.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/tiny-printf.c')
0 files changed, 0 insertions, 0 deletions