
A new module named qseecom_proxy has been defined in kernel which acts as a forwarder for calls received from kernel clients of qseecom and smcinvoke. This change adds the support for calling that module from the vendor dlkm modules smcinvoke and qseecom. Change-Id: I0d1aa93b9cea9e6a6e1fee17c33c78e14deb8ecf Signed-off-by: Anmolpreet Kaur <quic_anmolpre@quicinc.com>
26 行
665 B
C
26 行
665 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __QSEECOM_PRIV_H_
|
|
#define __QSEECOM_PRIV_H_
|
|
|
|
#include <linux/types.h>
|
|
|
|
#if IS_ENABLED(CONFIG_QSEECOM) || IS_ENABLED(CONFIG_ARCH_SA8155)
|
|
|
|
int qseecom_process_listener_from_smcinvoke(uint32_t *result,
|
|
u64 *response_type, unsigned int *data);
|
|
#else
|
|
static inline int qseecom_process_listener_from_smcinvoke(uint32_t *result,
|
|
u64 *response_type, unsigned int *data)
|
|
{
|
|
return -EOPNOTSUPP;
|
|
}
|
|
#endif
|
|
|
|
int get_qseecom_kernel_fun_ops(void);
|
|
|
|
#endif
|