1 /* 2 * Copyright (C) 2022 Huawei Technologies Co., Ltd. 3 * Licensed under the Mulan PSL v2. 4 * You can use this software according to the terms and conditions of the Mulan PSL v2. 5 * You may obtain a copy of Mulan PSL v2 at: 6 * http://license.coscl.org.cn/MulanPSL2 7 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR 8 * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR 9 * PURPOSE. 10 * See the Mulan PSL v2 for more details. 11 */ 12 #ifndef GTASK_TEE_LOAD_EXT_MF_H 13 #define GTASK_TEE_LOAD_EXT_MF_H 14 15 #include <dyn_conf_common.h> 16 #include <dyn_conf_dispatch_inf.h> 17 #include "tee_defines.h" 18 #include "tee_elf_verify.h" 19 enum { 20 UNSUPPORTED, 21 TA_DISTRIBUTION, 22 TA_API_LEVEL, 23 SDK_VERSION, 24 IS_LIB, 25 SSA_ENUM_ENABLE, 26 IS_DYN_CONF, 27 TARGET_TYPE, 28 TARGET_VERSION, 29 SYS_VERIFY_TA, 30 MEM_PAGE_ALIGN, 31 HARD_WARE_TYPE, 32 SRV_RELEASE_TA_RES, 33 SRV_CRASH_CALLBACK, 34 SRV_NEED_CREATE_MSG, 35 SRV_NEED_RELEASE_MSG, 36 }; 37 38 TEE_Result tee_secure_img_parse_manifest_extension(const char *extension, uint32_t extension_size, 39 manifest_extension_t *mani_ext, struct dyn_conf_t *dyn_conf); 40 #endif 41