edk2/EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h:

* Added the ULL suffix to constant values greater than 32-bits so they
  will be interpreted as a unsigned long long.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4936 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jljusten 2008-03-20 21:07:19 +00:00
parent 5413b31d77
commit 96703427f2
1 changed files with 4 additions and 4 deletions

View File

@ -138,19 +138,19 @@ typedef int64_t intn_t;
//
// Processor specific defines
//
#define EFI_MAX_BIT 0x8000000000000000
#define MAX_2_BITS 0xC000000000000000
#define EFI_MAX_BIT 0x8000000000000000ULL
#define MAX_2_BITS 0xC000000000000000ULL
//
// Maximum legal IA-32 address
//
#define EFI_MAX_ADDRESS 0xFFFFFFFFFFFFFFFF
#define EFI_MAX_ADDRESS 0xFFFFFFFFFFFFFFFFULL
//
// Bad pointer value to use in check builds.
// if you see this value you are using uninitialized or free'ed data
//
#define EFI_BAD_POINTER 0xAFAFAFAFAFAFAFAF
#define EFI_BAD_POINTER 0xAFAFAFAFAFAFAFAFULL
#define EFI_BAD_POINTER_AS_BYTE 0xAF
//