diff options
author | Laszlo Ersek <lersek@redhat.com> | 2017-09-30 17:39:48 +0300 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2017-10-10 12:25:21 +0300 |
commit | f1304280435fa3385f1d52f37ac4a562e16f8c89 (patch) | |
tree | c8e0951d4b44f3b1960c933f8dd75508ecc5a5a7 /BaseTools/Source/Python/build/BuildReport.py | |
parent | 03877377e32646bedfac0e8ff8ca4689d64f06d0 (diff) | |
download | edk2-f1304280435fa3385f1d52f37ac4a562e16f8c89.tar.xz |
MdeModulePkg/Variable/RuntimeDxe: introduce MorLockInitAtEndOfDxe() hook
Introduce the MorLockInitAtEndOfDxe() hook, in order to allow
MorLockInit() to delay / queue operations until EndOfDxe. (Or, if the
platform never signals EndOfDxe, until ReadyToBoot.)
Call MorLockInitAtEndOfDxe() whenever we set "mEndOfDxe" to TRUE:
- in VariableRuntimeDxe:
- in the OnReadyToBoot() function,
- in the OnEndOfDxe() function;
- in VariableSmm:
- on the SMM_VARIABLE_FUNCTION_READY_TO_BOOT SMI request,
- in the SmmEndOfDxeCallback() function.
For now, implement MorLockInitAtEndOfDxe() as a no-op in both
VariableRuntimeDxe and VariableSmm.
Cc: Eric Dong <eric.dong@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Ladi Prosek <lprosek@redhat.com>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Tested-by: Ladi Prosek <lprosek@redhat.com>
Diffstat (limited to 'BaseTools/Source/Python/build/BuildReport.py')
0 files changed, 0 insertions, 0 deletions