1 #include <grub/macho.h>
2 #include <grub/machoload.h>
4 #define SUFFIX(x) x ## 32
5 typedef struct grub_macho_header32 grub_macho_header_t
;
6 typedef struct grub_macho_segment32 grub_macho_segment_t
;
7 typedef grub_uint32_t grub_macho_addr_t
;
8 typedef struct grub_macho_thread32 grub_macho_thread_t
;
9 #define offsetXX offset32
10 #define ncmdsXX ncmds32
11 #define cmdsizeXX cmdsize32
14 #define uncompressedXX uncompressed32
15 #define compressedXX compressed32
16 #define uncompressed_sizeXX uncompressed_size32
17 #define compressed_sizeXX compressed_size32
19 #define GRUB_MACHO_MAGIC GRUB_MACHO_MAGIC32
20 #define GRUB_MACHO_CMD_SEGMENT GRUB_MACHO_CMD_SEGMENT32