Direct PVR register and memory access
More...
|
| #define | PVR_GET(REG) (* ( (vuint32*)( 0xa05f8000 + (REG) ) ) ) |
| | Retrieve a PVR register value.
|
| |
| #define | PVR_SET(REG, VALUE) PVR_GET(REG) = (VALUE) |
| | Set a PVR register value.
|
| |
Direct PVR register and memory access
◆ PVR_GET
| #define PVR_GET |
( |
| REG | ) |
(* ( (vuint32*)( 0xa05f8000 + (REG) ) ) ) |
Retrieve a PVR register value.
- Parameters
-
| REG | The register to fetch. See Offsets. |
- Returns
- The value of that register (32-bits)
◆ PVR_SET
| #define PVR_SET |
( |
| REG, |
|
|
| VALUE ) PVR_GET(REG) = (VALUE) |
Set a PVR register value.
- Parameters
-
| REG | The register to set. See Offsets. |
| VALUE | The value to set in the register (32-bits) |
Referenced by pvr_set_pal_entry().