237 |
/* Store pointer to port structure in place for port name. */ |
/* Store pointer to port structure in place for port name. */ |
238 |
|
|
239 |
*(struct ipc_port **) (type + 1) = port; |
*(struct ipc_port **) (type + 1) = port; |
240 |
start = start + sizeof *type + (vm_offset_t) (type->msgt_length/8); |
start = start + sizeof *type + (vm_offset_t) (type->msgt_length); |
241 |
} |
} |
242 |
|
|
243 |
/* Out-of-line memory. ??? not supported yet, just skip it. */ |
/* Out-of-line memory. ??? not supported yet, just skip it. */ |
251 |
/* For normal inline memory we just step over the chunk. */ |
/* For normal inline memory we just step over the chunk. */ |
252 |
|
|
253 |
else |
else |
254 |
start = start + sizeof *type + (type->msgt_length/8); |
start = start + sizeof *type + (type->msgt_length); |
255 |
|
|
256 |
/* Start of message type structure should always be word aligned. */ |
/* Start of message type structure should always be word aligned. */ |
257 |
|
|
302 |
/* Store pointer to port structure in place for port name. */ |
/* Store pointer to port structure in place for port name. */ |
303 |
|
|
304 |
*(rtmk_port_t *) (type + 1) = port_name; |
*(rtmk_port_t *) (type + 1) = port_name; |
305 |
start = start + sizeof *type + (vm_offset_t) (type->msgt_length/8); |
start = start + sizeof *type + (vm_offset_t) (type->msgt_length); |
306 |
} |
} |
307 |
|
|
308 |
/* Out-of-line memory. ??? not supported yet, just skip it. */ |
/* Out-of-line memory. ??? not supported yet, just skip it. */ |
316 |
/* For normal inline memory we just step over the chunk. */ |
/* For normal inline memory we just step over the chunk. */ |
317 |
|
|
318 |
else |
else |
319 |
start = start + sizeof *type + (type->msgt_length/8); |
start = start + sizeof *type + (type->msgt_length); |
320 |
|
|
321 |
/* Start of message type structure should always be word aligned. */ |
/* Start of message type structure should always be word aligned. */ |
322 |
|
|