]> xenbits.xensource.com Git - xen.git/commit
x86/entry: Introduce EFRAME_* constants
authorAndrew Cooper <andrew.cooper3@citrix.com>
Sat, 27 Jan 2024 17:52:09 +0000 (17:52 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 12 Mar 2024 16:13:03 +0000 (16:13 +0000)
commite691f99f17198906f813b85dcabafe5addb9a57a
treef89067efc1354159b67672ea1cea8526a651fd6f
parent1f94117bec55a7b934fed3dfd3529db624eb441f
x86/entry: Introduce EFRAME_* constants

restore_all_guest() does a lot of manipulation of the stack after popping the
GPRs, and uses raw %rsp displacements to do so.  Also, almost all entrypaths
use raw %rsp displacements prior to pushing GPRs.

Provide better mnemonics, to aid readability and reduce the chance of errors
when editing.

No functional change.  The resulting binary is identical.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
(cherry picked from commit 37541208f119a9c552c6c6c3246ea61be0d44035)
xen/arch/x86/x86_64/asm-offsets.c
xen/arch/x86/x86_64/compat/entry.S
xen/arch/x86/x86_64/entry.S