Revision: 14547
          http://sourceforge.net/p/edk2/code/14547
Author:   lgao4
Date:     2013-08-13 08:45:45 +0000 (Tue, 13 Aug 2013)
Log Message:
-----------
Add defines for MAX values for EBC arch.

Signed-off-by: Liming Gao <[email protected]>
Reviewed-by: [email protected]

Modified Paths:
--------------
    trunk/edk2/MdePkg/Include/Ebc/ProcessorBind.h

Modified: trunk/edk2/MdePkg/Include/Ebc/ProcessorBind.h
===================================================================
--- trunk/edk2/MdePkg/Include/Ebc/ProcessorBind.h       2013-08-12 08:51:55 UTC 
(rev 14546)
+++ trunk/edk2/MdePkg/Include/Ebc/ProcessorBind.h       2013-08-13 08:45:45 UTC 
(rev 14547)
@@ -4,7 +4,7 @@
   We currently only have one EBC compiler so there may be some Intel compiler
   specific functions in this file.
 
-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
@@ -104,6 +104,12 @@
 #define MAX_ADDRESS   ((UINTN) ~0)
 
 ///
+/// Maximum legal EBC INTN and UINTN values.
+///
+#define MAX_UINTN  ((UINTN) ~0)
+#define MAX_INTN   ((INTN)~MAX_BIT)
+
+///
 /// The stack alignment required for EBC
 ///
 #define CPU_STACK_ALIGNMENT   sizeof(UINTN)

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to