dp-arm | 1cebefd | 2016-09-19 11:21:03 +0100 | [diff] [blame] | 1 | /* |
Jeenu Viswambharan | bc1a929 | 2017-02-16 14:55:15 +0000 | [diff] [blame] | 2 | * Copyright (c) 2016-2017, ARM Limited and Contributors. All rights reserved. |
dp-arm | 1cebefd | 2016-09-19 11:21:03 +0100 | [diff] [blame] | 3 | * |
dp-arm | fa3cf0b | 2017-05-03 09:38:09 +0100 | [diff] [blame] | 4 | * SPDX-License-Identifier: BSD-3-Clause |
dp-arm | 1cebefd | 2016-09-19 11:21:03 +0100 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef __ARM_SIP_SVC_H__ |
| 8 | #define __ARM_SIP_SVC_H__ |
| 9 | |
| 10 | /* SMC function IDs for SiP Service queries */ |
| 11 | |
| 12 | #define ARM_SIP_SVC_CALL_COUNT 0x8200ff00 |
| 13 | #define ARM_SIP_SVC_UID 0x8200ff01 |
| 14 | /* 0x8200ff02 is reserved */ |
| 15 | #define ARM_SIP_SVC_VERSION 0x8200ff03 |
| 16 | |
Jeenu Viswambharan | bc1a929 | 2017-02-16 14:55:15 +0000 | [diff] [blame] | 17 | /* Function ID for requesting state switch of lower EL */ |
| 18 | #define ARM_SIP_SVC_EXE_STATE_SWITCH 0x82000020 |
| 19 | |
dp-arm | 1cebefd | 2016-09-19 11:21:03 +0100 | [diff] [blame] | 20 | /* ARM SiP Service Calls version numbers */ |
| 21 | #define ARM_SIP_SVC_VERSION_MAJOR 0x0 |
Jeenu Viswambharan | bc1a929 | 2017-02-16 14:55:15 +0000 | [diff] [blame] | 22 | #define ARM_SIP_SVC_VERSION_MINOR 0x2 |
dp-arm | 1cebefd | 2016-09-19 11:21:03 +0100 | [diff] [blame] | 23 | |
| 24 | #endif /* __ARM_SIP_SVC_H__ */ |