]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/DxeHstiLib/HstiDxe.c
MdePkg: Change use of EFI_D_* to DEBUG_*
[mirror_edk2.git] / MdePkg / Library / DxeHstiLib / HstiDxe.c
index 4e1c67616b0123a79dbc13058f2d47445b62c950..262413266c7cc561246b26f467d2eeecbed8a476 100644 (file)
@@ -161,15 +161,15 @@ InternalHstiIsValidTable (
   // basic check for header\r
   //\r
   if (HstiData == NULL) {\r
-    DEBUG ((EFI_D_ERROR, "HstiData == NULL\n"));\r
+    DEBUG ((DEBUG_ERROR, "HstiData == NULL\n"));\r
     return FALSE;\r
   }\r
   if (HstiSize < sizeof(ADAPTER_INFO_PLATFORM_SECURITY)) {\r
-    DEBUG ((EFI_D_ERROR, "HstiSize < sizeof(ADAPTER_INFO_PLATFORM_SECURITY)\n"));\r
+    DEBUG ((DEBUG_ERROR, "HstiSize < sizeof(ADAPTER_INFO_PLATFORM_SECURITY)\n"));\r
     return FALSE;\r
   }\r
   if (((HstiSize - sizeof(ADAPTER_INFO_PLATFORM_SECURITY)) / 3) < Hsti->SecurityFeaturesSize) {\r
-    DEBUG ((EFI_D_ERROR, "((HstiSize - sizeof(ADAPTER_INFO_PLATFORM_SECURITY)) / 3) < SecurityFeaturesSize\n"));\r
+    DEBUG ((DEBUG_ERROR, "((HstiSize - sizeof(ADAPTER_INFO_PLATFORM_SECURITY)) / 3) < SecurityFeaturesSize\n"));\r
     return FALSE;\r
   }\r
 \r
@@ -177,7 +177,7 @@ InternalHstiIsValidTable (
   // Check Version\r
   //\r
   if (Hsti->Version != PLATFORM_SECURITY_VERSION_VNEXTCS) {\r
-    DEBUG ((EFI_D_ERROR, "Version != PLATFORM_SECURITY_VERSION_VNEXTCS\n"));\r
+    DEBUG ((DEBUG_ERROR, "Version != PLATFORM_SECURITY_VERSION_VNEXTCS\n"));\r
     return FALSE;\r
   }\r
 \r
@@ -186,8 +186,8 @@ InternalHstiIsValidTable (
   //\r
   if ((Hsti->Role < PLATFORM_SECURITY_ROLE_PLATFORM_REFERENCE) ||\r
       (Hsti->Role > PLATFORM_SECURITY_ROLE_IMPLEMENTOR_ODM)) {\r
-    DEBUG ((EFI_D_ERROR, "Role < PLATFORM_SECURITY_ROLE_PLATFORM_REFERENCE ||\n"));\r
-    DEBUG ((EFI_D_ERROR, "Role > PLATFORM_SECURITY_ROLE_IMPLEMENTOR_ODM\n"));\r
+    DEBUG ((DEBUG_ERROR, "Role < PLATFORM_SECURITY_ROLE_PLATFORM_REFERENCE ||\n"));\r
+    DEBUG ((DEBUG_ERROR, "Role > PLATFORM_SECURITY_ROLE_IMPLEMENTOR_ODM\n"));\r
     return FALSE;\r
   }\r
 \r
@@ -200,7 +200,7 @@ InternalHstiIsValidTable (
     }\r
   }\r
   if (Index == sizeof(Hsti->ImplementationID)/sizeof(Hsti->ImplementationID[0])) {\r
-    DEBUG ((EFI_D_ERROR, "ImplementationID has no NUL CHAR\n"));\r
+    DEBUG ((DEBUG_ERROR, "ImplementationID has no NUL CHAR\n"));\r
     return FALSE;\r
   }\r
 \r
@@ -211,11 +211,11 @@ InternalHstiIsValidTable (
   // basic check for ErrorString\r
   //\r
   if (ErrorStringSize == 0) {\r
-    DEBUG ((EFI_D_ERROR, "ErrorStringSize == 0\n"));\r
+    DEBUG ((DEBUG_ERROR, "ErrorStringSize == 0\n"));\r
     return FALSE;\r
   }\r
   if ((ErrorStringSize & BIT0) != 0) {\r
-    DEBUG ((EFI_D_ERROR, "(ErrorStringSize & BIT0) != 0\n"));\r
+    DEBUG ((DEBUG_ERROR, "(ErrorStringSize & BIT0) != 0\n"));\r
     return FALSE;\r
   }\r
 \r
@@ -232,11 +232,11 @@ InternalHstiIsValidTable (
   // check the length of ErrorString\r
   //\r
   if (ErrorChar != 0) {\r
-    DEBUG ((EFI_D_ERROR, "ErrorString has no NUL CHAR\n"));\r
+    DEBUG ((DEBUG_ERROR, "ErrorString has no NUL CHAR\n"));\r
     return FALSE;\r
   }\r
   if (ErrorStringLength == (ErrorStringSize/2)) {\r
-    DEBUG ((EFI_D_ERROR, "ErrorString Length incorrect\n"));\r
+    DEBUG ((DEBUG_ERROR, "ErrorString Length incorrect\n"));\r
     return FALSE;\r
   }\r
 \r