mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 05:14:51 +07:00
4b638df4c9
The Shared Memory Manager driver implements an interface for allocating and accessing items in the memory area shared among all of the processors in a Qualcomm platform. Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> Acked-by: Andy Gross <agross@codeaurora.org> Signed-off-by: Andy Gross <agross@codeaurora.org>
12 lines
273 B
C
12 lines
273 B
C
#ifndef __QCOM_SMEM_H__
|
|
#define __QCOM_SMEM_H__
|
|
|
|
#define QCOM_SMEM_HOST_ANY -1
|
|
|
|
int qcom_smem_alloc(unsigned host, unsigned item, size_t size);
|
|
int qcom_smem_get(unsigned host, unsigned item, void **ptr, size_t *size);
|
|
|
|
int qcom_smem_get_free_space(unsigned host);
|
|
|
|
#endif
|