public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/1] MdeModulePkg/VarCheckPolicyLib: implement standalone MM version
@ 2020-12-16 14:19 Masahisa Kojima
  2020-12-16 14:19 ` [PATCH 1/1] " Masahisa Kojima
  0 siblings, 1 reply; 5+ messages in thread
From: Masahisa Kojima @ 2020-12-16 14:19 UTC (permalink / raw)
  To: devel
  Cc: Kun Qin, Masahisa Kojima, Jian J Wang, Hao A Wu, Liming Gao,
	Ard Biesheuvel, Sami Mujawar, Jiewen Yao, Supreeth Venkatesh,
	Bret Barkelew

This patch adds the standalone MM version of VarCheckPolicyLib.

What have been tested:
 - For Traditional MM, build OVMF with "-DSECURE_BOOT_ENABLE=TRUE -DSMM_REQUIRE=TRUE",
   then boot it on qemu-system-x86_64.
 - For Standalone MM, build Developerbox platform(aarch64) with "-DSECURE_BOOT_ENABLE=TRUE",
   then device boots fine.


Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Co-authored-by: Kun Qin <kun.q@outlook.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Supreeth Venkatesh <supreeth.venkatesh@arm.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>


Masahisa Kojima (1):
  MdeModulePkg/VarCheckPolicyLib: implement standalone MM version

 .../VarCheckPolicyLib/VarCheckPolicyLib.inf   |  5 +-
 ....inf => VarCheckPolicyLibStandaloneMm.inf} | 23 +++++----
 .../VarCheckPolicyLib/VarCheckPolicyLib.h     | 42 ++++++++++++++++
 .../VarCheckPolicyLib/VarCheckPolicyLib.c     | 14 +++---
 .../VarCheckPolicyLibStandaloneMm.c           | 50 +++++++++++++++++++
 .../VarCheckPolicyLibTraditional.c            | 50 +++++++++++++++++++
 6 files changed, 165 insertions(+), 19 deletions(-)
 copy MdeModulePkg/Library/VarCheckPolicyLib/{VarCheckPolicyLib.inf => VarCheckPolicyLibStandaloneMm.inf} (51%)
 create mode 100644 MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.h
 create mode 100644 MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLibStandaloneMm.c
 create mode 100644 MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLibTraditional.c

-- 
2.17.1


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

end of thread, other threads:[~2020-12-21  6:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-16 14:19 [PATCH 0/1] MdeModulePkg/VarCheckPolicyLib: implement standalone MM version Masahisa Kojima
2020-12-16 14:19 ` [PATCH 1/1] " Masahisa Kojima
2020-12-17  1:14   ` 回复: " gaoliming
     [not found]   ` <16515BFEBC173A6F.9537@groups.io>
2020-12-21  1:27     ` 回复: [edk2-devel] " gaoliming
2020-12-21  6:09       ` Masahisa Kojima

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