x86/entry: Trivial nonfunctional fixes
PATCH 1/1 x86/entry: Trivial nonfunctional fixes
* Drop unnecessary size suffixes
* The C pseudocode refers to a trap_info object, not trap_bounce.
Signed-off-by Andrew Cooper <[email protected]>
---
CC: Jan Beulich <[email protected]>
--- xen/arch/x86/x86_64/entry.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
xen/arch/x86/x86_64/entry.S +3 -3
@@ -353,7 +353,7 @@ UNLIKELY_END(msi_check) mov VCPU_domain(%rbx), %rax /* - * if ( null_trap_bounce(v, &v->arch.pv_vcpu.trap_ctxt[0x80]) ) + * if ( null_trap_info(v, &v->arch.pv_vcpu.trap_ctxt[0x80]) ) * goto int80_slow_path; */ mov 0x80 * TRAPINFO_sizeof + TRAPINFO_eip(%rsi), %rdi
@@ -370,8 +370,8 @@ UNLIKELY_END(msi_check) /* Construct trap_bounce from trap_ctxt[0x80]. */ lea VCPU_trap_bounce(%rbx), %rdx - movw %cx, TRAPBOUNCE_cs(%rdx) - movq %rdi, TRAPBOUNCE_eip(%rdx) + mov %cx, TRAPBOUNCE_cs(%rdx) + mov %rdi, TRAPBOUNCE_eip(%rdx) /* TB_flags = (TI_GET_IF(ti) ? TBF_INTERRUPT : 0); */ testb $4, 0x80 * TRAPINFO_sizeof + TRAPINFO_flags(%rsi)
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 5 lines
Quoted 1 line
Quoted 1 line · On 14.03.18 at 12:55, <[email protected]> wrote:
* Drop unnecessary size suffixes
* The C pseudocode refers to atrap_infoobject, nottrap_bounce.Signed-off-by Andrew Cooper <[email protected]>
Reviewed-by Jan Beulich <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel