feat(drtm): add additional return codes

Add additional return codes defined in the DRTM 1.0 spec.

Signed-off-by: Stuart Yoder <stuart.yoder@arm.com>
Change-Id: I1620e098edf4f070ac759a26ce3c7272faf2d8b2
This commit is contained in:
Stuart Yoder 2024-01-09 17:51:38 -06:00
parent e8eb44182d
commit 89f5c753af

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2022 Arm Limited. All rights reserved.
* Copyright (c) 2022-2024 Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
@ -55,6 +55,12 @@ enum drtm_retc {
NOT_FOUND = -4,
INTERNAL_ERROR = -5,
MEM_PROTECT_INVALID = -6,
COPROCESSOR_ERROR = -7,
OUT_OF_RESOURCE = -8,
INVALID_DATA = -9,
SECONDARY_PE_NOT_OFF = -10,
ALREADY_CLOSED = -11,
TPM_ERROR = -12
};
typedef struct {