Changes

796 bytes added ,  22:19, 12 February 2017
Created page with "=Request= {{IPC/Request}} {{#vardefine:ipc_offset|0}} {{IPC/RequestEntry|Header code [0x00080040]}} {{IPC/RequestEntry|s32 size}} {{IPC/RequestEnd}} {{IPC/RequestStaticBuffer..."
=Request=
{{IPC/Request}}
{{#vardefine:ipc_offset|0}}
{{IPC/RequestEntry|Header code [0x00080040]}}
{{IPC/RequestEntry|s32 size}}
{{IPC/RequestEnd}}

{{IPC/RequestStaticBuffers}}
{{#vardefine:ipc_offset|0}}
{{IPC/TranslateStaticBuffer|Output buffer address|0}}
{{IPC/RequestEnd}}

=Response=
{{IPC/Request}}
{{#vardefine:ipc_offset|0}}
{{IPC/RequestEntry|Header code}}
{{IPC/RequestEntry|Result code}}
{{IPC/TranslateStaticBuffer|Output data pointer|0}}
{{IPC/RequestEnd}}

=Description=
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.