Difference between revisions of "NWMSOC:GetMACAddress"
Jump to navigation
Jump to search
(Created page with "=Request= {{IPC/Request}} {{#vardefine:ipc_offset|0}} {{IPC/RequestEntry|Header code [0x00080040]}} {{IPC/RequestEntry|s32 size}} {{IPC/RequestEnd}} {{IPC/RequestStaticBuffer...") |
(No difference)
|
Latest revision as of 22:19, 12 February 2017
Request[edit]
Index Word | Description |
---|---|
0 | Header code [0x00080040] |
1 | s32 size |
The handler for this IPC command expects the following 0x100-bytes after the beginning of the above command buffer:
Index Word | Description
|
---|---|
0 | Descriptor for static buffer (id 0) |
1 | Output buffer address |
Response[edit]
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
2 | Descriptor for static buffer (id 0) |
3 | Output data pointer |
Description[edit]
Uses size=6 internally unless the input is <=6. Uses an ipc static_buffer(static_buf_id=0) for output with the specified size. The size is not used afterwards except for writing the static_buf translate-hdr to the cmdreply. This just copies 6-bytes from state(system MAC address) to the outbuf and returns 0.