diff options
author | qouyang <qouyang@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-07-27 03:44:58 +0000 |
---|---|---|
committer | qouyang <qouyang@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-07-27 03:44:58 +0000 |
commit | 1dbcbb6158d394dcb736bd08a44c299169005c15 (patch) | |
tree | e49c241d3885a4f0d98b4175b164a3e0a32879e8 /Tools | |
parent | 8f55ea7396747725b18b8090f9d3fc5c22d1c53f (diff) | |
download | edk2-platforms-1dbcbb6158d394dcb736bd08a44c299169005c15.tar.xz |
Fixed EDKT145
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1112 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Tools/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java b/Tools/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java index fa7b8a8b90..366e0ac59d 100644 --- a/Tools/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java +++ b/Tools/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java @@ -1505,6 +1505,7 @@ public class AutoGen { switch (CommonDefinition.getModuleType(moduleType)) {
case CommonDefinition.ModuleTypeBase:
fileBuffer.append("RETURN_STATUS\r\n");
+ fileBuffer.append("EFIAPI\r\n");
fileBuffer.append(libInstanceList.get(i));
fileBuffer.append(" (\r\n");
fileBuffer.append(" VOID\r\n");
@@ -1514,6 +1515,7 @@ public class AutoGen { case CommonDefinition.ModuleTypePeiCore:
case CommonDefinition.ModuleTypePeim:
fileBuffer.append("EFI_STATUS\r\n");
+ fileBuffer.append("EFIAPI\r\n");
fileBuffer.append(libInstanceList.get(i));
fileBuffer.append(" (\r\n");
fileBuffer
@@ -1531,6 +1533,7 @@ public class AutoGen { case CommonDefinition.ModuleTypeUefiDriver:
case CommonDefinition.ModuleTypeUefiApplication:
fileBuffer.append("EFI_STATUS\r\n");
+ fileBuffer.append("EFIAPI\r\n");
fileBuffer.append(libInstanceList.get(i));
fileBuffer.append(" (\r\n");
fileBuffer.append(" IN EFI_HANDLE ImageHandle,\r\n");
@@ -1544,6 +1547,7 @@ public class AutoGen { // Add ProcessLibraryConstructorList in AutoGen.c
//
fileBuffer.append("VOID\r\n");
+ fileBuffer.append("EFIAPI\r\n");
fileBuffer.append("ProcessLibraryConstructorList (\r\n");
switch (CommonDefinition.getModuleType(moduleType)) {
case CommonDefinition.ModuleTypeBase:
@@ -1636,7 +1640,8 @@ public class AutoGen { for (int i = 0; i < libInstanceList.size(); i++) {
switch (CommonDefinition.getModuleType(moduleType)) {
case CommonDefinition.ModuleTypeBase:
- fileBuffer.append("RETURN_STATUS\n");
+ fileBuffer.append("RETURN_STATUS\r\n");
+ fileBuffer.append("EFIAPI\r\n");
fileBuffer.append(libInstanceList.get(i));
fileBuffer.append(" (\r\n");
fileBuffer.append(" VOID\r\n");
@@ -1645,6 +1650,7 @@ public class AutoGen { case CommonDefinition.ModuleTypePeiCore:
case CommonDefinition.ModuleTypePeim:
fileBuffer.append("EFI_STATUS\r\n");
+ fileBuffer.append("EFIAPI\r\n");
fileBuffer.append(libInstanceList.get(i));
fileBuffer.append(" (\r\n");
fileBuffer
@@ -1661,6 +1667,7 @@ public class AutoGen { case CommonDefinition.ModuleTypeUefiDriver:
case CommonDefinition.ModuleTypeUefiApplication:
fileBuffer.append("EFI_STATUS\r\n");
+ fileBuffer.append("EFIAPI\r\n");
fileBuffer.append(libInstanceList.get(i));
fileBuffer.append(" (\r\n");
fileBuffer.append(" IN EFI_HANDLE ImageHandle,\r\n");
@@ -1686,6 +1693,7 @@ public class AutoGen { case CommonDefinition.ModuleTypeUefiDriver:
case CommonDefinition.ModuleTypeUefiApplication:
fileBuffer.append("VOID\r\n");
+ fileBuffer.append("EFIAPI\r\n");
fileBuffer.append("ProcessLibraryDestructorList (\r\n");
fileBuffer.append(" IN EFI_HANDLE ImageHandle,\r\n");
fileBuffer.append(" IN EFI_SYSTEM_TABLE *SystemTable\r\n");
|