]> 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:37:44 +0000 (16:37 +0000)
commite7a37b9b2c86a17869a201955038d33f23f33b57
treed2e0766e80f730423ccc0a5b4e087022b6400ac5
parent2484803074fc1f93942912a82e4906f9e441bf4e
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