-----Original Message----- From: Grant Likely grant.likely@arm.com Sent: Wednesday, September 26, 2018 6:01 PM To: Udit Kumar udit.kumar@nxp.com; boot-architecture@lists.linaro.org; arm.ebbr-discuss@arm.com Cc: nd@arm.com Subject: Re: [Arm.ebbr-discuss] [PATCH 5/7] Refactor ResetSystem() requirements
From patch 6:
+Functions contained in EFI_RUNTIME_SERVICES are expected to be +available during both boot services and runtime services. +However, it isn't always practical for all EFI_RUNTIME_SERVICES +functions to be callable during runtime services due to hardware
limitations.
+If any EFI_RUNTIME_SERVICES functions are only available during boot +services then firmware shall provide the global +`RuntimeServicesAvailable` variable to indicate which functions are
available during runtime services.
+Functions that are not available during runtime services shall return +EFI_UNSUPPORTED.
Is that clear enough?
Thanks, this is clear where UEFI is saying to return an error say for RTC/Variable service.
For reset, there is no error code, in this case, how EFI interface can tell to OS that reset is not available through runtime. We should document this.
g.