public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Gao, Zhichao" <zhichao.gao@intel.com>
To: devel@edk2.groups.io
Cc: Michael D Kinney <michael.d.kinney@intel.com>,
	Liming Gao <liming.gao@intel.com>,
	Sean Brogan <sean.brogan@microsoft.com>,
	Michael Turner <Michael.Turner@microsoft.com>,
	Bret Barkelew <Bret.Barkelew@microsoft.com>
Subject: [PATCH 1/3] MdePkg/UefiSpec.h: Add define of runtime services support
Date: Wed, 17 Jul 2019 15:37:23 +0800	[thread overview]
Message-ID: <20190717073725.30304-2-zhichao.gao@intel.com> (raw)
In-Reply-To: <20190717073725.30304-1-zhichao.gao@intel.com>

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1907

UEFI spec 2.8, Section 8.1.1 define some MACROs for
RuntimeServicesSupported variable. Add them to UefiSpec.h.

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Michael Turner <Michael.Turner@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
---
 MdePkg/Include/Uefi/UefiSpec.h | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/MdePkg/Include/Uefi/UefiSpec.h b/MdePkg/Include/Uefi/UefiSpec.h
index 44a0a6a7fa..20ecbff26e 100644
--- a/MdePkg/Include/Uefi/UefiSpec.h
+++ b/MdePkg/Include/Uefi/UefiSpec.h
@@ -1783,6 +1783,21 @@ EFI_STATUS
 #define EFI_RUNTIME_SERVICES_SIGNATURE  SIGNATURE_64 ('R','U','N','T','S','E','R','V')
 #define EFI_RUNTIME_SERVICES_REVISION   EFI_SPECIFICATION_VERSION
 
+#define EFI_RT_SUPPORTED_GET_TIME                             0x0001
+#define EFI_RT_SUPPORTED_SET_TIME                             0x0002
+#define EFI_RT_SUPPORTED_GET_WAKEUP_TIME                      0x0004
+#define EFI_RT_SUPPORTED_SET_WAKEUP_TIME                      0x0008
+#define EFI_RT_SUPPORTED_GET_VARIABLE                         0x0010
+#define EFI_RT_SUPPORTED_GET_NEXT_VARIABLE_NAME               0x0020
+#define EFI_RT_SUPPORTED_SET_VARIABLE                         0x0040
+#define EFI_RT_SUPPORTED_SET_VIRTUAL_ADDRESS_MAP              0x0080
+#define EFI_RT_SUPPORTED_CONVERT_POINTER                      0x0100
+#define EFI_RT_SUPPORTED_GET_NEXT_HIGH_MONOTONIC_COUNT        0x0200
+#define EFI_RT_SUPPORTED_RESET_SYSTEM                         0x0400
+#define EFI_RT_SUPPORTED_UPDATE_CAPSULE                       0x0800
+#define EFI_RT_SUPPORTED_QUERY_CAPSULE_CAPABILITIES           0x1000
+#define EFI_RT_SUPPORTED_QUERY_VARIABLE_INFO                  0x2000
+
 ///
 /// EFI Runtime Services Table.
 ///
-- 
2.21.0.windows.1


  reply	other threads:[~2019-07-17  7:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-17  7:37 [PATCH 0/3] MdePkg/MdeModulePkg: Introduce a pcd to control runtime services Gao, Zhichao
2019-07-17  7:37 ` Gao, Zhichao [this message]
2019-07-17  7:37 ` [PATCH 2/3] MdePkg: Add new pcd PcdRuntimeServicesSupport Gao, Zhichao
2019-07-17  7:37 ` [PATCH 3/3] MdeModulePkg/CapsuleRuntimeDxe: Control runtime services supported Gao, Zhichao
2019-07-17 15:40   ` [edk2-devel] " Michael D Kinney
2019-07-18  1:56     ` Gao, Zhichao
2019-07-17 13:15 ` [edk2-devel] [PATCH 0/3] MdePkg/MdeModulePkg: Introduce a pcd to control runtime services Laszlo Ersek
2019-07-18  1:37   ` Gao, Zhichao

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=20190717073725.30304-2-zhichao.gao@intel.com \
    --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