70 |
|
|
71 |
/* Misc types. */ |
/* Misc types. */ |
72 |
#if GRUB_HOST_SIZEOF_VOID_P == 8 |
#if GRUB_HOST_SIZEOF_VOID_P == 8 |
73 |
|
typedef grub_uint64_t grub_host_addr_t; |
74 |
|
typedef grub_uint64_t grub_host_off_t; |
75 |
|
typedef grub_uint64_t grub_host_size_t; |
76 |
|
typedef grub_int64_t grub_host_ssize_t; |
77 |
|
#else |
78 |
|
typedef grub_uint32_t grub_host_addr_t; |
79 |
|
typedef grub_uint32_t grub_host_off_t; |
80 |
|
typedef grub_uint32_t grub_host_size_t; |
81 |
|
typedef grub_int32_t grub_host_ssize_t; |
82 |
|
#endif |
83 |
|
|
84 |
|
#if GRUB_CPU_SIZEOF_VOID_P == 8 |
85 |
typedef grub_uint64_t grub_addr_t; |
typedef grub_uint64_t grub_addr_t; |
86 |
typedef grub_uint64_t grub_off_t; |
typedef grub_uint64_t grub_off_t; |
87 |
typedef grub_uint64_t grub_size_t; |
typedef grub_uint64_t grub_size_t; |