From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mx.groups.io with SMTP id smtpd.web12.20001.1574315070412836991 for ; Wed, 20 Nov 2019 21:44:30 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.151, mailfrom: ray.ni@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Nov 2019 21:44:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,224,1571727600"; d="scan'208";a="381619827" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga005.jf.intel.com with ESMTP; 20 Nov 2019 21:44:29 -0800 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 20 Nov 2019 21:44:29 -0800 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by fmsmsx117.amr.corp.intel.com (10.18.116.17) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 20 Nov 2019 21:44:29 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.127]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.63]) with mapi id 14.03.0439.000; Thu, 21 Nov 2019 13:44:27 +0800 From: "Ni, Ray" To: Jeff Brasen , "edk2-devel@lists.01.org" , "devel@edk2.groups.io" CC: "Gao, Liming" , "Kinney, Michael D" , "Wu, Hao A" , "Gao, Zhichao" Subject: Re: [PATCH 1/3] MdePkg-UefiSpec.h: Add UEFI 2.8 RuntimeServicesSuppported definations Thread-Topic: [PATCH 1/3] MdePkg-UefiSpec.h: Add UEFI 2.8 RuntimeServicesSuppported definations Thread-Index: AQHVm9wfNTWoTxIvZUuD1FCIXfbVOqeVJOuA Date: Thu, 21 Nov 2019 05:44:26 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D5C367F30@SHSMSX104.ccr.corp.intel.com> References: <2f56398dce3befddcb196755802975bfaadd3791.1573839532.git.jbrasen@nvidia.com> In-Reply-To: <2f56398dce3befddcb196755802975bfaadd3791.1573839532.git.jbrasen@nvidia.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: ray.ni@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Jeff, I feel the BIT definitions can be together with the RuntimeServicesSuppported variable. But I found the EFI_OS_INDICATIONS_XXX macros are already in UefiSpec.h. So I am fine with that. Reviewed-by: Ray Ni > -----Original Message----- > From: Jeff Brasen > Sent: Saturday, November 16, 2019 1:43 AM > To: edk2-devel@lists.01.org; devel@edk2.groups.io > Cc: Jeff Brasen ; Gao, Liming ; > Kinney, Michael D ; Wu, Hao A > ; Ni, Ray ; Gao, Zhichao > > Subject: [PATCH 1/3] MdePkg-UefiSpec.h: Add UEFI 2.8 > RuntimeServicesSuppported definations >=20 > Add bitmask values for the value of the RuntimeServicesSupported variable > defined in the UEFI 2.8 specification. This is used to describe what serv= ices > the platform supports while in runtime. >=20 > Signed-off-by: Jeff Brasen > --- > MdePkg/Include/Uefi/UefiSpec.h | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) >=20 > 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 >=20 > // > +// 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