From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.120, mailfrom: zhichao.gao@intel.com) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by groups.io with SMTP; Fri, 19 Jul 2019 01:09:51 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Jul 2019 01:09:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,281,1559545200"; d="scan'208";a="187951015" Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by fmsmga001.fm.intel.com with ESMTP; 19 Jul 2019 01:09:49 -0700 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Jian J Wang , Hao A Wu , Ray Ni , Star Zeng , Sean Brogan , Michael Turner , Bret Barkelew , Laszlo Ersek Subject: [PATCH V2 0/4] Add a pcd PcdBootManagerInBootOrder to control whether BootManager is in BootOrder Date: Fri, 19 Jul 2019 16:09:17 +0800 Message-Id: <20190719080921.17516-1-zhichao.gao@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1979 V1: UEFI spec 2.8 introduce a new variable L"RuntimeServicesSupported". If some runtime sevices is not supported at runtime phase, the variable should present at boot services. It is a bitmask value, the bit value of zero indicate the related runtime services is not supported at runtime phase. Add the difinition and use it to control Capsule runtime services. V2: Adjust the indent of uni file. Move the set variable function from CapsuleRuntimeDxe to RuntimeDxe. Add 'EFIAPI' to the event function "UpdateRuntimeServicesSupported", lacking of it would cause the GCC build failure. Cc: Michael D Kinney Cc: Liming Gao Cc: Jian J Wang Cc: Hao A Wu Cc: Ray Ni Cc: Star Zeng Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Cc: Laszlo Ersek Signed-off-by: Zhichao Gao Zhichao Gao (4): MdePkg/UefiSpec.h: Add define of runtime services support MdePkg: Add new pcd PcdRuntimeServicesSupport MdeModulePkg/RuntimeDxe: Set RuntimeServicesSupport base on Pcd MdeModulePkg/CapsuleRuntimeDxe: Implement RuntimeServicesSupported MdeModulePkg/Core/RuntimeDxe/Runtime.c | 65 +++++++++++++++++- MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf | 8 ++- .../CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf | 2 + .../CapsuleRuntimeDxe/CapsuleService.c | 68 +++++++++++++++++++ MdePkg/Include/Uefi/UefiSpec.h | 15 ++++ MdePkg/MdePkg.dec | 19 ++++++ MdePkg/MdePkg.uni | 19 ++++++ 7 files changed, 194 insertions(+), 2 deletions(-) -- 2.21.0.windows.1