Fixed EDK258.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1549 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -781,7 +781,7 @@ public class AutoGen {
|
|||||||
"Module type = 'PEI_CORE', can have only one module entry point!");
|
"Module type = 'PEI_CORE', can have only one module entry point!");
|
||||||
} else {
|
} else {
|
||||||
fileBuffer.append("EFI_STATUS\r\n");
|
fileBuffer.append("EFI_STATUS\r\n");
|
||||||
fileBuffer.append("EFIAPI\r\n");
|
//fileBuffer.append("EFIAPI\r\n");
|
||||||
fileBuffer.append(entryPointList[0]);
|
fileBuffer.append(entryPointList[0]);
|
||||||
fileBuffer.append(" (\r\n");
|
fileBuffer.append(" (\r\n");
|
||||||
fileBuffer
|
fileBuffer
|
||||||
@@ -814,7 +814,7 @@ public class AutoGen {
|
|||||||
} else {
|
} else {
|
||||||
|
|
||||||
fileBuffer.append("VOID\r\n");
|
fileBuffer.append("VOID\r\n");
|
||||||
fileBuffer.append("EFIAPI\r\n");
|
//fileBuffer.append("EFIAPI\r\n");
|
||||||
fileBuffer.append(entryPointList[0]);
|
fileBuffer.append(entryPointList[0]);
|
||||||
fileBuffer.append(" (\n");
|
fileBuffer.append(" (\n");
|
||||||
fileBuffer.append(" IN VOID *HobStart\r\n");
|
fileBuffer.append(" IN VOID *HobStart\r\n");
|
||||||
@@ -851,7 +851,7 @@ public class AutoGen {
|
|||||||
}
|
}
|
||||||
for (int i = 0; i < entryPointList.length; i++) {
|
for (int i = 0; i < entryPointList.length; i++) {
|
||||||
fileBuffer.append("EFI_STATUS\r\n");
|
fileBuffer.append("EFI_STATUS\r\n");
|
||||||
fileBuffer.append("EFIAPI\r\n");
|
//fileBuffer.append("EFIAPI\r\n");
|
||||||
fileBuffer.append(entryPointList[i]);
|
fileBuffer.append(entryPointList[i]);
|
||||||
fileBuffer.append(" (\r\n");
|
fileBuffer.append(" (\r\n");
|
||||||
fileBuffer
|
fileBuffer
|
||||||
@@ -920,7 +920,7 @@ public class AutoGen {
|
|||||||
} else {
|
} else {
|
||||||
for (int i = 0; i < entryPointList.length; i++) {
|
for (int i = 0; i < entryPointList.length; i++) {
|
||||||
fileBuffer.append("EFI_STATUS\r\n");
|
fileBuffer.append("EFI_STATUS\r\n");
|
||||||
fileBuffer.append("EFIAPI\r\n");
|
//fileBuffer.append("EFIAPI\r\n");
|
||||||
fileBuffer.append(entryPointList[i]);
|
fileBuffer.append(entryPointList[i]);
|
||||||
fileBuffer.append(" (\r\n");
|
fileBuffer.append(" (\r\n");
|
||||||
fileBuffer.append(" IN EFI_HANDLE ImageHandle,\r\n");
|
fileBuffer.append(" IN EFI_HANDLE ImageHandle,\r\n");
|
||||||
@@ -987,7 +987,7 @@ public class AutoGen {
|
|||||||
if (unloadImageList != null) {
|
if (unloadImageList != null) {
|
||||||
for (int i = 0; i < unloadImageList.length; i++) {
|
for (int i = 0; i < unloadImageList.length; i++) {
|
||||||
fileBuffer.append("EFI_STATUS\r\n");
|
fileBuffer.append("EFI_STATUS\r\n");
|
||||||
fileBuffer.append("EFIAPI\r\n");
|
//fileBuffer.append("EFIAPI\r\n");
|
||||||
fileBuffer.append(unloadImageList[i]);
|
fileBuffer.append(unloadImageList[i]);
|
||||||
fileBuffer.append(" (\r\n");
|
fileBuffer.append(" (\r\n");
|
||||||
fileBuffer
|
fileBuffer
|
||||||
@@ -1067,7 +1067,7 @@ public class AutoGen {
|
|||||||
for (int i = 0; i < entryPointList.length; i++) {
|
for (int i = 0; i < entryPointList.length; i++) {
|
||||||
|
|
||||||
fileBuffer.append("EFI_STATUS\r\n");
|
fileBuffer.append("EFI_STATUS\r\n");
|
||||||
fileBuffer.append("EFIAPI\r\n");
|
//fileBuffer.append("EFIAPI\r\n");
|
||||||
fileBuffer.append(entryPointList[i]);
|
fileBuffer.append(entryPointList[i]);
|
||||||
fileBuffer.append(" (\r\n");
|
fileBuffer.append(" (\r\n");
|
||||||
fileBuffer.append(" IN EFI_HANDLE ImageHandle,\r\n");
|
fileBuffer.append(" IN EFI_HANDLE ImageHandle,\r\n");
|
||||||
@@ -1146,17 +1146,12 @@ public class AutoGen {
|
|||||||
//
|
//
|
||||||
// Add ModuleUnloadImage for DxeDriver and UefiDriver module type.
|
// Add ModuleUnloadImage for DxeDriver and UefiDriver module type.
|
||||||
//
|
//
|
||||||
//entryPointList = SurfaceAreaQuery.getModuleUnloadImageArray();
|
|
||||||
//
|
|
||||||
// Remover duplicate unload entry point.
|
|
||||||
//
|
|
||||||
//entryPointList = CommonDefinition.remDupString(entryPointList);
|
|
||||||
//entryPointCount = 0;
|
|
||||||
unloadImageCount = 0;
|
unloadImageCount = 0;
|
||||||
if (unloadImageList != null) {
|
if (unloadImageList != null) {
|
||||||
for (int i = 0; i < unloadImageList.length; i++) {
|
for (int i = 0; i < unloadImageList.length; i++) {
|
||||||
fileBuffer.append("EFI_STATUS\r\n");
|
fileBuffer.append("EFI_STATUS\r\n");
|
||||||
fileBuffer.append("EFIAPI\r\n");
|
//fileBuffer.append("EFIAPI\r\n");
|
||||||
fileBuffer.append(unloadImageList[i]);
|
fileBuffer.append(unloadImageList[i]);
|
||||||
fileBuffer.append(" (\r\n");
|
fileBuffer.append(" (\r\n");
|
||||||
fileBuffer
|
fileBuffer
|
||||||
|
Reference in New Issue
Block a user