kernel_samsung_a34x-permissive/drivers/misc/mediatek/m4u/3.2/m4u_debug.h

21 lines
476 B
C
Raw Normal View History

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2020 MediaTek Inc.
*/
#ifndef __M4U_DEBUG_H__
#define __M4U_DEBUG_H__
extern unsigned long gM4U_ProtectVA;
extern int __attribute__((weak)) __ddp_mem_test(unsigned int *pSrc,
unsigned int pSrcPa,
unsigned int *pDst, unsigned int pDstPa,
int need_sync);
#ifdef M4U_TEE_SERVICE_ENABLE
extern int m4u_sec_init(void);
extern int m4u_config_port_tee(struct M4U_PORT_STRUCT *pM4uPort);
#endif
#endif