diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-06-01 15:09:58 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-06-05 13:49:17 +0800 |
commit | 6c252691c3be5f10df1708589821c8bb65244a8e (patch) | |
tree | bf1f5d75ccfb01876c40b836121dcf5b35db84de /BaseTools/Source/Python/build/BuildReport.py | |
parent | f6406f94dca148f4492ddd1679ada73fe4ac323b (diff) | |
download | edk2-6c252691c3be5f10df1708589821c8bb65244a8e.tar.gz edk2-6c252691c3be5f10df1708589821c8bb65244a8e.tar.bz2 edk2-6c252691c3be5f10df1708589821c8bb65244a8e.zip |
MdeModulePkg/DxeResetSystemLib: Avoid depending on UefiRuntimeLib
Current DxeResetSystemLib depends on UefiRuntimeLib because it calls
EfiResetSystem() API exposed by UefiRuntimeLib.
Due to the commit:
"MdePkg/UefiRuntimeLib: Do not allow to be linked by DXE driver"
which reverts UefiRuntimeLib to only support DXE_RUNTIME_DRIVER,
removing UefiRuntimeLib dependency makes the DxeResetSystemLib
can be used by DXE drivers.
The patch also disallows the DxeResetSystemLib to be linked by
runtime driver, SMM drivers.
Runtime driver cannot link to this library because the gRT is not
converted when entering to RT.
SMM driver cannot link to this library because calling RT services
from SMM after EndOfDxe violates security guideline.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/build/BuildReport.py')
0 files changed, 0 insertions, 0 deletions