Changes

Jump to navigation Jump to search
654 bytes added ,  01:39, 27 November 2018
Line 543: Line 543:     
==== SubmitOutRequest ====
 
==== SubmitOutRequest ====
Takes an type-0x5 input buffer, an u32, and an u32 '''size'''. Returns an output u32.
+
Takes an type-0x5 input buffer, an u32 '''size''', and an u32 '''unk'''. Returns an output u32 for the actual transferred size.
 +
 
 +
Official user-processes uses a buffer where the buffer address/size is page-aligned, where '''size''' is the original size before alignment. The user-process also flushes dcache for this buffer using '''size''', before using this command. Official sw passes value 0 for '''unk'''.
    
==== SubmitInRequest ====
 
==== SubmitInRequest ====
Takes an type-0x6 output buffer, an u32, and an u32 '''size'''. Returns an output u32.
+
Takes an type-0x6 output buffer, an u32 '''size''', and an u32 '''unk'''. Returns an output u32 for the actual transferred size.
 +
 
 +
Official user-processes uses a buffer where the buffer address/size is page-aligned, where '''size''' is the original size before alignment. The user-process also flushes dcache for this buffer using '''size''', before/after using this command. Official sw passes value 0 for '''unk'''.
    
==== Open ====
 
==== Open ====

Navigation menu