Changes

Jump to navigation Jump to search
73 bytes added ,  05:10, 30 March 2018
→‎PostBufferAsync: Add note about caching
Line 307: Line 307:  
Takes an u32 ('''size''') and an u64 ('''buffer'''). Returns an output u32 ('''urbId'''). The output urbId can then be used while parsing the output of [[#GetReportData]], after waiting for the CompletionEvent to be signalled.
 
Takes an u32 ('''size''') and an u64 ('''buffer'''). Returns an output u32 ('''urbId'''). The output urbId can then be used while parsing the output of [[#GetReportData]], after waiting for the CompletionEvent to be signalled.
   −
The buffer address must be 0x1000-byte aligned. The input size doesn't matter.
+
The buffer address must be 0x1000-byte aligned. The input size doesn't matter. It helps to use svcSetMemoryAttribute to turn off caching on the buffer.
    
Used for data-transfer with input/output endpoints.
 
Used for data-transfer with input/output endpoints.
117

edits

Navigation menu