summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTharo <17233964+Thar0@users.noreply.github.com>2025-01-11 02:15:43 +0000
committerGitHub <noreply@github.com>2025-01-10 21:15:43 -0500
commit8d213e61cf8673f29eacf4dfb1cba893856103ae (patch)
tree58fa534d9c1b3d0d05529084cf12a84d16e04152 /include
parentb19b06a5314124824a01573c80addda3f82f7585 (diff)
[iQue] Match PI-related files in libultra/io (#2408)
* [iQue] Match PI-related files in libultra/io, set correct thread ID for vimgr * Create a define for the hardcoded address in devmgr.c * Fix BSS
Diffstat (limited to 'include')
-rw-r--r--include/ultra64/bcp.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/ultra64/bcp.h b/include/ultra64/bcp.h
index 78c4584fe..f66fee2f0 100644
--- a/include/ultra64/bcp.h
+++ b/include/ultra64/bcp.h
@@ -191,6 +191,16 @@
#define PI_NAND_CTRL_REG (PI_BASE_REG + 0x48)
/**
+ * PI internal buffer DMA read length. Writes initiate a DMA from RDRAM to the PI buffer.
+ */
+#define PI_EX_RD_LEN_REG (PI_BASE_REG + 0x58)
+
+/**
+ * PI internal buffer DMA write length. Writes initiate a DMA from the PI buffer to RDRAM.
+ */
+#define PI_EX_WR_LEN_REG (PI_BASE_REG + 0x5C)
+
+/**
* [31:16] Box ID
* [31:30] Hardware Revision? (osInitialize checks this and sets __osBbIsBb to 2 if != 0)
* [29:27] ?? (not seen)