1 /*
2  * Copyright (c) 2022-2024, 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  */
13 #define FWU_FUNC_ID_DISCOVER		(0)
14 #define FWU_FUNC_ID_BEGIN_STAGING	(16)
15 #define FWU_FUNC_ID_END_STAGING	(17)
16 #define FWU_FUNC_ID_CANCEL_STAGING	(18)
17 #define FWU_FUNC_ID_OPEN		(19)
18 #define FWU_FUNC_ID_WRITE_STREAM	(20)
19 #define FWU_FUNC_ID_READ_STREAM	(21)
20 #define FWU_FUNC_ID_COMMIT		(22)
21 #define FWU_FUNC_ID_ACCEPT_IMAGE	(23)
22 #define FWU_FUNC_ID_SELECT_PREVIOUS	(24)
23 
24 #define FWU_FUNC_ID_COUNT		(10)
25 
26 #endif /* FWU_PROTO_OPCODES_H */
27