summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2018-03-28 15:27:53 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2018-03-28 15:27:52 -0700
commit4494f37ab318139519f4116e3e48d487223ddb88 (patch)
tree147fda0d61fcebb44a0c55ec2ecdd4248eb90ad6 /include/linux
parenta56e768ca3bf5a8484dc28d173984f3960307bdf (diff)
parent4fc0ee9d997b4f2ebff497655c024ec4d5b2ea47 (diff)
Merge "soc: qcom: hab: add habmm_socket_query support"
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/habmm.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/include/linux/habmm.h b/include/linux/habmm.h
index 4d3a81f536d9..1c27ee4f14f7 100644
--- a/include/linux/habmm.h
+++ b/include/linux/habmm.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -35,4 +35,15 @@ int32_t habmm_import(int32_t handle, void **buff_shared, uint32_t size_bytes,
int32_t habmm_unimport(int32_t handle, uint32_t export_id, void *buff_shared,
uint32_t flags);
+struct hab_socket_info {
+ int32_t vmid_remote; /* habmm's vmid */
+ int32_t vmid_local;
+ /* name from hypervisor framework if available */
+ char vmname_remote[12];
+ char vmname_local[12];
+};
+
+int32_t habmm_socket_query(int32_t handle, struct hab_socket_info *info,
+ uint32_t flags);
+
#endif