extern mach_port_name_t mach_reply_port(void);
+extern mach_port_name_t thread_get_special_reply_port(void);
+
extern mach_port_name_t thread_self_trap(void);
extern mach_port_name_t host_self_trap(void);
#else
#define PAD_(t) (sizeof(uint32_t) <= sizeof(t) \
? 0 : sizeof(uint32_t) - sizeof(t))
+#if __arm__ && (__BIGGEST_ALIGNMENT__ > 4)
+#define PAD_ARG_8
+#else
#define PAD_ARG_8 char arg8_pad_[sizeof(uint32_t)];
#endif
+#endif
#if BYTE_ORDER == LITTLE_ENDIAN
#define PADL_(t) 0
extern mach_port_name_t mach_reply_port(
struct mach_reply_port_args *args);
+struct thread_get_special_reply_port_args {
+ int32_t dummy;
+};
+extern mach_port_name_t thread_get_special_reply_port(
+ struct thread_get_special_reply_port_args *args);
+
struct thread_self_trap_args {
int32_t dummy;
};