-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support the platform specific event hooks which can be customized.
Support the platform specific event hooks which can be customized.
- Loading branch information
Showing
8 changed files
with
126 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/** | ||
This file include the platform specific event hooks which can be customized by IBV/OEM. | ||
Copyright (C) Microsoft Corporation. All rights reserved. | ||
SPDX-License-Identifier: BSD-2-Clause-Patent | ||
**/ | ||
|
||
#ifndef _BDS_PLATFORM_EVENT_LIB_H_ | ||
#define _BDS_PLATFORM_EVENT_LIB_H_ | ||
|
||
/** | ||
The Hook Before End Of Dxe Event. it used for customized porting. | ||
**/ | ||
VOID | ||
BeforeEndOfDxeEventHook ( | ||
VOID | ||
); | ||
|
||
/** | ||
The Hook After End Of Dxe Event. it used for customized porting. | ||
**/ | ||
VOID | ||
AfterEndOfDxeEventHook ( | ||
VOID | ||
); | ||
|
||
/** | ||
The Hook Dispatch the deferred 3rd party images Event. it used for customized porting. | ||
**/ | ||
VOID | ||
AfterDispatchDeferredImagesHook ( | ||
VOID | ||
); | ||
|
||
#endif |
42 changes: 42 additions & 0 deletions
42
MsCorePkg/Library/BdsPlatformEventLibNull/BdsPlatformEventLibNull.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/** @file | ||
This file include the platform specific event hooks which can be customized by IBV/OEM. | ||
Copyright (C) Microsoft Corporation. All rights reserved. | ||
SPDX-License-Identifier: BSD-2-Clause-Patent | ||
**/ | ||
|
||
#include <Uefi.h> | ||
|
||
/** | ||
The Hook Before End Of Dxe Event. it used for customized porting. | ||
**/ | ||
VOID | ||
BeforeEndOfDxeEventHook ( | ||
VOID | ||
) | ||
{ | ||
return; | ||
} | ||
|
||
/** | ||
The Hook After End Of Dxe Event. it used for customized porting. | ||
**/ | ||
VOID | ||
AfterEndOfDxeEventHook ( | ||
VOID | ||
) | ||
{ | ||
return; | ||
} | ||
|
||
/** | ||
The Hook Dispatch the deferred 3rd party images Event. it used for customized porting. | ||
**/ | ||
VOID | ||
AfterDispatchDeferredImagesHook ( | ||
VOID | ||
) | ||
{ | ||
return; | ||
} |
34 changes: 34 additions & 0 deletions
34
MsCorePkg/Library/BdsPlatformEventLibNull/BdsPlatformEventLibNull.inf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/** @file | ||
*This file include the platform specific event hooks which can be customized by IBV/OEM. | ||
|
||
Copyright (C) Microsoft Corporation. All rights reserved. | ||
SPDX-License-Identifier: BSD-2-Clause-Patent | ||
|
||
**/ | ||
|
||
|
||
[Defines] | ||
INF_VERSION = 0x00010018 | ||
BASE_NAME = BdsPlatformEventLibNull | ||
FILE_GUID = 55000994-06FB-43AB-A648-CD9CB2A7B273 | ||
VERSION_STRING = 1.0 | ||
MODULE_TYPE = DXE_DRIVER | ||
UEFI_SPECIFICATION_VERSION = 2.7 | ||
LIBRARY_CLASS = BdsPlatformEventLib|DXE_DRIVER | ||
|
||
# | ||
# The following information is for reference only and not required by the build tools. | ||
# | ||
# VALID_ARCHITECTURES = IA32 X64 EBC | ||
# | ||
|
||
[Sources] | ||
BdsPlatformEventLibNull.c | ||
|
||
[Packages] | ||
MdePkg/MdePkg.dec | ||
MdeModulePkg/MdeModulePkg.dec | ||
MsCorePkg/MsCorePkg.dec | ||
|
||
[LibraryClasses] | ||
BaseLib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters