blob: 6d3e90b8aacb625bf47fea931cdc7c4a9aea8ac1 [file] [log] [blame]
Julian Hall536afb12022-10-12 11:25:55 +01001/*
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 */
Gyorgy Szing3c446242023-03-31 01:53:15 +020013#define FWU_STATUS_SUCCESS ((int32_t)0)
14#define FWU_STATUS_UNKNOWN ((int32_t)-1)
15#define FWU_STATUS_BUSY ((int32_t)-2)
Julian Hall536afb12022-10-12 11:25:55 +010016#define FWU_STATUS_OUT_OF_BOUNDS ((int32_t)-3)
Gyorgy Szing3c446242023-03-31 01:53:15 +020017#define FWU_STATUS_AUTH_FAIL ((int32_t)-4)
Julian Hall536afb12022-10-12 11:25:55 +010018#define FWU_STATUS_NO_PERMISSION ((int32_t)-5)
Gyorgy Szing3c446242023-03-31 01:53:15 +020019#define FWU_STATUS_DENIED ((int32_t)-6)
20#define FWU_STATUS_RESUME ((int32_t)-7)
Julian Hall536afb12022-10-12 11:25:55 +010021#define FWU_STATUS_NOT_AVAILABLE ((int32_t)-8)
22
23#endif /* FWU_PROTO_STATUS_H */