From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from hqemgate14.nvidia.com (hqemgate14.nvidia.com [216.228.121.143]) by mx.groups.io with SMTP id smtpd.web09.1722.1574897139551008352 for ; Wed, 27 Nov 2019 15:25:39 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@nvidia.com header.s=n1 header.b=oS9Q3ZCS; spf=pass (domain: nvidia.com, ip: 216.228.121.143, mailfrom: jbrasen@nvidia.com) Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Wed, 27 Nov 2019 15:25:42 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Wed, 27 Nov 2019 15:25:39 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Wed, 27 Nov 2019 15:25:39 -0800 Received: from HQMAIL101.nvidia.com (172.20.187.10) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 27 Nov 2019 23:25:38 +0000 Received: from rnnvemgw01.nvidia.com (10.128.109.123) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 27 Nov 2019 23:25:38 +0000 Received: from jbrasen-ux.nvidia.com (Not Verified[10.28.48.132]) by rnnvemgw01.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Wed, 27 Nov 2019 15:25:38 -0800 From: "Jeff Brasen" To: CC: , , , , , Subject: [PATCH v2 1/3] MdePkg-UefiSpec.h: Add UEFI 2.8 RuntimeServicesSuppported definations Date: Wed, 27 Nov 2019 16:25:07 -0700 Message-ID: <936fa73bcf88f0a52a94729b6b67f70ce2595969.1574896889.git.jbrasen@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: X-NVConfidentiality: public Return-Path: jbrasen@nvidia.com MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1574897143; bh=HfV95i2OKN2QVb71V0K1AiKFx4cvkIzWJl0AO9cvsJY=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=oS9Q3ZCSriyrNIkfLAk/M3beC4W4pf8ijmgCr3gbHtHyPTvF24Y/L0LyCXc+vWAWR HbqAYMV3FAK0dVuSNhdr83/BWUb1hetZ59pi7tHJt0JnzU+NnHizBX6fNDtGiNExMz GPQvIaciQ0O6rik2H6D0yaliz6OyTAr/04zs/5QUDzTc5T4Fbn7fQMOU/01bG23/au HXZyJGEEzSAoEFKDkPRHhKE7bwh4XIeJrDV9rrebsmRophYWTNQG8a+uME5ZpkI5yQ LvVKbfYpeZojlgl3A8GYgN2sp6l+1nkyVmJOcld0pYFWB1WMNe6rU9aEyCG6qj5bGE Ip0kH81PBfNEQ== Content-Type: text/plain 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. Change-Id: I7ff0fcdb856b4d2e4ba90a08291f8980e2f66375 Signed-off-by: Jeff Brasen --- 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