xref: /rk3399_ARM-atf/include/services/ven_el3_svc.h (revision 273b898388adde0d7cc858fab6774b1da61caa0f)
1de6b79d8SGovindraj Raja /*
2de6b79d8SGovindraj Raja  * Copyright (c) 2024, Arm Limited. All rights reserved.
3de6b79d8SGovindraj Raja  *
4de6b79d8SGovindraj Raja  * SPDX-License-Identifier: BSD-3-Clause
5de6b79d8SGovindraj Raja  */
6de6b79d8SGovindraj Raja 
7de6b79d8SGovindraj Raja #ifndef VEN_EL3_SVC_H
8de6b79d8SGovindraj Raja #define VEN_EL3_SVC_H
9de6b79d8SGovindraj Raja 
10de6b79d8SGovindraj Raja /*
11de6b79d8SGovindraj Raja  * Function Identifier value ranges for Vendor-Specific
12de6b79d8SGovindraj Raja  * EL3 Monitor Service Calls.
13de6b79d8SGovindraj Raja  */
14de6b79d8SGovindraj Raja /* VEN_EL3_SMC_32		0x87000000U */
15de6b79d8SGovindraj Raja /* VEN_EL3_SMC_64		0xC7000000U */
16de6b79d8SGovindraj Raja 
17de6b79d8SGovindraj Raja 
18de6b79d8SGovindraj Raja /* Function Identifier values of general queries */
19de6b79d8SGovindraj Raja #define VEN_EL3_SVC_UID		0x8700ff01
20de6b79d8SGovindraj Raja /*				0x8700ff02 is reserved */
21de6b79d8SGovindraj Raja #define VEN_EL3_SVC_VERSION	0x8700ff03
22de6b79d8SGovindraj Raja 
23de6b79d8SGovindraj Raja #define VEN_EL3_SVC_VERSION_MAJOR	1
24de6b79d8SGovindraj Raja #define VEN_EL3_SVC_VERSION_MINOR	0
25de6b79d8SGovindraj Raja 
26*273b8983SGovindraj Raja /* DEBUGFS_SMC_32		0x87000010U */
27*273b8983SGovindraj Raja /* DEBUGFS_SMC_64		0xC7000010U */
28*273b8983SGovindraj Raja 
29de6b79d8SGovindraj Raja #endif /* VEN_EL3_SVC_H */
30