diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-16 15:40:29 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-16 15:40:29 +0000 |
commit | f1366d639f5e1c63de1a83b0e873b3d074621cf1 (patch) | |
tree | 356f7f82676017e60f537852a47c627902333c89 /MdePkg/Include/Uefi | |
parent | f3f2e05db8c89628498ec4efdb16184747824c63 (diff) | |
download | edk2-f1366d639f5e1c63de1a83b0e873b3d074621cf1.zip edk2-f1366d639f5e1c63de1a83b0e873b3d074621cf1.tar.gz edk2-f1366d639f5e1c63de1a83b0e873b3d074621cf1.tar.bz2 |
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
Diffstat (limited to 'MdePkg/Include/Uefi')
-rw-r--r-- | MdePkg/Include/Uefi/UefiBaseType.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/MdePkg/Include/Uefi/UefiBaseType.h b/MdePkg/Include/Uefi/UefiBaseType.h index d142156..43814b9 100644 --- a/MdePkg/Include/Uefi/UefiBaseType.h +++ b/MdePkg/Include/Uefi/UefiBaseType.h @@ -162,18 +162,7 @@ typedef union { #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
@@ -188,11 +177,6 @@ typedef union { #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
/// (42 characters plus a NULL terminator)
|