blob: 68375afaedf37957378e34f977e44f26e620ce4b [file] [log] [blame]
dp-arm1cebefd2016-09-19 11:21:03 +01001/*
Jeenu Viswambharanbc1a9292017-02-16 14:55:15 +00002 * Copyright (c) 2016-2017, ARM Limited and Contributors. All rights reserved.
dp-arm1cebefd2016-09-19 11:21:03 +01003 *
dp-armfa3cf0b2017-05-03 09:38:09 +01004 * SPDX-License-Identifier: BSD-3-Clause
dp-arm1cebefd2016-09-19 11:21:03 +01005 */
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 Viswambharanbc1a9292017-02-16 14:55:15 +000017/* Function ID for requesting state switch of lower EL */
18#define ARM_SIP_SVC_EXE_STATE_SWITCH 0x82000020
19
dp-arm1cebefd2016-09-19 11:21:03 +010020/* ARM SiP Service Calls version numbers */
21#define ARM_SIP_SVC_VERSION_MAJOR 0x0
Jeenu Viswambharanbc1a9292017-02-16 14:55:15 +000022#define ARM_SIP_SVC_VERSION_MINOR 0x2
dp-arm1cebefd2016-09-19 11:21:03 +010023
24#endif /* __ARM_SIP_SVC_H__ */