Julian Hall | 536afb1 | 2022-10-12 11:25:55 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2022, Arm Limited and Contributors. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #ifndef FWU_PROTO_OPCODES_H |
| 8 | #define FWU_PROTO_OPCODES_H |
| 9 | |
| 10 | /** |
| 11 | * Service-level opcodes |
| 12 | */ |
Gyorgy Szing | 3c44624 | 2023-03-31 01:53:15 +0200 | [diff] [blame] | 13 | #define TS_FWU_OPCODE_BASE (0x10) |
| 14 | #define TS_FWU_OPCODE_BEGIN_STAGING (TS_FWU_OPCODE_BASE + 0) |
| 15 | #define TS_FWU_OPCODE_END_STAGING (TS_FWU_OPCODE_BASE + 1) |
| 16 | #define TS_FWU_OPCODE_CANCEL_STAGING (TS_FWU_OPCODE_BASE + 2) |
| 17 | #define TS_FWU_OPCODE_OPEN (TS_FWU_OPCODE_BASE + 3) |
| 18 | #define TS_FWU_OPCODE_WRITE_STREAM (TS_FWU_OPCODE_BASE + 4) |
| 19 | #define TS_FWU_OPCODE_READ_STREAM (TS_FWU_OPCODE_BASE + 5) |
| 20 | #define TS_FWU_OPCODE_COMMIT (TS_FWU_OPCODE_BASE + 6) |
| 21 | #define TS_FWU_OPCODE_ACCEPT_IMAGE (TS_FWU_OPCODE_BASE + 7) |
| 22 | #define TS_FWU_OPCODE_SELECT_PREVIOUS (TS_FWU_OPCODE_BASE + 8) |
Julian Hall | 536afb1 | 2022-10-12 11:25:55 +0100 | [diff] [blame] | 23 | |
| 24 | #endif /* FWU_PROTO_OPCODES_H */ |