X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/0a7de7458d150b5d4dffc935ba399be265ef0a1a..cb3231590a3c94ab4375e2228bd5e86b0cf1ad7e:/osfmk/mach/host_info.h?ds=sidebyside diff --git a/osfmk/mach/host_info.h b/osfmk/mach/host_info.h index 2bca65e0d..12d8b3e45 100644 --- a/osfmk/mach/host_info.h +++ b/osfmk/mach/host_info.h @@ -125,7 +125,7 @@ typedef struct host_can_has_debugger_info *host_can_has_debugger_info_t; #define HOST_CAN_HAS_DEBUGGER_COUNT ((mach_msg_type_number_t) \ (sizeof(host_can_has_debugger_info_data_t)/sizeof(integer_t))) -#pragma pack(4) +#pragma pack(push, 4) struct host_basic_info { integer_t max_cpus; /* max number of CPUs possible */ @@ -141,7 +141,7 @@ struct host_basic_info { uint64_t max_mem; /* actual size of physical memory */ }; -#pragma pack() +#pragma pack(pop) typedef struct host_basic_info host_basic_info_data_t; typedef struct host_basic_info *host_basic_info_t;