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
This commit is contained in:
zliu3 2007-01-12 09:07:18 +00:00
parent e360ea4d73
commit fb610f2ac1
4 changed files with 34 additions and 60 deletions

View File

@ -54,9 +54,6 @@
<Externs> <Externs>
<Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification> <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
<Specification>EDK_RELEASE_VERSION 0x00020000</Specification> <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>
<Extern>
<Constructor>DxeSalLibConstructor</Constructor>
</Extern>
<Extern> <Extern>
<SetVirtualAddressMapCallBack>DxeSalVirtualNotifyEvent</SetVirtualAddressMapCallBack> <SetVirtualAddressMapCallBack>DxeSalVirtualNotifyEvent</SetVirtualAddressMapCallBack>
</Extern> </Extern>

View File

@ -1,13 +1,13 @@
/*++ /*++
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: Module Name:
@ -58,16 +58,6 @@ DxeSalLibInitialize (
return EFI_SUCCESS; return EFI_SUCCESS;
} }
EFI_STATUS
EFIAPI
DxeSalLibConstructor (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
)
{
return DxeSalLibInitialize ();
}
VOID VOID
EFIAPI EFIAPI
DxeSalVirtualNotifyEvent ( DxeSalVirtualNotifyEvent (
@ -83,10 +73,10 @@ Routine Description:
Arguments: Arguments:
Event - The Event that is being processed Event - The Event that is being processed
Context - Event Context Context - Event Context
Returns: Returns:
None None
@ -115,11 +105,11 @@ Routine Description:
Arguments: Arguments:
FunctionId - ID of function to register FunctionId - ID of function to register
ClassGuid - GUID of function class ClassGuid - GUID of function class
Function - Function to register under ClassGuid/FunctionId pair Function - Function to register under ClassGuid/FunctionId pair
ModuleGlobal - Module global for Function. ModuleGlobal - Module global for Function.
Returns: Returns:
EFI_SUCCESS - If ClassGuid/FunctionId Function was registered. EFI_SUCCESS - If ClassGuid/FunctionId Function was registered.
--*/ --*/
@ -149,12 +139,12 @@ Routine Description:
This function is boot service only! This function is boot service only!
Arguments: Arguments:
ClassGuid - GUID of function class ClassGuid - GUID of function class
ModuleGlobal - Module global for Function. 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. indicates the end of the list.
Returns: Returns:
EFI_SUCCESS - All members of ClassGuid registered EFI_SUCCESS - All members of ClassGuid registered
--*/ --*/
@ -209,7 +199,7 @@ EfiCallEsalService (
Routine Description: 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 relative and hides the binding issues of virtual or physical calling. The
function that gets dispatched has extra arguments that include the registered 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. 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 Arg7 - Argument 7 ClassGuid/FunctionId defined
Arg8 - Argument 8 ClassGuid/FunctionId defined Arg8 - Argument 8 ClassGuid/FunctionId defined
Returns: Returns:
Status of ClassGuid/FuncitonId Status of ClassGuid/FuncitonId
--*/ --*/

View File

@ -54,8 +54,5 @@
<Externs> <Externs>
<Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification> <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
<Specification>EDK_RELEASE_VERSION 0x00020000</Specification> <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>
<Extern>
<Constructor>DxeSalLibConstructor</Constructor>
</Extern>
</Externs> </Externs>
</ModuleSurfaceArea> </ModuleSurfaceArea>

View File

@ -1,13 +1,13 @@
/*++ /*++
Copyright (c) 2006, Intel Corporation Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: Module Name:
@ -58,16 +58,6 @@ DxeSalLibInitialize (
return EFI_SUCCESS; return EFI_SUCCESS;
} }
EFI_STATUS
EFIAPI
DxeSalLibConstructor (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
)
{
return DxeSalLibInitialize ();
}
VOID VOID
EFIAPI EFIAPI
DxeSalVirtualNotifyEvent ( DxeSalVirtualNotifyEvent (
@ -83,10 +73,10 @@ Routine Description:
Arguments: Arguments:
Event - The Event that is being processed Event - The Event that is being processed
Context - Event Context Context - Event Context
Returns: Returns:
None None
@ -115,11 +105,11 @@ Routine Description:
Arguments: Arguments:
FunctionId - ID of function to register FunctionId - ID of function to register
ClassGuid - GUID of function class ClassGuid - GUID of function class
Function - Function to register under ClassGuid/FunctionId pair Function - Function to register under ClassGuid/FunctionId pair
ModuleGlobal - Module global for Function. ModuleGlobal - Module global for Function.
Returns: Returns:
EFI_SUCCESS - If ClassGuid/FunctionId Function was registered. EFI_SUCCESS - If ClassGuid/FunctionId Function was registered.
--*/ --*/
@ -149,12 +139,12 @@ Routine Description:
This function is boot service only! This function is boot service only!
Arguments: Arguments:
ClassGuid - GUID of function class ClassGuid - GUID of function class
ModuleGlobal - Module global for Function. 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. indicates the end of the list.
Returns: Returns:
EFI_SUCCESS - All members of ClassGuid registered EFI_SUCCESS - All members of ClassGuid registered
--*/ --*/
@ -209,7 +199,7 @@ EfiCallEsalService (
Routine Description: 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 relative and hides the binding issues of virtual or physical calling. The
function that gets dispatched has extra arguments that include the registered 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. 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 Arg7 - Argument 7 ClassGuid/FunctionId defined
Arg8 - Argument 8 ClassGuid/FunctionId defined Arg8 - Argument 8 ClassGuid/FunctionId defined
Returns: Returns:
Status of ClassGuid/FuncitonId Status of ClassGuid/FuncitonId
--*/ --*/