3 Copyright (c) 2004 - 2006, Intel Corporation. All rights reserved.<BR>
4 This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 EdkIIGlueDxeSmmDriverEntryPoint.h
18 Public header file for DXE SMM Driver Entry Point Lib
22 #ifndef __EDKII_GLUE_MODULE_ENTRY_POINT_H__
23 #define __EDKII_GLUE_MODULE_ENTRY_POINT_H__
26 // Declare the EFI/UEFI Specification Revision to which this driver is implemented
28 extern const UINT32 _gUefiDriverRevision
;
31 // Declare the number of entry points in the image.
33 extern const UINT8 _gDriverEntryPointCount
;
36 // Declare the number of unload handler in the image.
38 extern const UINT8 _gDriverUnloadImageCount
;
41 Enrty point to DXE SMM Driver.
43 @param ImageHandle ImageHandle of the loaded driver.
44 @param SystemTable Pointer to the EFI System Table.
46 @retval EFI_SUCCESS One or more of the drivers returned a success code.
47 @retval !EFI_SUCESS The return status from the last driver entry point in the list.
53 IN EFI_HANDLE ImageHandle
,
54 IN EFI_SYSTEM_TABLE
*SystemTable
58 Enrty point wrapper of DXE SMM Driver.
60 @param ImageHandle ImageHandle of the loaded driver.
61 @param SystemTable Pointer to the EFI System Table.
63 @retval EFI_SUCCESS One or more of the drivers returned a success code.
64 @retval !EFI_SUCESS The return status from the last driver entry point in the list.
70 IN EFI_HANDLE ImageHandle
,
71 IN EFI_SYSTEM_TABLE
*SystemTable
75 Computes the cummulative return status for the driver entry point and perform
76 a long jump back into DriverEntryPoint().
78 @param Status Status returned by the driver that is exiting.
88 Call constructs for all libraries. Automatics Generated by tool.
90 @param ImageHandle ImageHandle of the loaded driver.
91 @param SystemTable Pointer to the EFI System Table.
96 ProcessLibraryConstructorList (
97 IN EFI_HANDLE ImageHandle
,
98 IN EFI_SYSTEM_TABLE
*SystemTable
102 Call destructors for all libraries. Automatics Generated by tool.
104 @param ImageHandle ImageHandle of the loaded driver.
105 @param SystemTable Pointer to the EFI System Table.
110 ProcessLibraryDestructorList (
111 IN EFI_HANDLE ImageHandle
,
112 IN EFI_SYSTEM_TABLE
*SystemTable
117 Call the list of driver entry points. Automatics Generated by tool.
119 @param ImageHandle ImageHandle of the loaded driver.
120 @param SystemTable Pointer to the EFI System Table.
122 @return Status returned by entry points of drivers.
127 ProcessModuleEntryPointList (
128 IN EFI_HANDLE ImageHandle
,
129 IN EFI_SYSTEM_TABLE
*SystemTable
134 Call the unload handlers for all the modules. Automatics Generated by tool.
136 @param ImageHandle ImageHandle of the loaded driver.
138 @return Status returned by unload handlers of drivers.
143 ProcessModuleUnloadList (
144 IN EFI_HANDLE ImageHandle