X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/21362eb3e66fd2c787aee132bce100a44d71a99c..4452a7af2eac33dbad800bcc91f2399d62c18f53:/bsd/netat/sysglue.h?ds=sidebyside diff --git a/bsd/netat/sysglue.h b/bsd/netat/sysglue.h index 2c84a83f4..579f73702 100644 --- a/bsd/netat/sysglue.h +++ b/bsd/netat/sysglue.h @@ -64,21 +64,13 @@ typedef struct { * grow when we're dealing with a 64-bit process. * WARNING - keep in sync with ioccmd_t */ -#if __DARWIN_ALIGN_NATURAL -#pragma options align=natural -#endif - typedef struct { int ic_cmd; int ic_timout; int ic_len; - user_addr_t ic_dp; + user_addr_t ic_dp __attribute__((aligned(8))); } user_ioccmd_t; -#if __DARWIN_ALIGN_NATURAL -#pragma options align=reset -#endif - #endif // KERNEL_PRIVATE #endif // KERNEL @@ -164,10 +156,6 @@ typedef struct { typedef int atevent_t; typedef int atlock_t; -typedef int *atomic_p; -#define ATLOCKINIT(a) (a = (atlock_t) EVENT_NULL) -#define ATDISABLE(l, a) -#define ATENABLE(l, a) #define ATEVENTINIT(a) (a = (atevent_t) EVENT_NULL) #define DDP_OUTPUT(m) ddp_putmsg(0,m) #define StaticProc static