Files
archived-ballistic/include/bal_errors.h
Ronald Caesar 00c2866fb4 memory: add flat translation interface
Defines the API for memory translation.

Signed-off-by: Ronald Caesar <github43132@proton.me>
2026-01-14 22:39:06 -04:00

27 lines
498 B
C

/** @file bal_errors.h
*
* @brief Defines Ballistic error types.
*/
#ifndef BAL_ERRORS_H
#define BAL_ERRORS_H
typedef enum
{
// General Errors.
//
BAL_SUCCESS = 0,
BAL_ERROR_INVALID_ARGUMENT = -1,
BAL_ERROR_ALLOCATION_FAILED = -2,
BAL_ERROR_MEMORY_ALIGNMENT = -3,
BAL_ERROR_ENGINE_STATE_INVALID = -4,
// IR Errors.
//
BAL_ERROR_INSTRUCTION_OVERFLOW = -100,
} bal_error_t;
#endif /* BAL_ERRORS_H */
/*** end of file ***/