edk2/MdePkg/Library
Kun Qin 8f5a348a9d MdePkg: BaseMemoryLib: Add memory barrier to SetMem
The implementation adds a toolchain-specific compiler barriers to
discourage reordering under aggressive optimization around memory
setting operations.

Signed-off-by: Kun Qin <kun.qin@microsoft.com>
2026-07-18 15:04:29 +00:00
..
ArmFfaMemMgmtLib MdePkg/ArmFfaMemMgmtLib: Set NS bit support in FFA_FEATURES query 2026-04-24 13:26:56 +00:00
ArmLib MdePkg: Add helper function to detect RME 2026-04-21 16:55:40 +00:00
ArmSmcLib MdePkg: Remove ARM32 Support from ArmS*cLib 2025-09-25 22:04:10 +00:00
ArmSmcLibNull ArmPkg: ArmSmcLibNull: Move ArmSmcLibNull to MdePkg 2025-04-10 17:52:48 +00:00
ArmSvcLib MdePkg: Remove ARM32 Support from ArmS*cLib 2025-09-25 22:04:10 +00:00
BaseArmTrngLibNull MdePkg: Remove ARM32 Support 2025-09-25 22:04:10 +00:00
BaseCacheMaintenanceLib MdePkg: Remove ARM32 Support 2025-09-25 22:04:10 +00:00
BaseCacheMaintenanceLibNull MdePkg: Remove ARM32 Support 2025-09-25 22:04:10 +00:00
BaseCpuLib MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
BaseCpuLibNull MdePkg: Remove ARM32 Support 2025-09-25 22:04:10 +00:00
BaseDebugLibNull MdePkg: Fix property typos in MdePkg 2026-01-26 08:44:12 +00:00
BaseDebugLibSerialPort MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
BaseDebugPrintErrorLevelLib MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
BaseExtractGuidedSectionLib MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
BaseFdtLib MdePkg/BaseFdtLib: Add FdtStringListCount and FdtStringListSearch wrappers 2026-06-04 06:55:42 +00:00
BaseIoLibIntrinsic MdePkg: Replace manual alignment checks with helper macros 2026-06-09 07:20:10 +00:00
BaseLib MdePkg: Replace manual alignment checks with helper macros 2026-06-09 07:20:10 +00:00
BaseMemoryLib MdePkg: BaseMemoryLib: Add memory barrier to SetMem 2026-07-18 15:04:29 +00:00
BaseMemoryLibMmx MdePkg: Replace manual alignment checks with helper macros 2026-06-09 07:20:10 +00:00
BaseMemoryLibOptDxe MdePkg: Replace manual alignment checks with helper macros 2026-06-09 07:20:10 +00:00
BaseMemoryLibOptPei MdePkg: Replace manual alignment checks with helper macros 2026-06-09 07:20:10 +00:00
BaseMemoryLibRepStr MdePkg: Replace manual alignment checks with helper macros 2026-06-09 07:20:10 +00:00
BaseMemoryLibSse2 MdePkg: Replace manual alignment checks with helper macros 2026-06-09 07:20:10 +00:00
BaseOrderedCollectionRedBlackTreeLib MdePkg: Update code to be more C11 compliant by using __func__ 2023-03-17 17:55:48 +00:00
BasePcdLibNull MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
BasePciCf8Lib MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
BasePciExpressLib MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
BasePciLibCf8 MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
BasePciLibPciExpress MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
BasePciSegmentInfoLibNull MdePkg/PciSegmentInfoLib: Add missing EFIAPI to GetPciSegmentInfo() 2020-06-24 05:46:27 +00:00
BasePciSegmentLibPci MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
BasePeCoffExtraActionLibNull MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00
BasePeCoffGetEntryPointLib MdePkg: Remove ARM32 Support from PE/COFF Libs 2025-09-25 22:04:10 +00:00
BasePeCoffLib MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
BasePerformanceLibNull MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BasePostCodeLibDebug MdePkg: Fix property typos in MdePkg 2026-01-26 08:44:12 +00:00
BasePostCodeLibPort80 MdePkg: Fix property typos in MdePkg 2026-01-26 08:44:12 +00:00
BasePrintLib MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
BaseReportStatusCodeLibNull MdePkg: Fix property typos in MdePkg 2026-01-26 08:44:12 +00:00
BaseRiscVSbiLib MdePkg/Library: RISC-V: Add function to probe an SBI extension 2026-05-26 23:45:14 +00:00
BaseRngLib MdePkg/BaseRngLib: Rename Riscv folder to RiscV 2026-03-11 11:56:52 +00:00
BaseRngLibNull MdePkg: Remove ARM32 Support 2025-09-25 22:04:10 +00:00
BaseRngLibTimerLib MdePkg/Rng: Add GetRngGuid() to RngLib 2023-09-08 09:48:55 +00:00
BaseS3BootScriptLibNull MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BaseS3IoLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BaseS3PciLib MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
BaseS3PciSegmentLib MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
BaseS3SmbusLib MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
BaseS3StallLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BaseSafeIntLib MdePkg: Remove ARM32 Support 2025-09-25 22:04:10 +00:00
BaseSerialPortLibNull MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
BaseSerialPortLibRiscVSbiLib MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
BaseSmbusLibNull MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BaseSynchronizationLib MdePkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
BaseTimerLibNullTemplate MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BaseUefiDecompressLib MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
CcProbeLibNull MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
CompilerIntrinsicsLib MdePkg/CompilerIntrinsicsLib: Add LoongArch64 __ashlti3 2026-06-08 08:40:19 +00:00
DxeCoreEntryPoint MdePkg: Move StackCheckLibStaticInit to StackCheckLib 2025-02-07 02:23:11 +00:00
DxeCoreHobLib MdePkg: Add two new APIs in HobLib 2025-04-18 03:48:07 +00:00
DxeExtractGuidedSectionLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
DxeHobLib MdePkg: Add two new APIs in HobLib 2025-04-18 03:48:07 +00:00
DxeHstiLib MdePkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
DxeIoLibCpuIo2 MdePkg: Replace manual alignment checks with helper macros 2026-06-09 07:20:10 +00:00
DxePcdLib MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
DxeRiscvMpxyLib MdePkg: DxeRiscvMpxyLib: Fix uninitialized variable warning 2026-06-24 14:49:50 +00:00
DxeRiscvRasAgentClientLib MdePkg: Remove contructor from Mpxy Library 2026-06-09 10:10:44 +00:00
DxeRngLib DxeRngLib: GetRandomNumber spurious success 2024-12-06 15:55:55 +00:00
DxeRuntimeDebugLibSerialPort MdePkg: Fix property typos in MdePkg 2026-01-26 08:44:12 +00:00
DxeRuntimePciExpressLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
DxeServicesLib MdePkg: Remove ARM32 Support from Service Table Libs 2025-09-25 22:04:10 +00:00
DxeServicesTableLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
DxeSmbusLib MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
DynamicStackCookieEntryPointLib MdePkg/DynamicStackCookieEntryPointLib: Add LoongArch64 support 2026-07-07 08:49:21 +00:00
FvLib MdePkg/FvLib: Need section alignment for FindFfsSectionInSections 2026-01-19 08:56:25 +00:00
JedecJep106Lib MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
MipiSysTLib MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
MmServicesTableLib MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
MmUnblockMemoryLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PciSegmentLibSegmentInfo MdePkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
PeiCoreEntryPoint MdePkg: Move StackCheckLibStaticInit to StackCheckLib 2025-02-07 02:23:11 +00:00
PeiDxePostCodeLibReportStatusCode MdePkg: Fix property typos in MdePkg 2026-01-26 08:44:12 +00:00
PeiExtractGuidedSectionLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PeiHobLib MdePkg: Replace manual alignment checks with helper macros 2026-06-09 07:20:10 +00:00
PeiIoLibCpuIo MdePkg: Replace manual alignment checks with helper macros 2026-06-09 07:20:10 +00:00
PeiMemoryAllocationLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PeiMemoryLib MdePkg: Replace manual alignment checks with helper macros 2026-06-09 07:20:10 +00:00
PeimEntryPoint MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
PeiPcdLib MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
PeiPciLibPciCfg2 MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
PeiPciSegmentLibPciCfg2 MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
PeiResourcePublicationLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PeiRngLib MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
PeiServicesLib MdePkg: CodeQL Fixes. 2024-11-01 04:30:39 +00:00
PeiServicesTablePointerLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PeiServicesTablePointerLibIdt MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PeiServicesTablePointerLibKs0 MdePkg: Add a new library named PeiServicesTablePointerLibKs0 2024-02-06 23:51:47 +08:00
PeiServicesTablePointerLibRiscV MdePkg: RISC-V: Add PeiServicesTablePointerLib 2025-07-15 05:45:15 +00:00
PeiSmbusLibSmbus2Ppi MdePkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
RegisterFilterLibNull MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
SecPeiDxeTimerLibCpu MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
SmiHandlerProfileLibNull MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmmCpuRendezvousLibNull MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
SmmIoLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmmIoLibSmmCpuIo2 MdePkg: Replace manual alignment checks with helper macros 2026-06-09 07:20:10 +00:00
SmmLibNull MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmmMemLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmmMemoryAllocationLib MdePkg: Code optimization to SMM InternalAllocateAlignedPages 2023-06-21 08:00:04 +00:00
SmmPciExpressLib MdePkg/SmmPciExpressLib: Ensure gBS variable for the constructor 2024-11-22 15:52:38 +00:00
SmmPciLibPciRootBridgeIo MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmmPeriodicSmiLib MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
SmmServicesTableLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
StackCheckFailureHookLibNull MdePkg: Create Stack Check Null Libs 2024-09-13 03:58:46 +00:00
StackCheckLib MdePkg: Add LoongArch64 support for StackCheckLib 2026-07-07 08:49:21 +00:00
StackCheckLibNull MdePkg: StackCheckLib: Update __stack_chk_guard for GCC 17 2026-05-28 07:37:09 +00:00
StandaloneMmCoreEntryPoint MdePkg: Move StackCheckLibStaticInit to StackCheckLib 2025-02-07 02:23:11 +00:00
StandaloneMmDriverEntryPoint MdePkg: Move StackCheckLibStaticInit to StackCheckLib 2025-02-07 02:23:11 +00:00
StandaloneMmServicesTableLib MdePkg: Remove ARM32 Support from Service Table Libs 2025-09-25 22:04:10 +00:00
TdxLib MdePkg/Library/TdxLib: Remove unnecessary comparison 2023-09-08 14:21:04 +00:00
TraceHubDebugSysTLibNull MdePkg: Add NULL library of TraceHubDebugSysTLib 2023-05-11 07:26:38 +00:00
UefiApplicationEntryPoint MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
UefiBootServicesTableLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UefiDebugLibConOut MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
UefiDebugLibDebugPortProtocol MdePkg: Fix some spelling mistakes found by cspell 2024-08-01 19:53:47 +00:00
UefiDebugLibStdErr MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
UefiDevicePathLib MdePkg/UefiDevicePathLib: Check allocated buffer before use 2026-07-17 09:45:38 +00:00
UefiDevicePathLibDevicePathProtocol MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
UefiDriverEntryPoint MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
UefiFileHandleLib MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
UefiLib MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
UefiMemoryAllocationLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UefiMemoryLib MdePkg: Replace manual alignment checks with helper macros 2026-06-09 07:20:10 +00:00
UefiPciLibPciRootBridgeIo MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
UefiPciSegmentLibPciRootBridgeIo MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
UefiRuntimeLib MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
UefiRuntimeServicesTableLib MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00
UefiScsiLib MdePkg: Fix Spelling Errors in Comments 2026-05-08 02:15:34 +00:00
UefiUsbLib MdePkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00