From: "Masahisa Kojima" <masahisa.kojima@linaro.org>
To: devel@edk2.groups.io
Cc: Kun Qin <kun.q@outlook.com>,
Masahisa Kojima <masahisa.kojima@linaro.org>,
Jian J Wang <jian.j.wang@intel.com>,
Hao A Wu <hao.a.wu@intel.com>,
Liming Gao <gaoliming@byosoft.com.cn>,
Ard Biesheuvel <ard.biesheuvel@arm.com>,
Sami Mujawar <sami.mujawar@arm.com>,
Jiewen Yao <jiewen.yao@intel.com>,
Supreeth Venkatesh <supreeth.venkatesh@arm.com>,
Bret Barkelew <Bret.Barkelew@microsoft.com>
Subject: [PATCH 0/1] MdeModulePkg/VarCheckPolicyLib: implement standalone MM version
Date: Wed, 16 Dec 2020 23:19:18 +0900 [thread overview]
Message-ID: <20201216141919.23262-1-masahisa.kojima@linaro.org> (raw)
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
next reply other threads:[~2020-12-16 14:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-16 14:19 Masahisa Kojima [this message]
2020-12-16 14:19 ` [PATCH 1/1] MdeModulePkg/VarCheckPolicyLib: implement standalone MM version 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201216141919.23262-1-masahisa.kojima@linaro.org \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox