|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86_64: fix naming of rflags in elf regset structure
# HG changeset patch
# User Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
# Date 1336644174 -3600
# Node ID b059c62449fb490074d85c00aa03c38fb34a0e80
# Parent 8a86d841e6d42fbffc9e20d3028875dd4990882d
x86_64: fix naming of rflags in elf regset structure
'pushfq' pushes rflags, not eflags. Fix up naming of the structure.
No functional change.
Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Committed-by: Keir Fraser <keir@xxxxxxx>
---
diff -r 8a86d841e6d4 -r b059c62449fb xen/include/asm-x86/x86_64/elf.h
--- a/xen/include/asm-x86/x86_64/elf.h Tue May 08 13:36:24 2012 +0200
+++ b/xen/include/asm-x86/x86_64/elf.h Thu May 10 11:02:54 2012 +0100
@@ -20,7 +20,7 @@ typedef struct {
unsigned long orig_rax;
unsigned long rip;
unsigned long cs;
- unsigned long eflags;
+ unsigned long rflags;
unsigned long rsp;
unsigned long ss;
unsigned long thread_fs;
@@ -54,7 +54,7 @@ static inline void elf_core_save_regs(EL
/* orig_rax not filled in for now */
core_regs->rip = (unsigned long)elf_core_save_regs;
asm volatile("movl %%cs, %%eax;" :"=a"(core_regs->cs));
- asm volatile("pushfq; popq %0" :"=m"(core_regs->eflags));
+ asm volatile("pushfq; popq %0" :"=m"(core_regs->rflags));
asm volatile("movq %%rsp,%0" : "=m"(core_regs->rsp));
asm volatile("movl %%ss, %%eax;" :"=a"(core_regs->ss));
/* thread_fs not filled in for now */
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |