#include <PR/gbi.h>
#include <PR/abi.h>
Go to the source code of this file.
◆ _SHIFT
#define _SHIFT _SHIFTL /* old, for compatibility only */ |
◆ _SHIFTL
#define _SHIFTL |
( |
| v, |
|
|
| s, |
|
|
| w ) ((unsigned int) (((unsigned int) (v) & ((0x01 << (w)) - 1)) << (s))) |
◆ _SHIFTR
#define _SHIFTR |
( |
| v, |
|
|
| s, |
|
|
| w ) ((unsigned int) (((unsigned int) (v) >> (s)) & ((0x01 << (w)) - 1))) |
◆ G_OFF
◆ G_ON
◆ M_AUDTASK
◆ M_GFXTASK
◆ M_HVQMTASK
◆ M_HVQTASK
◆ M_VIDTASK
◆ NULL
◆ NUM_SEGMENTS
#define NUM_SEGMENTS (16) |
◆ SEGMENT_ADDR
#define SEGMENT_ADDR |
( |
| num, |
|
|
| off ) (((num) << 24) + (off)) |
◆ SEGMENT_NUMBER
#define SEGMENT_NUMBER |
( |
| a | ) |
(((unsigned int) (a) << 4) >> 28) |
◆ SEGMENT_NUMBER2
#define SEGMENT_NUMBER2 |
( |
| a | ) |
((unsigned int) (a) >> 24) |
◆ SEGMENT_OFFSET
#define SEGMENT_OFFSET |
( |
| a | ) |
((unsigned int) (a) & 0x00ffffff) |