Govindraj Raja | bedf4ef | 2024-02-23 16:50:52 -0600 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2024, Arm Limited. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #ifndef VEN_EL3_SVC_H |
| 8 | #define VEN_EL3_SVC_H |
| 9 | |
| 10 | /* |
| 11 | * Function Identifier value ranges for Vendor-Specific |
| 12 | * EL3 Monitor Service Calls. |
| 13 | */ |
| 14 | /* VEN_EL3_SMC_32 0x87000000U */ |
| 15 | /* VEN_EL3_SMC_64 0xC7000000U */ |
| 16 | |
| 17 | |
| 18 | /* Function Identifier values of general queries */ |
| 19 | #define VEN_EL3_SVC_UID 0x8700ff01 |
| 20 | /* 0x8700ff02 is reserved */ |
| 21 | #define VEN_EL3_SVC_VERSION 0x8700ff03 |
| 22 | |
| 23 | #define VEN_EL3_SVC_VERSION_MAJOR 1 |
| 24 | #define VEN_EL3_SVC_VERSION_MINOR 0 |
| 25 | |
Govindraj Raja | 79cd7a0 | 2024-03-07 15:24:19 -0600 | [diff] [blame] | 26 | /* DEBUGFS_SMC_32 0x87000010U */ |
| 27 | /* DEBUGFS_SMC_64 0xC7000010U */ |
| 28 | |
Govindraj Raja | cd29ad5 | 2024-04-15 12:42:13 -0500 | [diff] [blame] | 29 | /* PMF_SMC_GET_TIMESTAMP_32 0x87000020U */ |
| 30 | /* PMF_SMC_GET_TIMESTAMP_64 0xC7000020U */ |
| 31 | |
Govindraj Raja | bedf4ef | 2024-02-23 16:50:52 -0600 | [diff] [blame] | 32 | #endif /* VEN_EL3_SVC_H */ |