]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/mach/host_info.h
xnu-792.21.3.tar.gz
[apple/xnu.git] / osfmk / mach / host_info.h
index ce5d9b64d6ed3c0f956c57651dffdea5b38f3d68..9cd243a215ce7342ba30d9a4062d40c71de29c7a 100644 (file)
@@ -114,7 +114,9 @@ typedef struct host_basic_info_old  *host_basic_info_old_t;
                (sizeof(host_basic_info_data_old_t)/sizeof(integer_t)))
 #endif
 
-#pragma pack(4)
+#if __DARWIN_ALIGN_POWER
+#pragma options align=power
+#endif
 
 struct host_basic_info {
        integer_t               max_cpus;               /* max number of CPUs possible */
@@ -130,7 +132,9 @@ struct host_basic_info {
        uint64_t                max_mem;                /* actual size of physical memory */
 };
 
-#pragma pack()
+#if __DARWIN_ALIGN_POWER
+#pragma options align=reset
+#endif
 
 typedef        struct host_basic_info  host_basic_info_data_t;
 typedef struct host_basic_info *host_basic_info_t;