xref: /rk3399_ARM-atf/include/services/ven_el3_svc.h (revision f7679d437d5f27a3168f017db8d42bc561ac0c59)
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 
26273b8983SGovindraj Raja /* DEBUGFS_SMC_32		0x87000010U */
27273b8983SGovindraj Raja /* DEBUGFS_SMC_64		0xC7000010U */
28273b8983SGovindraj Raja 
29*f7679d43SGovindraj Raja /* PMF_SMC_GET_TIMESTAMP_32	0x87000020U */
30*f7679d43SGovindraj Raja /* PMF_SMC_GET_TIMESTAMP_64	0xC7000020U */
31*f7679d43SGovindraj Raja 
32de6b79d8SGovindraj Raja #endif /* VEN_EL3_SVC_H */
33