]> xenbits.xensource.com Git - xen.git/commit
x86emul: correct stub invocation constraints
authorJan Beulich <jbeulich@suse.com>
Wed, 26 Apr 2017 07:49:24 +0000 (09:49 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 26 Apr 2017 07:49:24 +0000 (09:49 +0200)
commitcd91ab08eaa23409440ef6b4f5ad6e651b629c3b
tree5bcd3131a2b03340f3d8c2d6eecbc48949df33f0
parent144aec4140515c53bb1676df71a469f3e285c557
x86emul: correct stub invocation constraints

Stub invocations need to have the space the stub occupies as an input,
to prevent the compiler from re-ordering (or omitting) writes to it.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Julien Grall <julien.grall@arm.com>
xen/arch/x86/x86_emulate/x86_emulate.c