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
This commit is contained in:
jwang36 2007-01-15 05:52:50 +00:00
parent a387de3b32
commit bf43f5eb3e
1 changed files with 0 additions and 9 deletions

View File

@ -803,8 +803,6 @@ public class AutoGen {
fileBuffer.append(" IN VOID *OldCoreData\r\n"); fileBuffer.append(" IN VOID *OldCoreData\r\n");
fileBuffer.append(" )\r\n\r\n"); fileBuffer.append(" )\r\n\r\n");
fileBuffer.append("{\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(" return ");
fileBuffer.append(entryPointList[0]); fileBuffer.append(entryPointList[0]);
fileBuffer.append(" (PeiStartupDescriptor, OldCoreData);\r\n"); fileBuffer.append(" (PeiStartupDescriptor, OldCoreData);\r\n");
@ -829,8 +827,6 @@ public class AutoGen {
fileBuffer.append(" IN VOID *HobStart\r\n"); fileBuffer.append(" IN VOID *HobStart\r\n");
fileBuffer.append(" )\r\n\r\n"); fileBuffer.append(" )\r\n\r\n");
fileBuffer.append("{\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(" ");
fileBuffer.append(entryPointList[0]); fileBuffer.append(entryPointList[0]);
fileBuffer.append(" (HobStart);\r\n"); fileBuffer.append(" (HobStart);\r\n");
@ -871,7 +867,6 @@ public class AutoGen {
fileBuffer.append(" )\r\n\r\n"); fileBuffer.append(" )\r\n\r\n");
fileBuffer.append("{\r\n"); fileBuffer.append("{\r\n");
if (entryPointCount == 1) { 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(String.format(" " + debugStr, entryPointList[0], entryPointList[0]));
fileBuffer.append(" return "); fileBuffer.append(" return ");
fileBuffer.append(entryPointList[0]); fileBuffer.append(entryPointList[0]);
@ -882,7 +877,6 @@ public class AutoGen {
fileBuffer.append(" CombinedStatus = EFI_LOAD_ERROR;\r\n\r\n"); fileBuffer.append(" CombinedStatus = EFI_LOAD_ERROR;\r\n\r\n");
for (int i = 0; i < entryPointList.length; i++) { for (int i = 0; i < entryPointList.length; i++) {
if (!entryPointList[i].equals("")) { 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(String.format(" " + debugStr, entryPointList[i], entryPointList[i]));
fileBuffer.append(" Status = "); fileBuffer.append(" Status = ");
fileBuffer.append(entryPointList[i]); fileBuffer.append(entryPointList[i]);
@ -945,7 +939,6 @@ public class AutoGen {
for (int i = 0; i < entryPointList.length; i++) { for (int i = 0; i < entryPointList.length; i++) {
fileBuffer.append(" if (SetJump (&mJumpContext) == 0) {\r\n"); 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(String.format(" " + debugStr, entryPointList[i], entryPointList[i]));
fileBuffer.append(" ExitDriver ("); fileBuffer.append(" ExitDriver (");
fileBuffer.append(entryPointList[i]); fileBuffer.append(entryPointList[i]);
@ -1084,7 +1077,6 @@ public class AutoGen {
fileBuffer.append("{\r\n"); fileBuffer.append("{\r\n");
if (entryPointCount == 1) { 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(String.format(" " + debugStr, entryPointList[0], entryPointList[0]));
fileBuffer.append(" return "); fileBuffer.append(" return ");
fileBuffer.append(entryPointList[0]); fileBuffer.append(entryPointList[0]);
@ -1093,7 +1085,6 @@ public class AutoGen {
for (int i = 0; i < entryPointList.length; i++) { for (int i = 0; i < entryPointList.length; i++) {
if (!entryPointList[i].equals("")) { if (!entryPointList[i].equals("")) {
fileBuffer.append(" if (SetJump (&mJumpContext) == 0) {\r\n"); 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(String.format(" " + debugStr, entryPointList[i], entryPointList[i]));
fileBuffer.append(" ExitDriver ("); fileBuffer.append(" ExitDriver (");
fileBuffer.append(entryPointList[i]); fileBuffer.append(entryPointList[i]);