Displaying 3 results from an estimated 3 matches for "eflags_if".
Did you mean:
eflags_cf
2007 Apr 18
2
[PATCH] Define EFLAGS_IF
There is now more than one place where we use the fact that bit 9 of
eflags is the interrupt-enabled flag, so define EFLAGS_IF. We make it
512 so it can be used in asm, too.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
--- a/arch/i386/lguest/lguest.c
+++ b/arch/i386/lguest/lguest.c
@@ -107,9 +107,8 @@ static void fastcall irq_disable(void)
static void fastcall irq_enable(void)
{
- /* Linux i386 code ex...
2007 Apr 18
2
[PATCH] Define EFLAGS_IF
There is now more than one place where we use the fact that bit 9 of
eflags is the interrupt-enabled flag, so define EFLAGS_IF. We make it
512 so it can be used in asm, too.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
--- a/arch/i386/lguest/lguest.c
+++ b/arch/i386/lguest/lguest.c
@@ -107,9 +107,8 @@ static void fastcall irq_disable(void)
static void fastcall irq_enable(void)
{
- /* Linux i386 code ex...
2007 Apr 18
3
explicit saves vs clobbers in paravirt.h
In your sequences in asm/paravirt.h, you explicitly save the caller-save
regs:
static inline void raw_local_irq_restore(unsigned long f)
{
__asm__ __volatile__(paravirt_alt("pushl %%ecx; pushl %%edx\n\t"
"pushl %1; call *%0\n\t"
"popl %1; popl %%edx; popl %%ecx",
PARAVIRT_RESTORE_FLAGS)
: : "m" (paravirt_ops.restore_fl),