Showing changes from revision #0 to #1:
Added | Removed | Changed
Entry | |
---|---|
R0 | Pointer to input buffer |
R1 | Pointer to output buffer |
R2 | Flags (reserved, should be zero) |
Exit | |
---|---|
All registers preserved |
This is a simplified version of BCMSupport_SendPropertyBuffer that does not require the caller to preallocate a physically contiguous buffer. Instead, ordinary RAM can be used for the input and output. BCMSupport will take care of copying the input to a temporary buffer, sending the message, and then copying the output to your output buffer. In most cases a pre-allocated temporary buffer will be used, but if the tag sequence is too long or all the preallocated buffers are in use then an attempt will be made to (temporarily) allocate a new buffer from the heap.
There is no async option with this call, and it will always block until there is enough mailbox space available.
The input and output buffer pointers must be at least 4 byte aligned. The same buffer can be used for both input and output.