summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/efi/Ia32
diff options
context:
space:
mode:
authorMichael Brown2014-07-14 17:13:55 +0200
committerMichael Brown2014-07-14 17:13:55 +0200
commitcff0103bd2a55cadff2a9aed6e3f8024baab368c (patch)
treed68fcf544a221f4c1bef2c0460aaf51ea092b8a4 /src/include/ipxe/efi/Ia32
parent[netdevice] Reset network device index when last device is unregistered (diff)
downloadipxe-cff0103bd2a55cadff2a9aed6e3f8024baab368c.tar.gz
ipxe-cff0103bd2a55cadff2a9aed6e3f8024baab368c.tar.xz
ipxe-cff0103bd2a55cadff2a9aed6e3f8024baab368c.zip
[efi] Update EDK2 headers
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/efi/Ia32')
-rw-r--r--src/include/ipxe/efi/Ia32/ProcessorBind.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/include/ipxe/efi/Ia32/ProcessorBind.h b/src/include/ipxe/efi/Ia32/ProcessorBind.h
index 89bce6ff9..b98785b4f 100644
--- a/src/include/ipxe/efi/Ia32/ProcessorBind.h
+++ b/src/include/ipxe/efi/Ia32/ProcessorBind.h
@@ -1,7 +1,7 @@
/** @file
Processor or Compiler specific defines and types for IA-32 architecture.
-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 that accompanies this distribution.
The full text of the license may be found at
@@ -229,6 +229,12 @@ typedef INT32 INTN;
#define MAX_ADDRESS 0xFFFFFFFF
///
+/// Maximum legal IA-32 INTN and UINTN values.
+///
+#define MAX_INTN ((INTN)0x7FFFFFFF)
+#define MAX_UINTN ((UINTN)0xFFFFFFFF)
+
+///
/// The stack alignment required for IA-32.
///
#define CPU_STACK_ALIGNMENT sizeof(UINTN)