1. build.py's changes : include XXXEntryPointLib.h into the corresponding autogen.c files of various modules to avoid the inconsistence between the interface definition of library class and the implementation of autogen.c
2. code base changes : modify some interface definitions to follow the lastest Mde Library Spec. 3. PeiCore changes : remove the return value of PeiCore() which is meaningless as PeiCore will never reach the end of procedure.replace it with VOID. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6271 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
#define __MODULE_ENTRY_POINT_H__
|
||||
|
||||
///
|
||||
/// Declare the cache of copy of HobList.
|
||||
/// Global variable that contains a pointer to the Hob List passed into the DXE Core entry point.
|
||||
///
|
||||
extern VOID *gHobList;
|
||||
|
||||
|
@@ -88,8 +88,8 @@ EfiMain (
|
||||
VOID
|
||||
EFIAPI
|
||||
ProcessLibraryConstructorList (
|
||||
IN EFI_PEI_FILE_HANDLE *FfsHeader,
|
||||
IN EFI_PEI_SERVICES **PeiServices
|
||||
IN EFI_PEI_FILE_HANDLE FileHandle,
|
||||
IN CONST EFI_PEI_SERVICES **PeiServices
|
||||
);
|
||||
|
||||
|
||||
|
@@ -18,7 +18,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
///
|
||||
/// Declare the EFI/UEFI Specification Revision to which this driver is implemented
|
||||
///
|
||||
extern const UINT32 _gPeimRevision;
|
||||
extern CONST UINT32 _gPeimRevision;
|
||||
|
||||
|
||||
/**
|
||||
Image entry point of Peim.
|
||||
@@ -32,8 +33,8 @@ extern const UINT32 _gPeimRevision;
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
_ModuleEntryPoint (
|
||||
IN EFI_PEI_FILE_HANDLE *FfsHeader,
|
||||
IN EFI_PEI_SERVICES **PeiServices
|
||||
IN EFI_PEI_FILE_HANDLE FileHandle,
|
||||
IN CONST EFI_PEI_SERVICES **PeiServices
|
||||
);
|
||||
|
||||
|
||||
@@ -49,8 +50,8 @@ _ModuleEntryPoint (
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
EfiMain (
|
||||
IN EFI_PEI_FILE_HANDLE *FfsHeader,
|
||||
IN EFI_PEI_SERVICES **PeiServices
|
||||
IN EFI_PEI_FILE_HANDLE FileHandle,
|
||||
IN CONST EFI_PEI_SERVICES **PeiServices
|
||||
);
|
||||
|
||||
|
||||
@@ -64,8 +65,8 @@ EfiMain (
|
||||
VOID
|
||||
EFIAPI
|
||||
ProcessLibraryConstructorList (
|
||||
IN EFI_PEI_FILE_HANDLE *FfsHeader,
|
||||
IN EFI_PEI_SERVICES **PeiServices
|
||||
IN EFI_PEI_FILE_HANDLE FileHandle,
|
||||
IN CONST EFI_PEI_SERVICES **PeiServices
|
||||
);
|
||||
|
||||
|
||||
@@ -79,8 +80,8 @@ ProcessLibraryConstructorList (
|
||||
VOID
|
||||
EFIAPI
|
||||
ProcessLibraryDestructorList (
|
||||
IN EFI_PEI_FILE_HANDLE *FfsHeader,
|
||||
IN EFI_PEI_SERVICES **PeiServices
|
||||
IN EFI_PEI_FILE_HANDLE FileHandle,
|
||||
IN CONST EFI_PEI_SERVICES **PeiServices
|
||||
);
|
||||
|
||||
|
||||
@@ -96,8 +97,8 @@ ProcessLibraryDestructorList (
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
ProcessModuleEntryPointList (
|
||||
IN EFI_PEI_FILE_HANDLE *FfsHeader,
|
||||
IN EFI_PEI_SERVICES **PeiServices
|
||||
IN EFI_PEI_FILE_HANDLE FileHandle,
|
||||
IN CONST EFI_PEI_SERVICES **PeiServices
|
||||
);
|
||||
|
||||
#endif
|
||||
|
@@ -18,7 +18,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
///
|
||||
/// Declare the EFI/UEFI Specification Revision to which this driver is implemented
|
||||
///
|
||||
extern const UINT32 _gUefiDriverRevision;
|
||||
extern CONST UINT32 _gUefiDriverRevision;
|
||||
|
||||
|
||||
/**
|
||||
Enrty point to UEFI Application.
|
||||
|
@@ -18,27 +18,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
///
|
||||
/// Declare the EFI/UEFI Specification Revision to which this driver is implemented
|
||||
///
|
||||
extern const UINT32 _gUefiDriverRevision;
|
||||
|
||||
///
|
||||
/// Declare the number of entry points in the image.
|
||||
///
|
||||
extern const UINT8 _gDriverEntryPointCount;
|
||||
extern CONST UINT32 _gUefiDriverRevision;
|
||||
|
||||
///
|
||||
/// Declare the number of unload handler in the image.
|
||||
///
|
||||
extern const UINT8 _gDriverUnloadImageCount;
|
||||
extern CONST UINT8 _gDriverUnloadImageCount;
|
||||
|
||||
///
|
||||
/// Declare the arrary of Boot Sevice Exit Event callbacks .
|
||||
///
|
||||
extern const EFI_EVENT_NOTIFY _gDriverExitBootServicesEvent[];
|
||||
|
||||
///
|
||||
/// Declare the arrary of Virtual Address Change Event callbacks .
|
||||
///
|
||||
extern const EFI_EVENT_NOTIFY _gDriverSetVirtualAddressMapEvent[];
|
||||
|
||||
/**
|
||||
Enrty point to DXE Driver.
|
||||
|
Reference in New Issue
Block a user