public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Jeff Brasen" <jbrasen@nvidia.com>
To: <edk2-devel@lists.01.org>, <devel@edk2.groups.io>
Cc: Jeff Brasen <jbrasen@nvidia.com>, <liming.gao@intel.com>,
	<michael.d.kinney@intel.com>, <hao.a.wu@intel.com>,
	<ray.ni@intel.com>, <zhichao.gao@intel.com>
Subject: [PATCH 1/3] MdePkg-UefiSpec.h: Add UEFI 2.8 RuntimeServicesSuppported definations
Date: Fri, 15 Nov 2019 10:42:35 -0700	[thread overview]
Message-ID: <2f56398dce3befddcb196755802975bfaadd3791.1573839532.git.jbrasen@nvidia.com> (raw)
In-Reply-To: <cover.1573839532.git.jbrasen@nvidia.com>

Add bitmask values for the value of the RuntimeServicesSupported
variable defined in the UEFI 2.8 specification. This is used to describe
what services the platform supports while in runtime.

Signed-off-by: Jeff Brasen <jbrasen@nvidia.com>
---
 MdePkg/Include/Uefi/UefiSpec.h | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/MdePkg/Include/Uefi/UefiSpec.h b/MdePkg/Include/Uefi/UefiSpec.h
index 444aa35..7e2b719 100644
--- a/MdePkg/Include/Uefi/UefiSpec.h
+++ b/MdePkg/Include/Uefi/UefiSpec.h
@@ -1783,6 +1783,24 @@ EFI_STATUS
 #define EFI_OS_INDICATIONS_START_PLATFORM_RECOVERY          0x0000000000000040
 
 //
+// Bitmasks of supported runtime functions for RuntimeServicesSupported variable
+//
+#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
 //
 #define EFI_SYSTEM_TABLE_SIGNATURE      SIGNATURE_64 ('I','B','I',' ','S','Y','S','T')
-- 
2.7.4


  reply	other threads:[~2019-11-15 17:42 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-15 17:42 [PATCH 0/3] Support for RuntimeServicesSupported global variable Jeff Brasen
2019-11-15 17:42 ` Jeff Brasen [this message]
2019-11-21  5:44   ` [PATCH 1/3] MdePkg-UefiSpec.h: Add UEFI 2.8 RuntimeServicesSuppported definations Ni, Ray
2019-11-15 17:42 ` [PATCH 2/3] MdePkg/MdeModule: Add support for RuntimeServicesSupported variable Jeff Brasen
2019-11-21  5:45   ` Ni, Ray
2019-11-21  6:24     ` Zeng, Star
2019-11-15 17:42 ` [PATCH 3/3] MdeModulePkg/BdsDxe: Set " Jeff Brasen
2019-11-21  5:42   ` Ni, Ray
2019-11-21  6:12     ` Gao, Zhichao
2019-11-21 11:26       ` [edk2-devel] " Wang, Sunny (HPS SW)
2019-11-21 11:51         ` Ni, Ray
2019-11-22  8:10           ` Wang, Sunny (HPS SW)
2019-11-19 14:19 ` [PATCH 0/3] Support for RuntimeServicesSupported global variable Liming Gao
2019-11-19 18:50   ` Jeff Brasen

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=2f56398dce3befddcb196755802975bfaadd3791.1573839532.git.jbrasen@nvidia.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