POK(kernelpart)
psr.h File Reference

Processor State Register utils. More...

Go to the source code of this file.

Macros

#define PSR_ET   0x20
#define PSR_PS   0x40
#define PSR_S   0x80
#define PSR_CWP_MASK   0x1F
#define PSR_PIL(pil)   (((pil) & 0xF) << 8)

Detailed Description

Processor State Register utils.

Author:
Fabien Chouteau

Definition in file psr.h.


Macro Definition Documentation

#define PSR_CWP_MASK   0x1F

Current Window Pointer Mask

Definition at line 29 of file psr.h.

#define PSR_ET   0x20

enable traps

Definition at line 26 of file psr.h.

#define PSR_PIL (   pil)    (((pil) & 0xF) << 8)

Proc Interrupt Level

Definition at line 30 of file psr.h.

#define PSR_PS   0x40

previous supervisor

Definition at line 27 of file psr.h.

#define PSR_S   0x80

supervisor

Definition at line 28 of file psr.h.