public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v1 0/1] Introduce DxeMmUnblockMemoryLib Interface
@ 2021-02-02 22:16 Kun Qin
  2021-02-05  2:17 ` [edk2-devel] " Wu, Hao A
  0 siblings, 1 reply; 9+ messages in thread
From: Kun Qin @ 2021-02-02 22:16 UTC (permalink / raw)
  To: devel; +Cc: Jian J Wang, Hao A Wu, Eric Dong, Ray Ni, Jiewen Yao

The interface proposed in this patch series intends to provide an
abstraction layer for DXE drivers to request certain memory regions to be
accessible from inside MM environment that applies total memory blockage.

This abstraction could pave way for models such as Standalone MM to
manage memory resources without having knowledge of DXE memory map inside
MM environment.

Example usages of it can be NVS region in Tcg2Smm and runtime variable
cache regions in VariableSmmRuntimeDxe.

Patch v1 branch: https://github.com/kuqin12/edk2/tree/unblock_mem_v1

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>

Kun Qin (1):
  MdeModulePkg: DxeMmUnblockMemoryLib: Added definition and null
    instance

 MdeModulePkg/Library/DxeMmUnblockMemoryLib/DxeMmUnblockMemoryLibNull.c   | 40 ++++++++++++++++++++
 MdeModulePkg/Include/Library/DxeMmUnblockMemoryLib.h                     | 40 ++++++++++++++++++++
 MdeModulePkg/Library/DxeMmUnblockMemoryLib/DxeMmUnblockMemoryLibNull.inf | 29 ++++++++++++++
 MdeModulePkg/MdeModulePkg.dec                                            |  5 +++
 MdeModulePkg/MdeModulePkg.dsc                                            |  2 +
 5 files changed, 116 insertions(+)
 create mode 100644 MdeModulePkg/Library/DxeMmUnblockMemoryLib/DxeMmUnblockMemoryLibNull.c
 create mode 100644 MdeModulePkg/Include/Library/DxeMmUnblockMemoryLib.h
 create mode 100644 MdeModulePkg/Library/DxeMmUnblockMemoryLib/DxeMmUnblockMemoryLibNull.inf

-- 
2.30.0.windows.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-02-08 18:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-02 22:16 [PATCH v1 0/1] Introduce DxeMmUnblockMemoryLib Interface Kun Qin
2021-02-05  2:17 ` [edk2-devel] " Wu, Hao A
2021-02-05  2:37   ` Sean
2021-02-05  2:52     ` Wu, Hao A
2021-02-05  3:10       ` Kun Qin
2021-02-05  7:11         ` Wu, Hao A
2021-02-06  2:48           ` Kun Qin
2021-02-07  0:44             ` Wu, Hao A
2021-02-08 18:15               ` Kun Qin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox