1
0
mirror of https://github.com/physwizz/a155-U-u1.git synced 2025-07-03 17:37:33 +00:00
Files
physwizz 99537be4e2 first
2024-03-11 06:53:12 +11:00

23 lines
408 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2022 MediaTek Inc.
*/
#ifndef IOMMU_PSEUDO_H
#define IOMMU_PSEUDO_H
#include <public/trusted_mem_api.h>
enum mtk_iommu_sec_id {
SEC_ID_SEC_CAM = 0,
SEC_ID_SVP,
SEC_ID_SDSP,
SEC_ID_WFD,
SEC_ID_COUNT
};
int mtk_iommu_sec_init(int mtk_iommu_sec_id);
bool is_disable_map_sec(void);
int tmem_type2sec_id(enum TRUSTED_MEM_REQ_TYPE tmem);
#endif