]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Uefi/UefiBaseType.h
Retired the following macros defined in MdePkg/Include/Uefi/UefiBaseType.h:
[mirror_edk2.git] / MdePkg / Include / Uefi / UefiBaseType.h
index d14215619f83bf706d006271555f94739c630da3..43814b9d0691424b9443f2c3bc61564d35593193 100644 (file)
@@ -162,18 +162,7 @@ typedef union {
 \r
 #define EFI_ERROR(A)              RETURN_ERROR(A)\r
 \r
-//\r
-// Define macros to build data structure signatures from characters.\r
-//\r
-#define EFI_SIGNATURE_16(A, B)                    SIGNATURE_16 (A, B)\r
-#define EFI_SIGNATURE_32(A, B, C, D)              SIGNATURE_32 (A, B, C, D)\r
-#define EFI_SIGNATURE_64(A, B, C, D, E, F, G, H)  SIGNATURE_64 (A, B, C, D, E, F, G, H)\r
-    \r
 \r
-///\r
-///  Returns the byte offset to a field within a structure\r
-///\r
-#define EFI_FIELD_OFFSET(TYPE,Field) ((UINTN)(&(((TYPE *) 0)->Field)))\r
 \r
 //\r
 // The EFI memory allocation functions work in units of EFI_PAGEs that are\r
@@ -188,11 +177,6 @@ typedef union {
 \r
 #define EFI_PAGES_TO_SIZE(a)   ( (a) << EFI_PAGE_SHIFT)\r
 \r
-\r
-#define EFI_MAX_BIT               MAX_BIT\r
-#define EFI_MAX_ADDRESS           MAX_ADDRESS\r
-\r
-\r
 ///\r
 /// Limited buffer size for a language code recommended by RFC3066\r
 /// (42 characters plus a NULL terminator)\r