diff options
author | zliu3 <zliu3@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-12 09:07:18 +0000 |
---|---|---|
committer | zliu3 <zliu3@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-12 09:07:18 +0000 |
commit | fb610f2ac1a90ea5ed11e43edd386739314e8cb1 (patch) | |
tree | e08d5a4ab941617145bf68c6776417ff7eccc922 /EdkModulePkg | |
parent | e360ea4d73ef9c21e49802259c418c92ae8f9861 (diff) | |
download | edk2-platforms-fb610f2ac1a90ea5ed11e43edd386739314e8cb1.tar.xz |
Removed the DxeSalLibConstructor() from the EdkDxeSalLib and EdkDxeRuntimeSalLib for the AutoGen lib constructor tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2241 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg')
4 files changed, 34 insertions, 60 deletions
diff --git a/EdkModulePkg/Library/EdkDxeRuntimeSalLib/EdkDxeRuntimeSalLib.msa b/EdkModulePkg/Library/EdkDxeRuntimeSalLib/EdkDxeRuntimeSalLib.msa index 6df0cb970b..1ce18d70b0 100644 --- a/EdkModulePkg/Library/EdkDxeRuntimeSalLib/EdkDxeRuntimeSalLib.msa +++ b/EdkModulePkg/Library/EdkDxeRuntimeSalLib/EdkDxeRuntimeSalLib.msa @@ -55,9 +55,6 @@ <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
<Specification>EDK_RELEASE_VERSION 0x00020000</Specification>
<Extern>
- <Constructor>DxeSalLibConstructor</Constructor>
- </Extern>
- <Extern>
<SetVirtualAddressMapCallBack>DxeSalVirtualNotifyEvent</SetVirtualAddressMapCallBack>
</Extern>
</Externs>
diff --git a/EdkModulePkg/Library/EdkDxeRuntimeSalLib/Ipf/EsalServiceLib.c b/EdkModulePkg/Library/EdkDxeRuntimeSalLib/Ipf/EsalServiceLib.c index 9eb909dcd3..199b14becc 100644 --- a/EdkModulePkg/Library/EdkDxeRuntimeSalLib/Ipf/EsalServiceLib.c +++ b/EdkModulePkg/Library/EdkDxeRuntimeSalLib/Ipf/EsalServiceLib.c @@ -1,13 +1,13 @@ /*++
-Copyright (c) 2006, Intel Corporation
-All rights reserved. This program and the accompanying materials
-are licensed and made available under the terms and conditions of the BSD License
-which accompanies this distribution. The full text of the license may be found at
-http://opensource.org/licenses/bsd-license.php
-
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+Copyright (c) 2006, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name:
@@ -58,16 +58,6 @@ DxeSalLibInitialize ( return EFI_SUCCESS;
}
-EFI_STATUS
-EFIAPI
-DxeSalLibConstructor (
- IN EFI_HANDLE ImageHandle,
- IN EFI_SYSTEM_TABLE *SystemTable
- )
-{
- return DxeSalLibInitialize ();
-}
-
VOID
EFIAPI
DxeSalVirtualNotifyEvent (
@@ -83,10 +73,10 @@ Routine Description: Arguments:
Event - The Event that is being processed
-
+
Context - Event Context
-Returns:
+Returns:
None
@@ -115,11 +105,11 @@ Routine Description: Arguments:
FunctionId - ID of function to register
- ClassGuid - GUID of function class
+ ClassGuid - GUID of function class
Function - Function to register under ClassGuid/FunctionId pair
ModuleGlobal - Module global for Function.
-Returns:
+Returns:
EFI_SUCCESS - If ClassGuid/FunctionId Function was registered.
--*/
@@ -149,12 +139,12 @@ Routine Description: This function is boot service only!
Arguments:
- ClassGuid - GUID of function class
+ ClassGuid - GUID of function class
ModuleGlobal - Module global for Function.
- ... - SAL_INTERNAL_EXTENDED_SAL_PROC and FunctionId pairs. NULL
+ ... - SAL_INTERNAL_EXTENDED_SAL_PROC and FunctionId pairs. NULL
indicates the end of the list.
-Returns:
+Returns:
EFI_SUCCESS - All members of ClassGuid registered
--*/
@@ -209,7 +199,7 @@ EfiCallEsalService ( Routine Description:
- Call module that is not linked direclty to this module. This code is IP
+ Call module that is not linked direclty to this module. This code is IP
relative and hides the binding issues of virtual or physical calling. The
function that gets dispatched has extra arguments that include the registered
module global and a boolean flag to indicate if the system is in virutal mode.
@@ -225,7 +215,7 @@ Arguments: Arg7 - Argument 7 ClassGuid/FunctionId defined
Arg8 - Argument 8 ClassGuid/FunctionId defined
-Returns:
+Returns:
Status of ClassGuid/FuncitonId
--*/
diff --git a/EdkModulePkg/Library/EdkDxeSalLib/EdkDxeSalLib.msa b/EdkModulePkg/Library/EdkDxeSalLib/EdkDxeSalLib.msa index 9d90f42102..698fb5d978 100644 --- a/EdkModulePkg/Library/EdkDxeSalLib/EdkDxeSalLib.msa +++ b/EdkModulePkg/Library/EdkDxeSalLib/EdkDxeSalLib.msa @@ -54,8 +54,5 @@ <Externs>
<Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
<Specification>EDK_RELEASE_VERSION 0x00020000</Specification>
- <Extern>
- <Constructor>DxeSalLibConstructor</Constructor>
- </Extern>
</Externs>
</ModuleSurfaceArea>
\ No newline at end of file diff --git a/EdkModulePkg/Library/EdkDxeSalLib/Ipf/EsalServiceLib.c b/EdkModulePkg/Library/EdkDxeSalLib/Ipf/EsalServiceLib.c index 9eb909dcd3..199b14becc 100644 --- a/EdkModulePkg/Library/EdkDxeSalLib/Ipf/EsalServiceLib.c +++ b/EdkModulePkg/Library/EdkDxeSalLib/Ipf/EsalServiceLib.c @@ -1,13 +1,13 @@ /*++
-Copyright (c) 2006, Intel Corporation
-All rights reserved. This program and the accompanying materials
-are licensed and made available under the terms and conditions of the BSD License
-which accompanies this distribution. The full text of the license may be found at
-http://opensource.org/licenses/bsd-license.php
-
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+Copyright (c) 2006, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name:
@@ -58,16 +58,6 @@ DxeSalLibInitialize ( return EFI_SUCCESS;
}
-EFI_STATUS
-EFIAPI
-DxeSalLibConstructor (
- IN EFI_HANDLE ImageHandle,
- IN EFI_SYSTEM_TABLE *SystemTable
- )
-{
- return DxeSalLibInitialize ();
-}
-
VOID
EFIAPI
DxeSalVirtualNotifyEvent (
@@ -83,10 +73,10 @@ Routine Description: Arguments:
Event - The Event that is being processed
-
+
Context - Event Context
-Returns:
+Returns:
None
@@ -115,11 +105,11 @@ Routine Description: Arguments:
FunctionId - ID of function to register
- ClassGuid - GUID of function class
+ ClassGuid - GUID of function class
Function - Function to register under ClassGuid/FunctionId pair
ModuleGlobal - Module global for Function.
-Returns:
+Returns:
EFI_SUCCESS - If ClassGuid/FunctionId Function was registered.
--*/
@@ -149,12 +139,12 @@ Routine Description: This function is boot service only!
Arguments:
- ClassGuid - GUID of function class
+ ClassGuid - GUID of function class
ModuleGlobal - Module global for Function.
- ... - SAL_INTERNAL_EXTENDED_SAL_PROC and FunctionId pairs. NULL
+ ... - SAL_INTERNAL_EXTENDED_SAL_PROC and FunctionId pairs. NULL
indicates the end of the list.
-Returns:
+Returns:
EFI_SUCCESS - All members of ClassGuid registered
--*/
@@ -209,7 +199,7 @@ EfiCallEsalService ( Routine Description:
- Call module that is not linked direclty to this module. This code is IP
+ Call module that is not linked direclty to this module. This code is IP
relative and hides the binding issues of virtual or physical calling. The
function that gets dispatched has extra arguments that include the registered
module global and a boolean flag to indicate if the system is in virutal mode.
@@ -225,7 +215,7 @@ Arguments: Arg7 - Argument 7 ClassGuid/FunctionId defined
Arg8 - Argument 8 ClassGuid/FunctionId defined
-Returns:
+Returns:
Status of ClassGuid/FuncitonId
--*/
|