commit | 355dae23fb3d04c3025b0f268a54c70e03aec296 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Mar 15 14:25:39 2025 +0000 |
committer | Tom Rini <trini@konsulko.com> | Thu Apr 03 11:41:55 2025 -0600 |
tree | e81675dc0457aeddada1dc1be8712723ac763731 | |
parent | e00a033fa9477bd327b5995446e347640ea2dc69 [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>