1 /*
2  * Copyright (c) 2014-2016, ARM Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef STD_SVC_H
8 #define STD_SVC_H
9 
10 /* SMC function IDs for Standard Service queries */
11 
12 #define ARM_STD_SVC_CALL_COUNT		0x8400ff00
13 #define ARM_STD_SVC_UID			0x8400ff01
14 /*					0x8400ff02 is reserved */
15 #define ARM_STD_SVC_VERSION		0x8400ff03
16 
17 /* ARM Standard Service Calls version numbers */
18 #define STD_SVC_VERSION_MAJOR		0x0
19 #define STD_SVC_VERSION_MINOR		0x1
20 
21 /*
22  * Get the ARM Standard Service argument from EL3 Runtime.
23  * This function must be implemented by EL3 Runtime and the
24  * `svc_mask` identifies the service. `svc_mask` is a bit
25  * mask identifying the range of SMC function IDs available
26  * to the service.
27  */
28 uintptr_t get_arm_std_svc_args(unsigned int svc_mask);
29 
30 #endif /* STD_SVC_H */
31