diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-01-30 07:30:56 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:30:56 -0500 |
commit | 742fa54a62be6a263df14a553bf832724471dfbe (patch) | |
tree | 991589593b078eb2ede035f511e4b85b11b95a9c /include/asm-x86/sigcontext.h | |
parent | 153d5f2e5787c74e9cbb6b6687c9b04be1b59893 (diff) |
x86: use generic register names in struct sigcontext
Switch struct sigcontext (defined in <asm/sigcontext*.h>) to using
register names withut e- or r-prefixes for both 32- and 64-bit x86.
This is intended as a preliminary step in unifying this code between
architectures.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/sigcontext.h')
-rw-r--r-- | include/asm-x86/sigcontext.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/include/asm-x86/sigcontext.h b/include/asm-x86/sigcontext.h index c047f9dc3423..681deade5f00 100644 --- a/include/asm-x86/sigcontext.h +++ b/include/asm-x86/sigcontext.h | |||
@@ -63,20 +63,20 @@ struct sigcontext { | |||
63 | unsigned short fs, __fsh; | 63 | unsigned short fs, __fsh; |
64 | unsigned short es, __esh; | 64 | unsigned short es, __esh; |
65 | unsigned short ds, __dsh; | 65 | unsigned short ds, __dsh; |
66 | unsigned long edi; | 66 | unsigned long di; |
67 | unsigned long esi; | 67 | unsigned long si; |
68 | unsigned long ebp; | 68 | unsigned long bp; |
69 | unsigned long esp; | 69 | unsigned long sp; |
70 | unsigned long ebx; | 70 | unsigned long bx; |
71 | unsigned long edx; | 71 | unsigned long dx; |
72 | unsigned long ecx; | 72 | unsigned long cx; |
73 | unsigned long eax; | 73 | unsigned long ax; |
74 | unsigned long trapno; | 74 | unsigned long trapno; |
75 | unsigned long err; | 75 | unsigned long err; |
76 | unsigned long eip; | 76 | unsigned long ip; |
77 | unsigned short cs, __csh; | 77 | unsigned short cs, __csh; |
78 | unsigned long eflags; | 78 | unsigned long flags; |
79 | unsigned long esp_at_signal; | 79 | unsigned long sp_at_signal; |
80 | unsigned short ss, __ssh; | 80 | unsigned short ss, __ssh; |
81 | struct _fpstate __user * fpstate; | 81 | struct _fpstate __user * fpstate; |
82 | unsigned long oldmask; | 82 | unsigned long oldmask; |
@@ -111,16 +111,16 @@ struct sigcontext { | |||
111 | unsigned long r13; | 111 | unsigned long r13; |
112 | unsigned long r14; | 112 | unsigned long r14; |
113 | unsigned long r15; | 113 | unsigned long r15; |
114 | unsigned long rdi; | 114 | unsigned long di; |
115 | unsigned long rsi; | 115 | unsigned long si; |
116 | unsigned long rbp; | 116 | unsigned long bp; |
117 | unsigned long rbx; | 117 | unsigned long bx; |
118 | unsigned long rdx; | 118 | unsigned long dx; |
119 | unsigned long rax; | 119 | unsigned long ax; |
120 | unsigned long rcx; | 120 | unsigned long cx; |
121 | unsigned long rsp; | 121 | unsigned long sp; |
122 | unsigned long rip; | 122 | unsigned long ip; |
123 | unsigned long eflags; /* RFLAGS */ | 123 | unsigned long flags; |
124 | unsigned short cs; | 124 | unsigned short cs; |
125 | unsigned short gs; | 125 | unsigned short gs; |
126 | unsigned short fs; | 126 | unsigned short fs; |