]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Add defines for MAX values for EBC arch.
authorLiming Gao <liming.gao@intel.com>
Tue, 13 Aug 2013 08:45:45 +0000 (08:45 +0000)
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 13 Aug 2013 08:45:45 +0000 (08:45 +0000)
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: michael.d.kinney@intel.com
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14547 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Ebc/ProcessorBind.h

index 0a76ce988999659adc12837dc91f6fa41e1b3bf7..4e1a67fb4e575a77d2bea218ca1d05425fe756fd 100644 (file)
@@ -4,7 +4,7 @@
   We currently only have one EBC compiler so there may be some Intel compiler\r
   specific functions in this file.\r
 \r
-Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials are licensed and made available under \r
 the terms and conditions of the BSD License that accompanies this distribution.  \r
 The full text of the license may be found at\r
@@ -103,6 +103,12 @@ typedef unsigned long         UINTN;
 ///\r
 #define MAX_ADDRESS   ((UINTN) ~0)\r
 \r
+///\r
+/// Maximum legal EBC INTN and UINTN values.\r
+///\r
+#define MAX_UINTN  ((UINTN) ~0)\r
+#define MAX_INTN   ((INTN)~MAX_BIT)\r
+\r
 ///\r
 /// The stack alignment required for EBC\r
 ///\r