ACK: [PATCH v2 1/2] uefi: update header for EFI runtime services
ivanhu
ivan.hu at canonical.com
Wed Mar 10 06:09:27 UTC 2021
On 12/29/20 2:57 AM, Heinrich Schuchardt wrote:
> Add the missing IOCTL calls for ResetSystem() and to retrieve the value of
> RuntimeServicesSupported provided by the EFI_RT_PROPERTIES_TABLE
> configuration table.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> src/lib/include/fwts_efi_runtime.h | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/src/lib/include/fwts_efi_runtime.h b/src/lib/include/fwts_efi_runtime.h
> index 51783ab2..018189ed 100644
> --- a/src/lib/include/fwts_efi_runtime.h
> +++ b/src/lib/include/fwts_efi_runtime.h
> @@ -158,4 +158,10 @@ struct efi_querycapsulecapabilities {
> #define EFI_RUNTIME_QUERY_CAPSULECAPABILITIES \
> _IOR('p', 0x0A, struct efi_querycapsulecapabilities)
>
> +#define EFI_RUNTIME_RESET_SYSTEM \
> + _IOW('p', 0x0B, struct efi_resetsystem)
> +
> +#define EFI_RUNTIME_GET_SUPPORTED_MASK \
> + _IOR('p', 0x0C, unsigned int)
> +
> #endif /* _FWTS_EFI_RUNTIME_H_ */
> --
> 2.29.2
>
Acked-by: Colin Ian King <colin.king at canonical.com>
More information about the fwts-devel
mailing list