| Alex Liang | 0fa7d21 | 2024-06-18 11:17:01 -0500 | [diff] [blame] | 1 | # |
| 2 | # Copyright (c) 2024 Arm Limited. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
| Mark Dykes | f41d8ee | 2025-07-10 16:41:28 -0500 | [diff] [blame^] | 7 | define SDEI_EVENT_STATUS_CALL_SMCID = 0xc4000028 |
| 8 | define SDEI_INTERRUPT_BIND_CALL_SMCID = 0xc400002d |
| 9 | define SDEI_VERSION_CALL_SMCID = 0xc4000020 |
| 10 | define SDEI_EVENT_REGISTER_CALL_SMCID = 0xc4000021 |
| 11 | define SDEI_EVENT_ENABLE_CALL_SMCID = 0xc4000022 |
| 12 | define SDEI_FEATURES_CALL_SMCID = 0xc4000030 |
| 13 | define SDEI_EVENT_DISABLE_CALL_SMCID = 0xc4000023 |
| 14 | define SDEI_EVENT_CONTEXT_CALL_SMCID = 0xc4000024 |
| 15 | define SDEI_EVENT_COMPLETE_CALL_SMCID = 0xc4000025 |
| 16 | define SDEI_EVENT_COMPLETE_AND_RESUME_CALL_SMCID = 0xc4000026 |
| 17 | define SDEI_EVENT_UNREGISTER_CALL_SMCID = 0xc4000027 |
| 18 | define SDEI_EVENT_GET_INFO_CALL_SMCID = 0xc4000029 |
| 19 | define SDEI_EVENT_ROUTING_SET_CALL_SMCID = 0xc400002a |
| 20 | define SDEI_PE_MASK_CALL_SMCID = 0xc400002b |
| 21 | define SDEI_PE_UNMASK_CALL_SMCID = 0xc400002c |
| 22 | define SDEI_INTERRUPT_RELEASE_CALL_SMCID = 0xc400002e |
| 23 | define SDEI_EVENT_SIGNAL_CALL_SMCID = 0xc400002f |
| 24 | define SDEI_PRIVATE_RESET_CALL_SMCID = 0xc4000031 |
| 25 | define SDEI_SHARED_RESET_CALL_SMCID = 0xc4000032 |
| 26 | |
| 27 | smc: SDEI_EVENT_STATUS_CALL SDEI_EVENT_STATUS_CALL_SMCID |
| Alex Liang | 0fa7d21 | 2024-06-18 11:17:01 -0500 | [diff] [blame] | 28 | arg1:bev |
| 29 | field:bev:[0,31] = 0 |
| Mark Dykes | f41d8ee | 2025-07-10 16:41:28 -0500 | [diff] [blame^] | 30 | smc: SDEI_INTERRUPT_BIND_CALL SDEI_INTERRUPT_BIND_CALL_SMCID |
| Alex Liang | 0fa7d21 | 2024-06-18 11:17:01 -0500 | [diff] [blame] | 31 | arg1:interruptnum |
| 32 | field:inum:[0,31] = 1 |
| Mark Dykes | f41d8ee | 2025-07-10 16:41:28 -0500 | [diff] [blame^] | 33 | smc: SDEI_VERSION_CALL SDEI_VERSION_CALL_SMCID |
| Alex Liang | 0fa7d21 | 2024-06-18 11:17:01 -0500 | [diff] [blame] | 34 | arg1-arg17 = 0 |
| Mark Dykes | f41d8ee | 2025-07-10 16:41:28 -0500 | [diff] [blame^] | 35 | smc: SDEI_EVENT_REGISTER_CALL SDEI_EVENT_REGISTER_CALL_SMCID |
| Alex Liang | 0fa7d21 | 2024-06-18 11:17:01 -0500 | [diff] [blame] | 36 | arg1:eventnum |
| 37 | field:enum:[0,31] = 0 |
| 38 | arg2:entryaddr |
| 39 | field:addr:[0,63] = 0 |
| 40 | arg3:eparg |
| 41 | field:arg:[0,63] = 0 |
| 42 | arg4:flags |
| 43 | field:routing:[0,0] = 0 |
| 44 | field:relative:[1,1] = 0 |
| 45 | field:reserved:[2,63] = 0 |
| 46 | arg5:affinity |
| 47 | field:aff:[0,63] = 0 |
| Mark Dykes | f41d8ee | 2025-07-10 16:41:28 -0500 | [diff] [blame^] | 48 | smc: SDEI_EVENT_ENABLE_CALL SDEI_EVENT_ENABLE_CALL_SMCID |
| Alex Liang | 0fa7d21 | 2024-06-18 11:17:01 -0500 | [diff] [blame] | 49 | arg1:eventnum |
| 50 | field:enum:[0,31] = 0 |
| Mark Dykes | f41d8ee | 2025-07-10 16:41:28 -0500 | [diff] [blame^] | 51 | smc: SDEI_FEATURES_CALL SDEI_FEATURES_CALL_SMCID |
| Alex Liang | 0fa7d21 | 2024-06-18 11:17:01 -0500 | [diff] [blame] | 52 | arg1:feature |
| 53 | field:feat:[0,31] = 0 |
| Mark Dykes | f41d8ee | 2025-07-10 16:41:28 -0500 | [diff] [blame^] | 54 | smc: SDEI_EVENT_DISABLE_CALL SDEI_EVENT_DISABLE_CALL_SMCID |
| Alex Liang | 0fa7d21 | 2024-06-18 11:17:01 -0500 | [diff] [blame] | 55 | arg1:eventnum |
| 56 | field:enum:[0,31] = 0 |
| Mark Dykes | f41d8ee | 2025-07-10 16:41:28 -0500 | [diff] [blame^] | 57 | smc: SDEI_EVENT_CONTEXT_CALL SDEI_EVENT_CONTEXT_CALL_SMCID |
| Alex Liang | 0fa7d21 | 2024-06-18 11:17:01 -0500 | [diff] [blame] | 58 | arg1:paramid |
| 59 | field:param:[0,31] = 0 |
| Mark Dykes | f41d8ee | 2025-07-10 16:41:28 -0500 | [diff] [blame^] | 60 | smc: SDEI_EVENT_COMPLETE_CALL SDEI_EVENT_COMPLETE_CALL_SMCID |
| Alex Liang | 0fa7d21 | 2024-06-18 11:17:01 -0500 | [diff] [blame] | 61 | arg1:status |
| 62 | field:stat:[0,31] = 0 |
| Mark Dykes | f41d8ee | 2025-07-10 16:41:28 -0500 | [diff] [blame^] | 63 | smc: SDEI_EVENT_COMPLETE_AND_RESUME_CALL SDEI_EVENT_COMPLETE_AND_RESUME_CALL_SMCID |
| Alex Liang | 0fa7d21 | 2024-06-18 11:17:01 -0500 | [diff] [blame] | 64 | arg1:resumeaddr |
| 65 | field:addr:[0,63] = 0 |
| Mark Dykes | f41d8ee | 2025-07-10 16:41:28 -0500 | [diff] [blame^] | 66 | smc: SDEI_EVENT_UNREGISTER_CALL SDEI_EVENT_UNREGISTER_CALL_SMCID |
| Alex Liang | 0fa7d21 | 2024-06-18 11:17:01 -0500 | [diff] [blame] | 67 | arg1:event |
| 68 | field:enum:[0,31] = 0 |
| Mark Dykes | f41d8ee | 2025-07-10 16:41:28 -0500 | [diff] [blame^] | 69 | smc: SDEI_EVENT_GET_INFO_CALL SDEI_EVENT_GET_INFO_CALL_SMCID |
| Alex Liang | 0fa7d21 | 2024-06-18 11:17:01 -0500 | [diff] [blame] | 70 | arg1:event |
| 71 | field:enum:[0,31] = 0 |
| 72 | arg2:info |
| 73 | field:info:[0,31] = 0 |
| Mark Dykes | f41d8ee | 2025-07-10 16:41:28 -0500 | [diff] [blame^] | 74 | smc: SDEI_EVENT_ROUTING_SET_CALL SDEI_EVENT_ROUTING_SET_CALL_SMCID |
| Alex Liang | 0fa7d21 | 2024-06-18 11:17:01 -0500 | [diff] [blame] | 75 | arg1:event |
| 76 | field:enum:[0,31] = 0 |
| Alex Liang | 1d40d72 | 2024-07-23 16:42:16 -0500 | [diff] [blame] | 77 | arg2:routingmode |
| Alex Liang | 0fa7d21 | 2024-06-18 11:17:01 -0500 | [diff] [blame] | 78 | field:routing:[0,0] = 0 |
| 79 | field:constant:[1,63] = 0 |
| Alex Liang | 1d40d72 | 2024-07-23 16:42:16 -0500 | [diff] [blame] | 80 | arg3:affinity |
| Alex Liang | 0fa7d21 | 2024-06-18 11:17:01 -0500 | [diff] [blame] | 81 | field:aff:[0,63] = 0 |
| Mark Dykes | f41d8ee | 2025-07-10 16:41:28 -0500 | [diff] [blame^] | 82 | smc: SDEI_PE_MASK_CALL SDEI_PE_MASK_CALL_SMCID |
| Alex Liang | 0fa7d21 | 2024-06-18 11:17:01 -0500 | [diff] [blame] | 83 | arg1 = 0 |
| Mark Dykes | f41d8ee | 2025-07-10 16:41:28 -0500 | [diff] [blame^] | 84 | smc: SDEI_PE_UNMASK_CALL SDEI_PE_UNMASK_CALL_SMCID |
| Alex Liang | 0fa7d21 | 2024-06-18 11:17:01 -0500 | [diff] [blame] | 85 | arg1 = 0 |
| Mark Dykes | f41d8ee | 2025-07-10 16:41:28 -0500 | [diff] [blame^] | 86 | smc: SDEI_INTERRUPT_RELEASE_CALL SDEI_INTERRUPT_RELEASE_CALL_SMCID |
| Alex Liang | 0fa7d21 | 2024-06-18 11:17:01 -0500 | [diff] [blame] | 87 | arg1:event |
| 88 | field:enum:[0,31] = 0 |
| Mark Dykes | f41d8ee | 2025-07-10 16:41:28 -0500 | [diff] [blame^] | 89 | smc: SDEI_EVENT_SIGNAL_CALL SDEI_EVENT_SIGNAL_CALL_SMCID |
| Alex Liang | 0fa7d21 | 2024-06-18 11:17:01 -0500 | [diff] [blame] | 90 | arg1:event |
| 91 | field:enum:[0,31] = 0 |
| 92 | arg2:targetpe |
| 93 | field:pe:[0,31] = 0 |
| Mark Dykes | f41d8ee | 2025-07-10 16:41:28 -0500 | [diff] [blame^] | 94 | smc: SDEI_PRIVATE_RESET_CALL SDEI_PRIVATE_RESET_CALL_SMCID |
| Alex Liang | 0fa7d21 | 2024-06-18 11:17:01 -0500 | [diff] [blame] | 95 | arg1 = 0 |
| Mark Dykes | f41d8ee | 2025-07-10 16:41:28 -0500 | [diff] [blame^] | 96 | smc: SDEI_SHARED_RESET_CALL SDEI_SHARED_RESET_CALL_SMCID |
| Alex Liang | 0fa7d21 | 2024-06-18 11:17:01 -0500 | [diff] [blame] | 97 | arg1 = 0 |