mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
d8cfbc189b
PD#SWPL-66601 Problem: porting secmon driver Solution: porting secmon driver, and modify function: dma_alloc_from_contiguous() -> dma_alloc_coherent() Verify: s4d Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com> Change-Id: Ibe8cee8b91596dcb4caa14c254453faf37425d97
25 lines
686 B
C
25 lines
686 B
C
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
|
|
/*
|
|
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __SEC_MON_H__
|
|
#define __SEC_MON_H__
|
|
|
|
void __iomem *get_secmon_sharemem_input_base(void);
|
|
void __iomem *get_secmon_sharemem_output_base(void);
|
|
long get_secmon_phy_input_base(void);
|
|
long get_secmon_phy_output_base(void);
|
|
|
|
//void secmon_clear_cma_mmu(void);
|
|
|
|
int within_secmon_region(unsigned long addr);
|
|
void meson_sm_mutex_lock(void);
|
|
void meson_sm_mutex_unlock(void);
|
|
void __iomem *get_meson_sm_input_base(void);
|
|
void __iomem *get_meson_sm_output_base(void);
|
|
unsigned int get_secmon_sharemem_in_size(void);
|
|
unsigned int get_secmon_sharemem_out_size(void);
|
|
|
|
#endif
|