]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Core/Dxe/Gcd/Gcd.c
MdeModulePkg/Core: Fix out-of-sync issue in GCD
authorJian J Wang <jian.j.wang@intel.com>
Tue, 19 Sep 2017 05:52:11 +0000 (13:52 +0800)
committerStar Zeng <star.zeng@intel.com>
Thu, 21 Sep 2017 01:38:27 +0000 (09:38 +0800)
commit14dde9e903bb9a719ebb8f3381da72b19509bc36
treea46c85441d145cb55d36b88a4e9507763669f1ff
parentc1cab54ce57c2608b8b3ea051c7041f036f21153
MdeModulePkg/Core: Fix out-of-sync issue in GCD

From GCD perspective, its SetMemorySpaceAttributes() method doesn't accept page
related attributes. That means users cannot use it to change page attributes,
and have to turn to CPU arch protocol to do it, which is not be allowed by PI
spec.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Suggested-by: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jian J Wang <jian.j.wang@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
MdeModulePkg/Core/Dxe/Gcd/Gcd.c