Difference between revisions of "GSP Services"

From 3dbrew
Jump to navigation Jump to search
Line 18: Line 18:
 
| SetBufferSwap
 
| SetBufferSwap
 
|-
 
|-
| 0x000700c2
+
| 0x000700C2
 
| RequestDma
 
| RequestDma
 
|-
 
|-
 
| 0x00080082
 
| 0x00080082
 
| FlushDataCache
 
| FlushDataCache
 +
|-
 +
| 0x000F0200
 +
| SetMemoryFill
 
|-
 
|-
 
| 0x000B0040
 
| 0x000B0040
Line 39: Line 42:
 
| ReleaseRight
 
| ReleaseRight
 
|-
 
|-
| 0x001b0000
+
| 0x001B0000
 
| ResetGpuCore
 
| ResetGpuCore
 
|}
 
|}

Revision as of 21:43, 17 December 2012

GSP service "gsp::Gpu"

Command Header Description
0x00010082 WriteHWRegs
0x00020084 WriteHWRegsWithMask
0x00040080 ReadHWRegs
0x00050200 SetBufferSwap
0x000700C2 RequestDma
0x00080082 FlushDataCache
0x000F0200 SetMemoryFill
0x000B0040 SetLcdForceBlack
0x00120000 GetPerfLog
0x00130042 RegisterInterruptRelayQueue
0x00160042 AcquireRight (bool unk, 0, u32 processhandle)
0x00170000 ReleaseRight
0x001B0000 ResetGpuCore

WriteHWRegs Request

Index Word Description
0 Header code [0x00010082]
1 GPU Address - 0x1EB00000
2 Size
3 (Size<<14) | 2
4 Data Pointer