diff options
Diffstat (limited to 'include/grub/x86_64/efi/memory.h')
-rw-r--r-- | include/grub/x86_64/efi/memory.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/grub/x86_64/efi/memory.h b/include/grub/x86_64/efi/memory.h new file mode 100644 index 0000000..46e9145 --- /dev/null +++ b/include/grub/x86_64/efi/memory.h @@ -0,0 +1,10 @@ +#ifndef GRUB_MEMORY_CPU_HEADER +#include <grub/efi/memory.h> + +#if defined (__code_model_large__) +#define GRUB_EFI_MAX_USABLE_ADDRESS 0xffffffff +#else +#define GRUB_EFI_MAX_USABLE_ADDRESS 0x7fffffff +#endif + +#endif /* ! GRUB_MEMORY_CPU_HEADER */ |