diff options
| author | Yong Ding <yongding@codeaurora.org> | 2018-03-19 16:39:28 +0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-03-20 19:01:52 -0700 |
| commit | 4fc0ee9d997b4f2ebff497655c024ec4d5b2ea47 (patch) | |
| tree | 89badda802f35e33fa318228234593e381abffad /include/uapi | |
| parent | bb9c0e0ec85aa211716bff72ae378e0c87dae4a2 (diff) | |
soc: qcom: hab: add habmm_socket_query support
This query API can be used by hab clients to get
their virtual channels' info if necessary, eg, the
local and remote vmids.
Change-Id: I1293b51a1127997f493f07c0c2181423bf45d79e
Signed-off-by: Yong Ding <yongding@codeaurora.org>
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/linux/habmm.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/uapi/linux/habmm.h b/include/uapi/linux/habmm.h index 8586048e20c0..b1b6561f2552 100644 --- a/include/uapi/linux/habmm.h +++ b/include/uapi/linux/habmm.h @@ -59,6 +59,14 @@ struct hab_unimport { __u32 flags; }; +struct hab_info { + __s32 vcid; + __u64 ids; /* high part remote; low part local */ + __u64 names; + __u32 namesize; /* single name length */ + __u32 flags; +}; + #define HAB_IOC_TYPE 0x0A #define HAB_MAX_MSG_SIZEBYTES 0x1000 #define HAB_MAX_EXPORT_SIZE 0x8000000 @@ -163,4 +171,7 @@ struct hab_unimport { #define IOCTL_HAB_VC_UNIMPORT \ _IOW(HAB_IOC_TYPE, 0x9, struct hab_unimport) +#define IOCTL_HAB_VC_QUERY \ + _IOWR(HAB_IOC_TYPE, 0xA, struct hab_info) + #endif /* HABMM_H */ |
