Root/
Source at commit 1146 created 12 years 11 months ago. By azimutz, Sync with trunk (r1145). Add nVidia dev id's, 0DF4 for "GeForce GT 450M" (issue 99) and 1251 for "GeForce GTX 560M" (thanks to oSxFr33k for testing). | |
---|---|
1 | #ifndef␉_clock_reply_user_␊ |
2 | #define␉_clock_reply_user_␊ |
3 | ␊ |
4 | /* Module clock_reply */␊ |
5 | ␊ |
6 | #include <string.h>␊ |
7 | #include <mach/ndr.h>␊ |
8 | #include <mach/boolean.h>␊ |
9 | #include <mach/kern_return.h>␊ |
10 | #include <mach/notify.h>␊ |
11 | #include <mach/mach_types.h>␊ |
12 | #include <mach/message.h>␊ |
13 | #include <mach/mig_errors.h>␊ |
14 | #include <mach/port.h>␊ |
15 | ␊ |
16 | #ifdef AUTOTEST␊ |
17 | #ifndef FUNCTION_PTR_T␊ |
18 | #define FUNCTION_PTR_T␊ |
19 | typedef void (*function_ptr_t)(mach_port_t, char *, mach_msg_type_number_t);␊ |
20 | typedef struct {␊ |
21 | char *name;␊ |
22 | function_ptr_t function;␊ |
23 | } function_table_entry;␊ |
24 | typedef function_table_entry *function_table_t;␊ |
25 | #endif /* FUNCTION_PTR_T */␊ |
26 | #endif /* AUTOTEST */␊ |
27 | ␊ |
28 | #ifndef␉clock_reply_MSG_COUNT␊ |
29 | #define␉clock_reply_MSG_COUNT␉1␊ |
30 | #endif␉/* clock_reply_MSG_COUNT */␊ |
31 | ␊ |
32 | #include <mach/std_types.h>␊ |
33 | #include <mach/mig.h>␊ |
34 | #include <mach/mach_types.h>␊ |
35 | ␊ |
36 | #ifdef __BeforeMigUserHeader␊ |
37 | __BeforeMigUserHeader␊ |
38 | #endif /* __BeforeMigUserHeader */␊ |
39 | ␊ |
40 | #include <sys/cdefs.h>␊ |
41 | __BEGIN_DECLS␊ |
42 | ␊ |
43 | ␊ |
44 | /* SimpleRoutine clock_alarm_reply */␊ |
45 | #ifdef␉mig_external␊ |
46 | mig_external␊ |
47 | #else␊ |
48 | extern␊ |
49 | #endif␉/* mig_external */␊ |
50 | kern_return_t clock_alarm_reply␊ |
51 | (␊ |
52 | ␉clock_reply_t alarm_port,␊ |
53 | ␉mach_msg_type_name_t alarm_portPoly,␊ |
54 | ␉kern_return_t alarm_code,␊ |
55 | ␉alarm_type_t alarm_type,␊ |
56 | ␉mach_timespec_t alarm_time␊ |
57 | );␊ |
58 | ␊ |
59 | __END_DECLS␊ |
60 | ␊ |
61 | /********************** Caution **************************/␊ |
62 | /* The following data types should be used to calculate */␊ |
63 | /* maximum message sizes only. The actual message may be */␊ |
64 | /* smaller, and the position of the arguments within the */␊ |
65 | /* message layout may vary from what is presented here. */␊ |
66 | /* For example, if any of the arguments are variable- */␊ |
67 | /* sized, and less than the maximum is sent, the data */␊ |
68 | /* will be packed tight in the actual message to reduce */␊ |
69 | /* the presence of holes. */␊ |
70 | /********************** Caution **************************/␊ |
71 | ␊ |
72 | /* typedefs for all requests */␊ |
73 | ␊ |
74 | #ifndef __Request__clock_reply_subsystem__defined␊ |
75 | #define __Request__clock_reply_subsystem__defined␊ |
76 | ␊ |
77 | #ifdef __MigPackStructs␊ |
78 | #pragma pack(4)␊ |
79 | #endif␊ |
80 | ␉typedef struct {␊ |
81 | ␉␉mach_msg_header_t Head;␊ |
82 | ␉␉NDR_record_t NDR;␊ |
83 | ␉␉kern_return_t alarm_code;␊ |
84 | ␉␉alarm_type_t alarm_type;␊ |
85 | ␉␉mach_timespec_t alarm_time;␊ |
86 | ␉} __Request__clock_alarm_reply_t;␊ |
87 | #ifdef __MigPackStructs␊ |
88 | #pragma pack()␊ |
89 | #endif␊ |
90 | #endif /* !__Request__clock_reply_subsystem__defined */␊ |
91 | ␊ |
92 | /* union of all requests */␊ |
93 | ␊ |
94 | #ifndef __RequestUnion__clock_reply_subsystem__defined␊ |
95 | #define __RequestUnion__clock_reply_subsystem__defined␊ |
96 | union __RequestUnion__clock_reply_subsystem {␊ |
97 | ␉__Request__clock_alarm_reply_t Request_clock_alarm_reply;␊ |
98 | };␊ |
99 | #endif /* !__RequestUnion__clock_reply_subsystem__defined */␊ |
100 | /* typedefs for all replies */␊ |
101 | ␊ |
102 | #ifndef __Reply__clock_reply_subsystem__defined␊ |
103 | #define __Reply__clock_reply_subsystem__defined␊ |
104 | ␊ |
105 | #ifdef __MigPackStructs␊ |
106 | #pragma pack(4)␊ |
107 | #endif␊ |
108 | ␉typedef struct {␊ |
109 | ␉␉mach_msg_header_t Head;␊ |
110 | ␉␉NDR_record_t NDR;␊ |
111 | ␉␉kern_return_t RetCode;␊ |
112 | ␉} __Reply__clock_alarm_reply_t;␊ |
113 | #ifdef __MigPackStructs␊ |
114 | #pragma pack()␊ |
115 | #endif␊ |
116 | #endif /* !__Reply__clock_reply_subsystem__defined */␊ |
117 | ␊ |
118 | /* union of all replies */␊ |
119 | ␊ |
120 | #ifndef __ReplyUnion__clock_reply_subsystem__defined␊ |
121 | #define __ReplyUnion__clock_reply_subsystem__defined␊ |
122 | union __ReplyUnion__clock_reply_subsystem {␊ |
123 | ␉__Reply__clock_alarm_reply_t Reply_clock_alarm_reply;␊ |
124 | };␊ |
125 | #endif /* !__RequestUnion__clock_reply_subsystem__defined */␊ |
126 | ␊ |
127 | #ifndef subsystem_to_name_map_clock_reply␊ |
128 | #define subsystem_to_name_map_clock_reply \␊ |
129 | { "clock_alarm_reply", 3125107 }␊ |
130 | #endif␊ |
131 | ␊ |
132 | #ifdef __AfterMigUserHeader␊ |
133 | __AfterMigUserHeader␊ |
134 | #endif /* __AfterMigUserHeader */␊ |
135 | ␊ |
136 | #endif␉ /* _clock_reply_user_ */␊ |
137 |