blob: 5bbd8bb6c51d0a15a56ecab6024db39f9f2e1f3b [file] [log] [blame]
Dimitris Papastamos0dcdb1a2018-01-19 16:58:29 +00001/*
Manish V Badarkhef809c6e2020-02-22 08:43:00 +00002 * Copyright (c) 2018-2020, ARM Limited and Contributors. All rights reserved.
Dimitris Papastamos0dcdb1a2018-01-19 16:58:29 +00003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +00007#ifndef ARM_ARCH_SVC_H
8#define ARM_ARCH_SVC_H
Dimitris Papastamos0dcdb1a2018-01-19 16:58:29 +00009
10#define SMCCC_VERSION U(0x80000000)
11#define SMCCC_ARCH_FEATURES U(0x80000001)
Manish V Badarkhef809c6e2020-02-22 08:43:00 +000012#define SMCCC_ARCH_SOC_ID U(0x80000002)
Dimitris Papastamos0dcdb1a2018-01-19 16:58:29 +000013#define SMCCC_ARCH_WORKAROUND_1 U(0x80008000)
Dimitris Papastamose6625ec2018-04-05 14:38:26 +010014#define SMCCC_ARCH_WORKAROUND_2 U(0x80007FFF)
15
Manish V Badarkhef809c6e2020-02-22 08:43:00 +000016#define SMCCC_GET_SOC_VERSION U(0)
17#define SMCCC_GET_SOC_REVISION U(1)
18
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000019#endif /* ARM_ARCH_SVC_H */