MentOS  0.8.0
The Mentoring Operating System
Typedefs | Enumerations
types.h File Reference

Collection of Kernel datatype. More...

Go to the source code of this file.

Typedefs

typedef signed int pid_t
 The type of process id.
 
typedef unsigned int user_t
 The type of process user variable.
 
typedef unsigned int status_t
 The type of process status.
 
typedef int key_t
 Type for system keys.
 
typedef enum eflags_list eflags_list
 Defines the list of flags of a process.
 

Enumerations

enum  eflags_list {
  EFLAG_CF = (1 << 0) , EFLAG_PF = (1 << 2) , EFLAG_AF = (1 << 4) , EFLAG_ZF = (1 << 6) ,
  EFLAG_SF = (1 << 7) , EFLAG_TF = (1 << 8) , EFLAG_IF = (1 << 9) , EFLAG_DF = (1 << 10) ,
  EFLAG_OF = (1 << 11) , EFLAG_NT = (1 << 14) , EFLAG_RF = (1 << 16) , EFLAG_VM = (1 << 17) ,
  EFLAG_AC = (1 << 18) , EFLAG_VIF = (1 << 19) , EFLAG_VIP = (1 << 20) , EFLAG_ID = (1 << 21) ,
  EFLAG_CF = (1 << 0) , EFLAG_PF = (1 << 2) , EFLAG_AF = (1 << 4) , EFLAG_ZF = (1 << 6) ,
  EFLAG_SF = (1 << 7) , EFLAG_TF = (1 << 8) , EFLAG_IF = (1 << 9) , EFLAG_DF = (1 << 10) ,
  EFLAG_OF = (1 << 11) , EFLAG_NT = (1 << 14) , EFLAG_RF = (1 << 16) , EFLAG_VM = (1 << 17) ,
  EFLAG_AC = (1 << 18) , EFLAG_VIF = (1 << 19) , EFLAG_VIP = (1 << 20) , EFLAG_ID = (1 << 21)
}
 Defines the list of flags of a process. More...
 

Detailed Description

Collection of Kernel datatype.

Enumeration Type Documentation

◆ eflags_list

Defines the list of flags of a process.

Enumerator
EFLAG_CF 

Carry flag.

EFLAG_PF 

Parity flag.

EFLAG_AF 

Auxiliary carry flag.

EFLAG_ZF 

Zero flag.

EFLAG_SF 

Sign flag.

EFLAG_TF 

Trap flag.

EFLAG_IF 

Interrupt enable flag.

EFLAG_DF 

Direction flag.

EFLAG_OF 

Overflow flag.

EFLAG_NT 

Nested task flag.

EFLAG_RF 

Resume flag.

EFLAG_VM 

Virtual 8086 mode flag.

EFLAG_AC 

Alignment check flag (486+).

EFLAG_VIF 

Virutal interrupt flag.

EFLAG_VIP 

Virtual interrupt pending flag.

EFLAG_ID 

ID flag.

EFLAG_CF 

Carry flag.

EFLAG_PF 

Parity flag.

EFLAG_AF 

Auxiliary carry flag.

EFLAG_ZF 

Zero flag.

EFLAG_SF 

Sign flag.

EFLAG_TF 

Trap flag.

EFLAG_IF 

Interrupt enable flag.

EFLAG_DF 

Direction flag.

EFLAG_OF 

Overflow flag.

EFLAG_NT 

Nested task flag.

EFLAG_RF 

Resume flag.

EFLAG_VM 

Virtual 8086 mode flag.

EFLAG_AC 

Alignment check flag (486+).

EFLAG_VIF 

Virutal interrupt flag.

EFLAG_VIP 

Virtual interrupt pending flag.

EFLAG_ID 

ID flag.