GSP Shared Memory: Difference between revisions

Created page with "This page describes the GX commands which can be written to GSP shared memory. After writing the command data to GSP shared memory, [[GSPGP..."
 
Line 50: Line 50:
| 0
| 0
| u8 CommandID is 0x00
| u8 CommandID is 0x00
|-
| 1
| Source address
|-
| 2
| Destination address
|-
| 3
| Size
|}
|}


Line 102: Line 111:
| 0
| 0
| u8 CommandID is 0x05
| u8 CommandID is 0x05
|-
| 1
| Buf0 address
|-
| 2
| Buf0 size
|-
| 3
| Buf1 address
|-
| 4
| Buf1 size
|-
| 5
| Buf2 address
|-
| 6
| Buf2 size
|}
|}


The application buffer addresses specified in the parameters are used with [[SVC|svcFlushProcessDataCache]].
The application buffer addresses specified in the parameters are used with [[SVC|svcFlushProcessDataCache]]. The input buf0 size must not be zero. When buf1 size is zero, svcFlushProcessDataCache() for buf1 and buf2 are skipped. When buf2 size is zero, svcFlushProcessDataCache() for buf2 is skipped.