IPCCommandExample

From 3dbrew
Revision as of 14:45, 9 September 2016 by Neobrain (talk | contribs) (Created page with "=Request= {{IPC/Request}} {{#vardefine:ipc_offset|0}} {{IPC/RequestEntry|Header code [0x00040080]}} {{IPC/RequestEntry|GPU address based at 0x1EB00000, must be word-aligne...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x00040080]
1 GPU address based at 0x1EB00000, must be word-aligned
2 Size, must be <=0x80 and word-aligned

The following is located 0x100-bytes after the beginning of the above command buffer:

Index Word Description
0 Header code [0x00040080]
1 Descriptor for static buffer
2 Output buffer address

Response

Index Word Description
0 Header code
1 Result code
2 Descriptor for static buffer
3 Output data pointer

Description

The GPU register offset must be <0x420000.