Barrelfish
Macros | Enumerations
x86.h File Reference

X86 inline asm utilities and defines. More...

Macros

#define USER_RFLAGS   (RFLAGS_ALWAYS1 | RFLAGS_IF)
 
#define USER_RFLAGS_MASK
 
#define START_KERNEL_PHYS   K1OM_START_KERNEL_PHYS
 

Enumerations

Detailed Description

X86 inline asm utilities and defines.

Macro Definition Documentation

#define START_KERNEL_PHYS   K1OM_START_KERNEL_PHYS

Start address of kernel image in physical memory. This is passed to the linker also. The bootloader will load us there.

#define USER_RFLAGS   (RFLAGS_ALWAYS1 | RFLAGS_IF)

State of RFLAGS when executing a user-space program: Enable interrupts

#define USER_RFLAGS_MASK
Value:
(RFLAGS_CF | RFLAGS_PF | RFLAGS_AF | RFLAGS_ZF | RFLAGS_SF | RFLAGS_DF | \
RFLAGS_OF)

Allowed RFLAGS in user-space. Used when resuming programs.

Enumeration Type Documentation

Registers automatically saved on kernel stack by CPU