Nikhilesh Reddy | bc69c70 | 2015-06-01 16:08:32 -0700 | [diff] [blame] | 1 | /* 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 | |
| 19 | struct 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 | |
| 27 | int sharedmem_qmi_init(void); |
| 28 | |
| 29 | void sharedmem_qmi_exit(void); |
| 30 | |
| 31 | void sharedmem_qmi_add_entry(struct sharemem_qmi_entry *qmi_entry); |
| 32 | |
| 33 | #endif /* __SHAREDMEM_QMI_H__ */ |