Go to the source code of this file.
|
| #define | cli() __asm__ __volatile__ ("cli": : :"memory") |
| |
| #define | nop() __asm__ __volatile__ ("nop") |
| |
| #define | restore_flags(x) __asm__ __volatile__("pushl %0 ; popfl": /* no output */ :"r" (x):"memory") |
| |
| #define | save_flags(x) __asm__ __volatile__("pushfl ; popl %0":"=r" (x): /* no input */ :"memory") |
| |
| #define | sti() __asm__ __volatile__ ("sti": : :"memory") |
| |
◆ cli
| #define cli |
( |
| ) |
__asm__ __volatile__ ("cli": : :"memory") |
◆ nop
| #define nop |
( |
| ) |
__asm__ __volatile__ ("nop") |
◆ restore_flags
| #define restore_flags |
( |
|
x | ) |
__asm__ __volatile__("pushl %0 ; popfl": /* no output */ :"r" (x):"memory") |
◆ save_flags
| #define save_flags |
( |
|
x | ) |
__asm__ __volatile__("pushfl ; popl %0":"=r" (x): /* no input */ :"memory") |
◆ sti
| #define sti |
( |
| ) |
__asm__ __volatile__ ("sti": : :"memory") |