blob: 645b388feeef5cfa35bd6f7a7880f0af83f7f399 [file] [log] [blame]
Dimitris Papastamos0dcdb1a2018-01-19 16:58:29 +00001/*
Bipin Ravicaa2e052022-02-23 23:45:50 -06002 * Copyright (c) 2018-2022, 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)
Bipin Ravicaa2e052022-02-23 23:45:50 -060015#define SMCCC_ARCH_WORKAROUND_3 U(0x80003FFF)
Dimitris Papastamose6625ec2018-04-05 14:38:26 +010016
Manish V Badarkhef809c6e2020-02-22 08:43:00 +000017#define SMCCC_GET_SOC_VERSION U(0)
18#define SMCCC_GET_SOC_REVISION U(1)
19
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000020#endif /* ARM_ARCH_SVC_H */