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_STATUS_H |
| 8 | #define FWU_PROTO_STATUS_H |
| 9 | |
| 10 | /** |
| 11 | * Service-level status codes |
| 12 | */ |
| 13 | #define FWU_STATUS_SUCCESS ((int32_t)0) |
| 14 | #define FWU_STATUS_UNKNOWN ((int32_t)-1) |
| 15 | #define FWU_STATUS_BUSY ((int32_t)-2) |
| 16 | #define FWU_STATUS_OUT_OF_BOUNDS ((int32_t)-3) |
| 17 | #define FWU_STATUS_AUTH_FAIL ((int32_t)-4) |
| 18 | #define FWU_STATUS_NO_PERMISSION ((int32_t)-5) |
| 19 | #define FWU_STATUS_DENIED ((int32_t)-6) |
| 20 | #define FWU_STATUS_RESUME ((int32_t)-7) |
| 21 | #define FWU_STATUS_NOT_AVAILABLE ((int32_t)-8) |
| 22 | |
| 23 | #endif /* FWU_PROTO_STATUS_H */ |