blob: 75ca4e61c7eb7fab153c803305e44e254cf38569 [file] [log] [blame]
Sandrine Bailleux3cd87d72018-10-09 11:12:55 +02001/*
2 * Copyright (c) 2018, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7/*
8 * Definitions related to the Standard Service as per the SMC Calling Convention
9 *
10 * Although PSCI calls are part of the Standard Service call range, PSCI-related
11 * definitions are not in this header file but in psci.h instead.
12 */
13
14#ifndef __STD_SVC_H__
15#define __STD_SVC_H__
16
17/* SMC function IDs for Standard Service queries */
18#define SMC_STD_SVC_CALL_COUNT 0x8400ff00
19#define SMC_STD_SVC_UID 0x8400ff01
20/* 0x8400ff02 is reserved */
21#define SMC_STD_SVC_REVISION 0x8400ff03
22
23/* Standard Service Calls revision numbers */
24#define STD_SVC_REVISION_MAJOR 0x0
25#define STD_SVC_REVISION_MINOR 0x1
26
27#endif /* __STD_SVC_H__ */