Sandrine Bailleux | 3cd87d7 | 2018-10-09 11:12:55 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2018, Arm Limited. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #ifndef __STATUS_H__ |
| 8 | #define __STATUS_H__ |
| 9 | |
| 10 | /* Status Code definitions */ |
| 11 | #define STATUS_SUCCESS 0x00 |
| 12 | #define STATUS_INVALID_PARAMETER 0x01 |
| 13 | #define STATUS_UNSUPPORTED 0x02 |
| 14 | #define STATUS_OUT_OF_RESOURCES 0x03 |
| 15 | #define STATUS_NOT_FOUND 0x04 |
| 16 | #define STATUS_ABORTED 0x05 |
| 17 | #define STATUS_LOAD_ERROR 0x06 |
| 18 | #define STATUS_NEVER_RETURN 0x07 |
| 19 | #define STATUS_BUSY 0x08 |
| 20 | #define STATUS_NOT_INIT 0x09 |
| 21 | #define STATUS_BUFFER_TOO_SMALL 0x0A |
| 22 | #define STATUS_COMPROMISED_DATA 0x0B |
| 23 | #define STATUS_ALREADY_LOADED 0x0C |
| 24 | #define STATUS_FAIL 0x0D |
| 25 | |
| 26 | typedef unsigned int STATUS; |
| 27 | |
| 28 | #endif /* __STATUS_H__ */ |