Retired the following macros defined in MdePkg/Include/Uefi/UefiBaseType.h:

EFI_SIGNATURE_16, EFI_SIGNATURE_32, EFI_SIGNATURE_64, EFI_FIELD_OFFSET, EFI_MAX_BIT & EFI_MAX_ADDRESS

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7057 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8 2008-12-16 15:40:29 +00:00
parent f3f2e05db8
commit f1366d639f
1 changed files with 0 additions and 16 deletions

View File

@ -162,18 +162,7 @@ typedef union {
#define EFI_ERROR(A) RETURN_ERROR(A) #define EFI_ERROR(A) RETURN_ERROR(A)
//
// Define macros to build data structure signatures from characters.
//
#define EFI_SIGNATURE_16(A, B) SIGNATURE_16 (A, B)
#define EFI_SIGNATURE_32(A, B, C, D) SIGNATURE_32 (A, B, C, D)
#define EFI_SIGNATURE_64(A, B, C, D, E, F, G, H) SIGNATURE_64 (A, B, C, D, E, F, G, H)
///
/// Returns the byte offset to a field within a structure
///
#define EFI_FIELD_OFFSET(TYPE,Field) ((UINTN)(&(((TYPE *) 0)->Field)))
// //
// The EFI memory allocation functions work in units of EFI_PAGEs that are // The EFI memory allocation functions work in units of EFI_PAGEs that are
@ -188,11 +177,6 @@ typedef union {
#define EFI_PAGES_TO_SIZE(a) ( (a) << EFI_PAGE_SHIFT) #define EFI_PAGES_TO_SIZE(a) ( (a) << EFI_PAGE_SHIFT)
#define EFI_MAX_BIT MAX_BIT
#define EFI_MAX_ADDRESS MAX_ADDRESS
/// ///
/// Limited buffer size for a language code recommended by RFC3066 /// Limited buffer size for a language code recommended by RFC3066
/// (42 characters plus a NULL terminator) /// (42 characters plus a NULL terminator)