aboutsummaryrefslogtreecommitdiff
path: root/src/include/ipxe/efi/X64/ProcessorBind.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2014-07-14 16:13:55 +0100
committerMichael Brown <mcb30@ipxe.org>2014-07-14 16:13:55 +0100
commitcff0103bd2a55cadff2a9aed6e3f8024baab368c (patch)
treed68fcf544a221f4c1bef2c0460aaf51ea092b8a4 /src/include/ipxe/efi/X64/ProcessorBind.h
parentc4af97727131a6675c67de4f2fc3f72e4dd4fc35 (diff)
downloadipxe-cff0103bd2a55cadff2a9aed6e3f8024baab368c.zip
ipxe-cff0103bd2a55cadff2a9aed6e3f8024baab368c.tar.gz
ipxe-cff0103bd2a55cadff2a9aed6e3f8024baab368c.tar.bz2
[efi] Update EDK2 headers
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/efi/X64/ProcessorBind.h')
-rw-r--r--src/include/ipxe/efi/X64/ProcessorBind.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/include/ipxe/efi/X64/ProcessorBind.h b/src/include/ipxe/efi/X64/ProcessorBind.h
index e10e3b5..1d927e6 100644
--- a/src/include/ipxe/efi/X64/ProcessorBind.h
+++ b/src/include/ipxe/efi/X64/ProcessorBind.h
@@ -1,7 +1,7 @@
/** @file
Processor or Compiler specific defines and types x64 (Intel 64, AMD64).
- Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -230,6 +230,12 @@ typedef INT64 INTN;
#define MAX_ADDRESS 0xFFFFFFFFFFFFFFFFULL
///
+/// Maximum legal x64 INTN and UINTN values.
+///
+#define MAX_INTN ((INTN)0x7FFFFFFFFFFFFFFFULL)
+#define MAX_UINTN ((UINTN)0xFFFFFFFFFFFFFFFFULL)
+
+///
/// The stack alignment required for x64
///
#define CPU_STACK_ALIGNMENT 16