audk/MdeModulePkg/Library
Ruiyu Ni 6c252691c3 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>
2018-06-05 13:49:17 +08:00
..
AuthVariableLibNull MdeModulePkg: Deprecate EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS 2017-11-01 22:25:36 +08:00
BaseBmpSupportLib MdeModulePkg: Fix coding style issues in file/function comments 2018-03-19 09:57:22 +08:00
BaseIpmiLibNull
BasePlatformHookLibNull
BaseResetSystemLibNull MdeModulePkg/BaseResetSystemLibNull: Implement ResetPlatformSpecific 2016-09-02 10:07:14 +08:00
BaseSerialPortLib16550
BaseSortLib
BootLogoLib MdeModulePkg/BootLogoLib: Use Boot Logo 2 Protocol 2018-02-28 11:59:31 -08:00
BootMaintenanceManagerUiLib MdeModulePkg: Fix misuses of AllocateCopyPool 2017-11-08 17:13:03 +08:00
BootManagerUiLib MdeModulePkg/BMUiLib: Check reset requirement before exiting UiApp 2017-07-27 10:47:15 +08:00
BrotliCustomDecompressLib MdeModulePkg BrotliLib: Rename function with the specific lib name 2018-03-16 14:34:43 +08:00
CpuExceptionHandlerLibNull MdeModulePkg/CpuExceptionHandlerLibNull: Add new API implementation 2017-12-08 14:38:49 +08:00
CustomizedDisplayLib MdeModulePkg/Library: Fix typos in comments and variables 2016-10-27 09:11:19 +08:00
DebugAgentLibNull MdeModulePkg/Library: Fix typos in comments and variables 2016-10-27 09:11:19 +08:00
DeviceManagerUiLib MdeModulePkg: Fix misuses of AllocateCopyPool 2017-11-08 17:13:03 +08:00
DisplayUpdateProgressLibGraphics MdeModulePkg: Add DisplayUpdateProgressLib instances 2018-05-28 09:30:10 -07:00
DisplayUpdateProgressLibText MdeModulePkg: Add DisplayUpdateProgressLib instances 2018-05-28 09:30:10 -07:00
DxeCapsuleLibFmp MdeModulePkg DxeCapsuleLibFmp: Fix wrong Index is used 2018-04-20 14:28:45 +08:00
DxeCapsuleLibNull MdeModulePkg/DxeCapsuleLibNull: Add ProcessCapsules() interface. 2016-11-08 22:36:58 +08:00
DxeCoreMemoryAllocationLib MdeModulePkg: Refine casting expression result to bigger size 2017-03-06 14:33:20 +08:00
DxeCorePerformanceLib MdeModulePkg/DxeCorePerformanceLib: use AllocatePeiAccessiblePages 2018-05-29 10:47:18 +02:00
DxeCrc32GuidedSectionExtractLib MdeModulePkg/Library: Fix typos in comments and variables 2016-10-27 09:11:19 +08:00
DxeDebugPrintErrorLevelLib MdeModulePkg/Library: Fix typos in comments and variables 2016-10-27 09:11:19 +08:00
DxeDpcLib MdeModulePkg/DpcLib: return error if failed to locate DPC protocol. 2017-12-22 15:33:48 +08:00
DxeFileExplorerProtocol
DxeHttpLib MdeModulePkg/DxeHttpLib: Refine some coding style. 2017-12-27 16:28:56 +08:00
DxeIpIoLib MdeModulePkg/DxeIpIoLib: Fixed the error ASSERT incorrectly used in IpIoAddIp(). 2018-01-17 08:29:48 +08:00
DxeIpmiLibIpmiProtocol
DxeNetLib MdeModulePkg/DxeNetLib: Add array range check in NetIp6IsNetEqual(). 2018-01-12 11:08:44 +08:00
DxePerformanceLib
DxePrintLibPrint2Protocol MdeModulePkg/DxePrintLibPrint2Protocol: Fix incomplete print output 2018-01-02 16:31:29 +08:00
DxeReportStatusCodeLib
DxeResetSystemLib MdeModulePkg/DxeResetSystemLib: Avoid depending on UefiRuntimeLib 2018-06-05 13:49:17 +08:00
DxeSecurityManagementLib MdeModulePkg: Fix MSFT C4255 warning 2017-11-14 18:18:43 +08:00
DxeSmmPerformanceLib MdeModulePkg DxeSmmPerformanceLib: Add missing UefiLib in *.inf at de2459d 2016-06-29 12:54:53 +08:00
DxeTcpIoLib MdeModulePkg/TcpIoLib: Cancel TCP token if connect/accept is timeout. 2017-12-12 15:50:31 +08:00
DxeUdpIoLib MdeModulePkg/DxeUdpIoLib: Did some code enhancement for UdpIoLib 2018-01-09 08:53:49 +08:00
FileExplorerLib MdeModulePkg: Update Ppi/Protocol/Guid usage in INF files 2017-10-10 18:10:25 +08:00
FmpAuthenticationLibNull MdeModulePkg/FmpAuthenticationLibNull: Add NULL instance FMP. 2016-11-08 22:36:55 +08:00
FrameBufferBltLib MdeModulePkg/FrameBufferBltLib: Fix copying of unaligned memory 2018-01-16 13:26:56 +08:00
LockBoxNullLib
LzmaCustomDecompressLib MdeModulePkg: Fix MSFT C4255 warning 2017-11-14 18:18:43 +08:00
NonDiscoverableDeviceRegistrationLib MdeModulePkg: Update NonDiscoverableDeviceRegistrationLib file header format 2017-07-26 09:00:25 +08:00
OemHookStatusCodeLibNull
PciHostBridgeLibNull
PeiCrc32GuidedSectionExtractLib MdeModulePkg: Update modules to consume CalculateCrc32() 2017-10-10 18:10:16 +08:00
PeiDebugPrintHobLib
PeiDxeDebugLibReportStatusCode MdeModulePkg/DebugLibReportStatusCode: Fix hang if format is too long 2018-03-02 13:41:33 +08:00
PeiIpmiLibIpmiPpi
PeiPerformanceLib MdeModulePkg/PerfLib: Add NULL pointer check for "Token" 2018-02-11 09:56:01 +08:00
PeiRecoveryLibNull
PeiReportStatusCodeLib
PeiResetSystemLib MdeModulePkg: Add ResetSystemLib instances that call core services 2018-02-09 15:29:58 +08:00
PeiS3LibNull
PiDxeS3BootScriptLib MdeModulePkg: Update PiDxeS3BootScriptLib Internal function name 2017-09-13 15:02:08 +08:00
PiSmmCoreMemoryAllocationLib MdeModulePkg PiSmmCoreMemoryAllocLib: Fix a FreePool() assertion issue 2017-08-01 17:44:02 +08:00
PiSmmCoreSmmServicesTableLib
PlatformBootManagerLibNull
PlatformHookLibSerialPortPpi
PlatformVarCleanupLib MdeModulePkg: Fix MSFT C4255 warning 2017-11-14 18:18:43 +08:00
ResetUtilityLib MdeModulePkg/ResetUtilityLib: Fix GCC build failure 2018-02-14 09:13:48 +08:00
RuntimeDxeReportStatusCodeLib
SmmCorePerformanceLib MdeModulePkg/PerfLib: Add NULL pointer check for "Token" 2018-02-11 09:56:01 +08:00
SmmCorePlatformHookLibNull
SmmIpmiLibSmmIpmiProtocol
SmmLockBoxLib MdeModulePkg LockBoxLib: Support LOCK_BOX_ATTRIBUTE_RESTORE_IN_S3_ONLY 2018-03-08 21:33:48 +08:00
SmmMemoryAllocationProfileLib MdeModulePkg: Refine casting expression result to bigger size 2017-03-06 14:33:20 +08:00
SmmPerformanceLib
SmmReportStatusCodeLib
SmmSmiHandlerProfileLib MdeModulePkg/SmiHandlerProfile: Add Context support in Unregister 2017-03-13 16:04:12 +08:00
TpmMeasurementLibNull
UefiBootManagerLib MdeModulePkg/UefiBootManagerLib: fix AddLoadOptionVariable docs/prototype 2018-04-23 17:49:40 +08:00
UefiHiiLib MdeModulePkg: Fix misuses of AllocateCopyPool 2017-11-08 17:13:03 +08:00
UefiHiiServicesLib
UefiMemoryAllocationProfileLib MdeModulePkg: Refine casting expression result to bigger size 2017-03-06 14:33:20 +08:00
UefiSortLib MdeModulePkg: Update Ppi/Protocol/Guid usage in INF files 2017-10-10 18:10:25 +08:00
VarCheckHiiLib MdeModulePkg/VarCheckHii: Update data type for variable "ArrayIndex" 2018-01-10 12:43:20 +08:00
VarCheckLib MdeModulePkg VarCheck: #### in L"Boot####" are upper case hex 2016-08-31 15:23:42 +08:00
VarCheckPcdLib MdeModulePkg VarCheckPcd: Make sure the bin at required alignment 2018-01-02 09:55:44 +08:00
VarCheckUefiLib MdeModulePkg VarCheck: #### in L"Boot####" are upper case hex 2016-08-31 15:23:42 +08:00