From bf43f5eb3ef77a43fc192692acc51547663dd29d Mon Sep 17 00:00:00 2001 From: jwang36 Date: Mon, 15 Jan 2007 05:52:50 +0000 Subject: [PATCH] Remove DEBUG output statement for PEI&DXE core to fix boot failure issue git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2247 6f19259b-4bc3-4df7-8a09-765794883524 --- .../GenBuild/org/tianocore/build/autogen/AutoGen.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Tools/Java/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java b/Tools/Java/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java index bf04cc260f..5b917b9ab4 100644 --- a/Tools/Java/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java +++ b/Tools/Java/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java @@ -803,8 +803,6 @@ public class AutoGen { fileBuffer.append(" IN VOID *OldCoreData\r\n"); fileBuffer.append(" )\r\n\r\n"); fileBuffer.append("{\r\n"); - // fileBuffer.append(" DEBUG ((EFI_D_INFO, \"Module Entry Point 0x%08x\\n\", (UINTN)" + entryPointList[0] + "));\n"); - fileBuffer.append(String.format(" " + debugStr, entryPointList[0], entryPointList[0])); fileBuffer.append(" return "); fileBuffer.append(entryPointList[0]); fileBuffer.append(" (PeiStartupDescriptor, OldCoreData);\r\n"); @@ -829,8 +827,6 @@ public class AutoGen { fileBuffer.append(" IN VOID *HobStart\r\n"); fileBuffer.append(" )\r\n\r\n"); fileBuffer.append("{\r\n"); - //fileBuffer.append(" DEBUG ((EFI_D_INFO, \"Module Entry Point 0x%08x\\n\", (UINTN)" + entryPointList[0] + "));\n"); - fileBuffer.append(String.format(" " + debugStr, entryPointList[0], entryPointList[0])); fileBuffer.append(" "); fileBuffer.append(entryPointList[0]); fileBuffer.append(" (HobStart);\r\n"); @@ -871,7 +867,6 @@ public class AutoGen { fileBuffer.append(" )\r\n\r\n"); fileBuffer.append("{\r\n"); if (entryPointCount == 1) { - //fileBuffer.append(" DEBUG ((EFI_D_INFO, \"Module Entry Point 0x%08x\\n\", (UINTN)" + entryPointList[0] + "));\n"); fileBuffer.append(String.format(" " + debugStr, entryPointList[0], entryPointList[0])); fileBuffer.append(" return "); fileBuffer.append(entryPointList[0]); @@ -882,7 +877,6 @@ public class AutoGen { fileBuffer.append(" CombinedStatus = EFI_LOAD_ERROR;\r\n\r\n"); for (int i = 0; i < entryPointList.length; i++) { if (!entryPointList[i].equals("")) { - //fileBuffer.append(" DEBUG ((EFI_D_INFO, \"Module Entry Point 0x%08x\\n\", (UINTN)" + entryPointList[i] + "));\n"); fileBuffer.append(String.format(" " + debugStr, entryPointList[i], entryPointList[i])); fileBuffer.append(" Status = "); fileBuffer.append(entryPointList[i]); @@ -945,7 +939,6 @@ public class AutoGen { for (int i = 0; i < entryPointList.length; i++) { fileBuffer.append(" if (SetJump (&mJumpContext) == 0) {\r\n"); - //fileBuffer.append(" DEBUG ((EFI_D_INFO, \"Module Entry Point 0x%08x\\n\", (UINTN)" + entryPointList[i] + "));\n"); fileBuffer.append(String.format(" " + debugStr, entryPointList[i], entryPointList[i])); fileBuffer.append(" ExitDriver ("); fileBuffer.append(entryPointList[i]); @@ -1084,7 +1077,6 @@ public class AutoGen { fileBuffer.append("{\r\n"); if (entryPointCount == 1) { - //fileBuffer.append(" DEBUG ((EFI_D_INFO, \"Module Entry Point 0x%08x\\n\", (UINTN)" + entryPointList[0] + "));\n"); fileBuffer.append(String.format(" " + debugStr, entryPointList[0], entryPointList[0])); fileBuffer.append(" return "); fileBuffer.append(entryPointList[0]); @@ -1093,7 +1085,6 @@ public class AutoGen { for (int i = 0; i < entryPointList.length; i++) { if (!entryPointList[i].equals("")) { fileBuffer.append(" if (SetJump (&mJumpContext) == 0) {\r\n"); - //fileBuffer.append(" DEBUG ((EFI_D_INFO, \"Module Entry Point 0x%08x\\n\", (UINTN)" + entryPointList[i] + "));\n"); fileBuffer.append(String.format(" " + debugStr, entryPointList[i], entryPointList[i])); fileBuffer.append(" ExitDriver ("); fileBuffer.append(entryPointList[i]); -- 2.39.2