Add defines for MAX values for EBC arch.
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
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
We currently only have one EBC compiler so there may be some Intel compiler
|
We currently only have one EBC compiler so there may be some Intel compiler
|
||||||
specific functions in this file.
|
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
|
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 terms and conditions of the BSD License that accompanies this distribution.
|
||||||
The full text of the license may be found at
|
The full text of the license may be found at
|
||||||
@@ -103,6 +103,12 @@ typedef unsigned long UINTN;
|
|||||||
///
|
///
|
||||||
#define MAX_ADDRESS ((UINTN) ~0)
|
#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
|
/// The stack alignment required for EBC
|
||||||
///
|
///
|
||||||
|
Reference in New Issue
Block a user