public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] [PATCH V3 0/5] Add EFI_UNSUPPORTED return for some Runtime Service functions
@ 2024-02-02  8:20 Ren, Suqiang
  2024-02-02  8:20 ` [edk2-devel] [PATCH V3 1/5] MdePkg: " Ren, Suqiang
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Ren, Suqiang @ 2024-02-02  8:20 UTC (permalink / raw)
  To: devel
  Cc: Michael D Kinney, Liming Gao, Zhiguang Liu, Leif Lindholm,
	Ard Biesheuvel, Abner Chang, Jiewen Yao, Laszlo Ersek

According to UEFI Spec 2.10 page 206, if any EFI_RUNTIME_SERVICES* calls
are not supported for use by the OS at runtime, an EFI_RT_PROPERTIES_TABLE
configuration table should be published describing which runtime services
are supported at runtime. So need to add EFI_UNSUPPORTED return for some
Runtime Service functions.

REF: UEFI spec 2.10 section 8 Services — Runtime Services

V3:
Update the commit message to align with the change for each package.

V2:
Update some Runtime Service functions header return on both C and H header files.

V1:
Add EFI_UNSUPPORTED return for some Runtime Service functions on UefiSpec.h file.

Signed-off-by: Suqiang Ren <suqiangx.ren@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Abner Chang <abner.chang@amd.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>

Suqiang Ren (5):
  MdePkg: Add EFI_UNSUPPORTED return for some Runtime Service functions
  MdeModulePkg: Align RuntimeDxe function headers with UEFI return
    values
  EmbeddedPkg: Align RealTimeClock function headers with return values
  ArmPlatformPkg: Align PL031 library function headers with return
    values
  OvmfPkg: Align XenRealTimeClockLib function headers with return values

 .../PL031RealTimeClockLib.c                   | 22 ++++-
 .../Include/Library/RealTimeClockLib.h        | 21 +++-
 .../RealTimeClockRuntimeDxe/RealTimeClock.c   | 13 ++-
 MdeModulePkg/Core/RuntimeDxe/Runtime.c        | 10 +-
 MdeModulePkg/Core/RuntimeDxe/Runtime.h        | 10 +-
 .../CapsuleRuntimeDxe/CapsuleService.c        | 13 +++
 .../MonotonicCounter.c                        |  3 +
 .../Universal/Variable/RuntimeDxe/Variable.c  | 40 ++++++--
 .../Universal/Variable/RuntimeDxe/Variable.h  | 40 ++++++--
 .../RuntimeDxe/VariableSmmRuntimeDxe.c        | 99 +++++++++++++++----
 MdePkg/Include/Library/UefiRuntimeLib.h       | 44 ++++++++-
 MdePkg/Include/Uefi/UefiSpec.h                | 46 ++++++++-
 MdePkg/Library/UefiRuntimeLib/RuntimeLib.c    | 43 +++++++-
 .../XenRealTimeClockLib/XenRealTimeClockLib.c | 22 ++++-
 14 files changed, 362 insertions(+), 64 deletions(-)

-- 
2.26.2.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#115027): https://edk2.groups.io/g/devel/message/115027
Mute This Topic: https://groups.io/mt/104115876/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-02-09 22:16 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-02  8:20 [edk2-devel] [PATCH V3 0/5] Add EFI_UNSUPPORTED return for some Runtime Service functions Ren, Suqiang
2024-02-02  8:20 ` [edk2-devel] [PATCH V3 1/5] MdePkg: " Ren, Suqiang
2024-02-02  8:20 ` [edk2-devel] [PATCH V3 2/5] MdeModulePkg: Align RuntimeDxe function headers with UEFI return values Ren, Suqiang
2024-02-02  8:20 ` [edk2-devel] [PATCH V3 3/5] EmbeddedPkg: Align RealTimeClock function headers with " Ren, Suqiang
2024-02-02  8:20 ` [edk2-devel] [PATCH V3 4/5] ArmPlatformPkg: Align PL031 library " Ren, Suqiang
2024-02-02 14:20   ` Leif Lindholm
2024-02-09 21:31     ` Michael D Kinney
2024-02-09 22:16       ` Michael D Kinney
2024-02-02  8:20 ` [edk2-devel] [PATCH V3 5/5] OvmfPkg: Align XenRealTimeClockLib " Ren, Suqiang
2024-02-02 12:59   ` Laszlo Ersek
2024-02-05  7:39   ` Laszlo Ersek
2024-02-05 11:27   ` Anthony PERARD via groups.io
     [not found] ` <17AFFE066335877D.1968@groups.io>
     [not found]   ` <SJ0PR11MB492583B5DC0FFD3BF945498196472@SJ0PR11MB4925.namprd11.prod.outlook.com>
     [not found]     ` <LV8PR12MB94527CFDBE60512769D67F32EA472@LV8PR12MB9452.namprd12.prod.outlook.com>
2024-02-05  8:45       ` [edk2-devel] [PATCH V3 3/5] EmbeddedPkg: Align RealTimeClock " Ren, Suqiang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox