/* * Copyright (c) 2023, Arm Limited. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause * */ #ifndef __INTERNAL_STATUS_CODE_H__ #define __INTERNAL_STATUS_CODE_H__ #include "psa/error.h" #define SPM_SUCCESS PSA_SUCCESS /* SPM implementation status range from -249 to -256. */ #define SPM_ERROR_BAD_PARAMETERS ((psa_status_t)-249) #define SPM_ERROR_SHORT_BUFFER ((psa_status_t)-250) #define SPM_ERROR_VERSION ((psa_status_t)-251) #define SPM_ERROR_MEMORY_CHECK ((psa_status_t)-252) #define SPM_ERROR_GENERIC ((psa_status_t)-253) #define STATUS_NEED_SCHEDULE ((psa_status_t)-254) #endif /* __INTERNAL_STATUS_CODE_H__ */