On Thu, Jun 01, 2023 at 14:58:27 +0200, Marcin Juszkiewicz wrote:
> They are useful for those platforms where SMC SiP calls exist.

Thanks for this
Reviewed-by: Leif Lindholm <[email protected]>

However, I'm missing your S-o-b, can you provide it?

/
    Leif

> ---
>  ArmPkg/Include/IndustryStandard/ArmStdSmc.h | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/ArmPkg/Include/IndustryStandard/ArmStdSmc.h 
> b/ArmPkg/Include/IndustryStandard/ArmStdSmc.h
> index 374b9ded7f5f..616c650d07c8 100644
> --- a/ArmPkg/Include/IndustryStandard/ArmStdSmc.h
> +++ b/ArmPkg/Include/IndustryStandard/ArmStdSmc.h
> @@ -244,4 +244,13 @@
>  #define TRNG_STATUS_INVALID_PARAMETER  (INT32)(-2)
>  #define TRNG_STATUS_NO_ENTROPY         (INT32)(-3)
>  
> +/*
> + *  SMC64 SiP Service Calls
> + */
> +
> +#define SMC_FASTCALL           0x80000000
> +#define SMC64_FUNCTION         (SMC_FASTCALL     | 0x40000000)
> +#define SMC_SIP_FUNCTION       (SMC64_FUNCTION   | 0x02000000)
> +#define SMC_SIP_FUNCTION_ID(n) (SMC_SIP_FUNCTION | (n))
> +
>  #endif // ARM_STD_SMC_H_
> -- 
> 2.40.1
> 
> 
> 
> 
> 
> 
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#105571): https://edk2.groups.io/g/devel/message/105571
Mute This Topic: https://groups.io/mt/99263949/21656
Group Owner: [email protected]
Unsubscribe: 
https://edk2.groups.io/g/devel/leave/9847357/21656/1706620634/xyzzy 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to