blob: 7353916062e2e727ffa4cec4cec24b2d758deccf [file] [log] [blame]
Nikhilesh Reddybc69c702015-06-01 16:08:32 -07001/* Copyright (c) 2014-2015, 2017, The Linux Foundation. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 *
12 */
13
14#ifndef __SHAREDMEM_QMI_H__
15#define __SHAREDMEM_QMI_H__
16
17#include <linux/module.h>
18
19struct sharemem_qmi_entry {
20 const char *client_name;
21 u32 client_id;
22 u64 address;
23 u32 size;
24 bool is_addr_dynamic;
25};
26
27int sharedmem_qmi_init(void);
28
29void sharedmem_qmi_exit(void);
30
31void sharedmem_qmi_add_entry(struct sharemem_qmi_entry *qmi_entry);
32
33#endif /* __SHAREDMEM_QMI_H__ */