SOCU:poll

From 3dbrew
Revision as of 03:11, 1 May 2014 by Yellows8 (talk | contribs) (Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00140084] |- | 1 | nfds_t nfds |- | 2 | int timeout |- | 3 | Value 0x20 (process...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x00140084]
1 nfds_t nfds
2 int timeout
3 Value 0x20 (processID header)
4 ProcessID set by the ARM11 kernel.
5 (insize<<14) | 0x2802
6 Input fds struct ptr

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

Index Word Description
0 (outsize<<14) | 2
1 Output fds struct ptr

Response

Index Word Description
0 Header code
1 Result code
2 POSIX return value