UbixOS  2.0
cpu.h File Reference
#include <sys/types.h>
Include dependency graph for cpu.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PSL_AC   0x00040000 /* alignment checking */
 
#define PSL_AF   0x00000010 /* bcd carry bit */
 
#define PSL_C   0x00000001 /* carry bit */
 
#define PSL_D   0x00000400 /* string instruction direction bit */
 
#define PSL_I   0x00000200 /* interrupt enable bit */
 
#define PSL_ID   0x00200000 /* identification bit */
 
#define PSL_IOPL   0x00003000 /* i/o privilege level */
 
#define PSL_N   0x00000080 /* negative bit */
 
#define PSL_NT   0x00004000 /* nested task bit */
 
#define PSL_PF   0x00000004 /* parity bit */
 
#define PSL_RF   0x00010000 /* resume flag bit */
 
#define PSL_T   0x00000100 /* trace enable bit */
 
#define PSL_V   0x00000800 /* overflow bit */
 
#define PSL_VIF   0x00080000 /* virtual interrupt enable */
 
#define PSL_VIP   0x00100000 /* virtual interrupt pending */
 
#define PSL_VM   0x00020000 /* virtual 8086 mode bit */
 
#define PSL_Z   0x00000040 /* zero bit */
 

Macro Definition Documentation

◆ PSL_AC

#define PSL_AC   0x00040000 /* alignment checking */

Definition at line 50 of file cpu.h.

◆ PSL_AF

#define PSL_AF   0x00000010 /* bcd carry bit */

Definition at line 39 of file cpu.h.

◆ PSL_C

#define PSL_C   0x00000001 /* carry bit */

Definition at line 37 of file cpu.h.

◆ PSL_D

#define PSL_D   0x00000400 /* string instruction direction bit */

Definition at line 44 of file cpu.h.

◆ PSL_I

#define PSL_I   0x00000200 /* interrupt enable bit */

Definition at line 43 of file cpu.h.

◆ PSL_ID

#define PSL_ID   0x00200000 /* identification bit */

Definition at line 53 of file cpu.h.

◆ PSL_IOPL

#define PSL_IOPL   0x00003000 /* i/o privilege level */

Definition at line 46 of file cpu.h.

◆ PSL_N

#define PSL_N   0x00000080 /* negative bit */

Definition at line 41 of file cpu.h.

◆ PSL_NT

#define PSL_NT   0x00004000 /* nested task bit */

Definition at line 47 of file cpu.h.

◆ PSL_PF

#define PSL_PF   0x00000004 /* parity bit */

Definition at line 38 of file cpu.h.

◆ PSL_RF

#define PSL_RF   0x00010000 /* resume flag bit */

Definition at line 48 of file cpu.h.

◆ PSL_T

#define PSL_T   0x00000100 /* trace enable bit */

Definition at line 42 of file cpu.h.

◆ PSL_V

#define PSL_V   0x00000800 /* overflow bit */

Definition at line 45 of file cpu.h.

◆ PSL_VIF

#define PSL_VIF   0x00080000 /* virtual interrupt enable */

Definition at line 51 of file cpu.h.

◆ PSL_VIP

#define PSL_VIP   0x00100000 /* virtual interrupt pending */

Definition at line 52 of file cpu.h.

◆ PSL_VM

#define PSL_VM   0x00020000 /* virtual 8086 mode bit */

Definition at line 49 of file cpu.h.

◆ PSL_Z

#define PSL_Z   0x00000040 /* zero bit */

Definition at line 40 of file cpu.h.