Changes

241 bytes added ,  05:40, 1 September 2017
Line 122: Line 122:  
|-
 
|-
 
| ... || Padding
 
| ... || Padding
 +
|-
 +
| ... || Buffer type 0xA lengths (u16 array)
 
|}
 
|}
   −
The total amount of padding within the raw data section is always 0x10 bytes. This means that if no padding is required before the message, there will be 0x10 bytes of padding after the message (before the C descriptors). The length of the message can be calculated as the length of the raw data section - 0x10 bytes,
+
The total amount of padding within the raw data section is always 0x10 bytes. This means that if no padding is required before the message, there will be 0x10 bytes of padding after the message (before the buffer type 0xA lengths).
 +
 
 +
[[File:Ipc msg buffer type a example.png|thumb|An example of an IPC message with a type 0xA buffer in it. Red is headers/descriptors, yellow is padding, and blue is data/buffer lengths. Note that the size of the u16 array for type A lengths is padded to fill up a whole word.]]
    
=== Domain message ===
 
=== Domain message ===
117

edits