summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorqouyang <qouyang@6f19259b-4bc3-4df7-8a09-765794883524>2006-09-18 09:56:40 +0000
committerqouyang <qouyang@6f19259b-4bc3-4df7-8a09-765794883524>2006-09-18 09:56:40 +0000
commit3e73f377a8b366c595c2790876e6409fea48191d (patch)
tree81c720217619b00008ddf164b9449494299fda34 /Tools
parent7f47bef3d84592acab50329f58a0de76d150dd50 (diff)
downloadedk2-3e73f377a8b366c595c2790876e6409fea48191d.zip
edk2-3e73f377a8b366c595c2790876e6409fea48191d.tar.gz
edk2-3e73f377a8b366c595c2790876e6409fea48191d.tar.bz2
Fixed EDK258.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1549 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools')
-rw-r--r--Tools/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java21
1 files changed, 8 insertions, 13 deletions
diff --git a/Tools/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java b/Tools/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java
index 1974640..8c92bef 100644
--- a/Tools/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java
+++ b/Tools/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java
@@ -781,7 +781,7 @@ public class AutoGen {
"Module type = 'PEI_CORE', can have only one module entry point!");
} else {
fileBuffer.append("EFI_STATUS\r\n");
- fileBuffer.append("EFIAPI\r\n");
+ //fileBuffer.append("EFIAPI\r\n");
fileBuffer.append(entryPointList[0]);
fileBuffer.append(" (\r\n");
fileBuffer
@@ -814,7 +814,7 @@ public class AutoGen {
} else {
fileBuffer.append("VOID\r\n");
- fileBuffer.append("EFIAPI\r\n");
+ //fileBuffer.append("EFIAPI\r\n");
fileBuffer.append(entryPointList[0]);
fileBuffer.append(" (\n");
fileBuffer.append(" IN VOID *HobStart\r\n");
@@ -851,7 +851,7 @@ public class AutoGen {
}
for (int i = 0; i < entryPointList.length; i++) {
fileBuffer.append("EFI_STATUS\r\n");
- fileBuffer.append("EFIAPI\r\n");
+ //fileBuffer.append("EFIAPI\r\n");
fileBuffer.append(entryPointList[i]);
fileBuffer.append(" (\r\n");
fileBuffer
@@ -920,7 +920,7 @@ public class AutoGen {
} else {
for (int i = 0; i < entryPointList.length; i++) {
fileBuffer.append("EFI_STATUS\r\n");
- fileBuffer.append("EFIAPI\r\n");
+ //fileBuffer.append("EFIAPI\r\n");
fileBuffer.append(entryPointList[i]);
fileBuffer.append(" (\r\n");
fileBuffer.append(" IN EFI_HANDLE ImageHandle,\r\n");
@@ -987,7 +987,7 @@ public class AutoGen {
if (unloadImageList != null) {
for (int i = 0; i < unloadImageList.length; i++) {
fileBuffer.append("EFI_STATUS\r\n");
- fileBuffer.append("EFIAPI\r\n");
+ //fileBuffer.append("EFIAPI\r\n");
fileBuffer.append(unloadImageList[i]);
fileBuffer.append(" (\r\n");
fileBuffer
@@ -1067,7 +1067,7 @@ public class AutoGen {
for (int i = 0; i < entryPointList.length; i++) {
fileBuffer.append("EFI_STATUS\r\n");
- fileBuffer.append("EFIAPI\r\n");
+ //fileBuffer.append("EFIAPI\r\n");
fileBuffer.append(entryPointList[i]);
fileBuffer.append(" (\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.
//
- //entryPointList = SurfaceAreaQuery.getModuleUnloadImageArray();
- //
- // Remover duplicate unload entry point.
- //
- //entryPointList = CommonDefinition.remDupString(entryPointList);
- //entryPointCount = 0;
+
unloadImageCount = 0;
if (unloadImageList != null) {
for (int i = 0; i < unloadImageList.length; i++) {
fileBuffer.append("EFI_STATUS\r\n");
- fileBuffer.append("EFIAPI\r\n");
+ //fileBuffer.append("EFIAPI\r\n");
fileBuffer.append(unloadImageList[i]);
fileBuffer.append(" (\r\n");
fileBuffer