From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by mx.groups.io with SMTP id smtpd.web10.1082.1576570680124380361 for ; Tue, 17 Dec 2019 00:18:00 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=GdU5NHeN; spf=pass (domain: linaro.org, ip: 209.85.221.65, mailfrom: ard.biesheuvel@linaro.org) Received: by mail-wr1-f65.google.com with SMTP id b6so10272447wrq.0 for ; Tue, 17 Dec 2019 00:17:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=A4vczFTdHYM1FRIQe8ZTVlvEunZaMz4HIENPK5hkLcI=; b=GdU5NHeNl2dnfhjfJ/F4t6+ukMKirNtcAJs2icr4F97HWfNs1HkCaKXkCeQza86rpS KifTnrAw9PWYZP1bXgN8mZ7Xv3lMV+N4/PUS+7MEmOyGziU8GUF9LiaZKzxZjb5USlOp 9BrWa/KKY0sL2nTpF/TfR91/FUs60Fnj47qP8spLriUzi+i56otOYsDxpPJtQRcHAfn6 FI/5TLdo5MHhNlW158zeFcgzq/OuRJfvcTZqZXeJXhuuktdXUDpKRqKLFmmatfKthzCC 8M3VdWXJMapdw1Ikvo8eC1S03Xgg0SzfFFJbiNfSCcDT+zx5gKqFjkL42Bc3tg/+tTrg Q+Xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=A4vczFTdHYM1FRIQe8ZTVlvEunZaMz4HIENPK5hkLcI=; b=QNlc69xigT4qs2UvPmHuQT++uV0/xxksbins6I1lFPAFvoEeVowCHngqNVDG51lTCM P4zIYCkUrBuJNfxGDNtrL2uNcmXHmWjPGJPurWYHQ8ikdidP94Rn6/3n6g6mRI531Ew+ OqHUeS7SYXVQC5cV/FVJmOqj08vgghw8rZzVyP1md34Bvq4ree5LppFiYo7OctucdcuV 1S0vXvVyXI017tSWktjqdRYibYCrisi1V+UFShWk3vLda+euslur3TQavjuqgcBpACWd WsQLX2zcZVAILVaxzLRUsSRFhC3qXnIRw2NItN3Ie+z41maKjExEILBAPlo3Dfj/r0bd fxxg== X-Gm-Message-State: APjAAAXvBOu19n6G9jKl1b9AqwHtcKHV5m4DX+GGqPfq3w0SzCyh/+d7 tFwQrtBjEsMVxBy9H9klWhYhGHE2TvOOR2+0yA2YyFdWW70= X-Google-Smtp-Source: APXvYqxwiW2cnIEvHb7O+5+91HFeAfDAYe3WgNJddAvSBxmQ0ecuynjXt8dXGncmqSuqthGXQ6/9yOWEvZhPbcjd+IM= X-Received: by 2002:a5d:6652:: with SMTP id f18mr36624231wrw.246.1576570678282; Tue, 17 Dec 2019 00:17:58 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: "Ard Biesheuvel" Date: Tue, 17 Dec 2019 08:17:49 +0000 Message-ID: Subject: Re: [edk2-devel] [PATCH v2 0/3] Support for RuntimeServicesSupported global variable To: edk2-devel-groups-io , Jeff Brasen Cc: "Gao, Liming" , "Kinney, Michael D" , "Wu, Hao A" , "Ni, Ray" , Zhichao Gao Content-Type: text/plain; charset="UTF-8" On Thu, 28 Nov 2019 at 01:25, Jeff Brasen wrote: > > Add support for the new UEFI 2.8 runtime services supported variable > that is used to indicate which runtime services a platform supports. > Also, add support for initializing this variable based on a PCD. > > Change Log: > v1 - Initial version > v2 - Move pcd from MdeModulePkg to MdePkg and update uni file > > > Jeff Brasen (3): > MdePkg-UefiSpec.h: Add UEFI 2.8 RuntimeServicesSuppported definations > MdePkg/MdeModule: Add support for RuntimeServicesSupported variable > MdeModulePkg/BdsDxe: Set RuntimeServicesSupported variable > Hi Jeff, Apologies if I am derailing your attempt at getting this support merged, but I am actually proposing to the USWG to make this a config table rather than a EFI variable, for the obvious reason that using a runtime service to decide which runtime services are supported is a bit problematic, and it forces the OS to invent its own way to exchange this information between the OS loader and the OS proper. A configuration table does not have this limitation, so it seems much better suited for this. > .../VarCheckUefiLib/VarCheckUefiLibNullClass.c | 11 +++++++ > MdeModulePkg/Universal/BdsDxe/BdsDxe.inf | 1 + > MdeModulePkg/Universal/BdsDxe/BdsEntry.c | 35 +++++++++++++++++++++- > MdePkg/Include/Guid/GlobalVariable.h | 7 +++++ > MdePkg/Include/Uefi/UefiSpec.h | 18 +++++++++++ > MdePkg/MdePkg.dec | 18 +++++++++++ > MdePkg/MdePkg.uni | 17 +++++++++++ > 7 files changed, 106 insertions(+), 1 deletion(-) > > -- > 2.7.4 > > > >