blob: 52fcc3b504e84664dc98e014be183ce0ac7463ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
commit 291ad0d14456308e94e8f1853b905c2f67be4f07
Author: Justus Winter <4winter@informatik.uni-hamburg.de>
Date: Wed Apr 8 13:28:12 2015 +0200
xxx ipc: reorder struct ipc_port
diff --git a/ipc/ipc_port.h b/ipc/ipc_port.h
index 6914c71..7773585 100644
--- a/ipc/ipc_port.h
+++ b/ipc/ipc_port.h
@@ -82,21 +82,25 @@ struct ipc_port {
ipc_port_timestamp_t timestamp;
} data;
+ mach_port_rights_t ip_srights;
+ mach_port_rights_t ip_sorights;
+
+ struct ipc_pset *ip_pset;
+ mach_port_seqno_t ip_seqno; /* locked by message queue */
+ mach_port_msgcount_t ip_msgcount;
+ struct ipc_thread_queue ip_blocked;
+
+ /* Cold fields below. */
+
ipc_kobject_t ip_kobject;
mach_port_mscount_t ip_mscount;
- mach_port_rights_t ip_srights;
- mach_port_rights_t ip_sorights;
struct ipc_port *ip_nsrequest;
struct ipc_port *ip_pdrequest;
struct ipc_port_request *ip_dnrequests;
- struct ipc_pset *ip_pset;
- mach_port_seqno_t ip_seqno; /* locked by message queue */
- mach_port_msgcount_t ip_msgcount;
mach_port_msgcount_t ip_qlimit;
- struct ipc_thread_queue ip_blocked;
unsigned long ip_protected_payload;
};
|