/*
- * Copyright (c) 2000-2005 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2007 Apple Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
/* Syscall data translations routines */
#define PAD_(t) (sizeof(uint64_t) <= sizeof(t) \
? 0 : sizeof(uint64_t) - sizeof(t))
+#define PAD_ARG_8
#if BYTE_ORDER == LITTLE_ENDIAN
#define PADL_(t) 0
PAD_ARG_(mach_port_name_t, rcv_name);
PAD_ARG_(mach_msg_timeout_t, timeout);
PAD_ARG_(mach_port_name_t, notify);
+ PAD_ARG_8
PAD_ARG_(mach_vm_address_t, rcv_msg); /* Unused on mach_msg_trap */
};
extern mach_msg_return_t mach_msg_trap(
PAD_ARG_(void *, p3);
PAD_ARG_(void *, p4);
PAD_ARG_(void *, p5);
+ PAD_ARG_8
PAD_ARG_(void *, p6);
};
kern_return_t iokit_user_client_trap(
#undef PADL_
#undef PADR_
#undef PAD_ARG_
+#undef PAD_ARG_8
#endif /* XNU_KERNEL_PRIVATE */