mirror of
https://github.com/reactos/reactos.git
synced 2025-01-13 01:22:03 +00:00
"fix" Ke386SaveFlags and Ke386RestoreFlags
svn path=/branches/ros-amd64-bringup/; revision=35903
This commit is contained in:
parent
89f1272447
commit
230d014774
1 changed files with 2 additions and 2 deletions
|
@ -68,8 +68,8 @@ static __inline__ __attribute__((always_inline)) void __str(unsigned short *Dest
|
|||
: /* no outputs */ \
|
||||
: "m" (X));
|
||||
|
||||
#define Ke386SaveFlags(x) __asm__ __volatile__("pushfq ; popq %0":"=g" (x): /* no input */)
|
||||
#define Ke386RestoreFlags(x) __asm__ __volatile__("pushq %0 ; popfq": /* no output */ :"g" (x):"memory")
|
||||
#define Ke386SaveFlags(x) __asm__ __volatile__("pushfq ; popq %0":"=rm" (x): /* no input */)
|
||||
#define Ke386RestoreFlags(x) __asm__ __volatile__("pushq %0 ; popfq": /* no output */ :"irm" (x):"memory")
|
||||
|
||||
#define _Ke386GetSeg(N) ({ \
|
||||
unsigned int __d; \
|
||||
|
|
Loading…
Reference in a new issue