Dimitris Papastamos | 0dcdb1a | 2018-01-19 16:58:29 +0000 | [diff] [blame] | 1 | /* |
Bipin Ravi | caa2e05 | 2022-02-23 23:45:50 -0600 | [diff] [blame] | 2 | * Copyright (c) 2018-2022, ARM Limited and Contributors. All rights reserved. |
Dimitris Papastamos | 0dcdb1a | 2018-01-19 16:58:29 +0000 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 7 | #ifndef ARM_ARCH_SVC_H |
| 8 | #define ARM_ARCH_SVC_H |
Dimitris Papastamos | 0dcdb1a | 2018-01-19 16:58:29 +0000 | [diff] [blame] | 9 | |
| 10 | #define SMCCC_VERSION U(0x80000000) |
| 11 | #define SMCCC_ARCH_FEATURES U(0x80000001) |
Manish V Badarkhe | f809c6e | 2020-02-22 08:43:00 +0000 | [diff] [blame] | 12 | #define SMCCC_ARCH_SOC_ID U(0x80000002) |
Dimitris Papastamos | 0dcdb1a | 2018-01-19 16:58:29 +0000 | [diff] [blame] | 13 | #define SMCCC_ARCH_WORKAROUND_1 U(0x80008000) |
Dimitris Papastamos | e6625ec | 2018-04-05 14:38:26 +0100 | [diff] [blame] | 14 | #define SMCCC_ARCH_WORKAROUND_2 U(0x80007FFF) |
Bipin Ravi | caa2e05 | 2022-02-23 23:45:50 -0600 | [diff] [blame] | 15 | #define SMCCC_ARCH_WORKAROUND_3 U(0x80003FFF) |
Dimitris Papastamos | e6625ec | 2018-04-05 14:38:26 +0100 | [diff] [blame] | 16 | |
Manish V Badarkhe | f809c6e | 2020-02-22 08:43:00 +0000 | [diff] [blame] | 17 | #define SMCCC_GET_SOC_VERSION U(0) |
| 18 | #define SMCCC_GET_SOC_REVISION U(1) |
| 19 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 20 | #endif /* ARM_ARCH_SVC_H */ |