Merge "msm: adsprpc: Maintain the same structures in kernel and user-space"
This commit is contained in:
commit
16f7475b49
1 changed files with 13 additions and 0 deletions
|
@ -119,6 +119,17 @@ struct compat_fastrpc_ioctl_perf { /* kernel performance data */
|
||||||
compat_uptr_t keys;
|
compat_uptr_t keys;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#define FASTRPC_CONTROL_LATENCY (1)
|
||||||
|
struct compat_fastrpc_ctrl_latency {
|
||||||
|
compat_uint_t enable;
|
||||||
|
compat_uint_t level;
|
||||||
|
};
|
||||||
|
|
||||||
|
#define FASTRPC_CONTROL_SMMU (2)
|
||||||
|
struct compat_fastrpc_ctrl_smmu {
|
||||||
|
compat_uint_t sharedcb;
|
||||||
|
};
|
||||||
|
|
||||||
#define FASTRPC_CONTROL_KALLOC (3)
|
#define FASTRPC_CONTROL_KALLOC (3)
|
||||||
struct compat_fastrpc_ctrl_kalloc {
|
struct compat_fastrpc_ctrl_kalloc {
|
||||||
compat_uint_t kalloc_support; /* Remote memory allocation from kernel */
|
compat_uint_t kalloc_support; /* Remote memory allocation from kernel */
|
||||||
|
@ -127,6 +138,8 @@ struct compat_fastrpc_ctrl_kalloc {
|
||||||
struct compat_fastrpc_ioctl_control {
|
struct compat_fastrpc_ioctl_control {
|
||||||
compat_uint_t req;
|
compat_uint_t req;
|
||||||
union {
|
union {
|
||||||
|
struct compat_fastrpc_ctrl_latency lp;
|
||||||
|
struct compat_fastrpc_ctrl_smmu smmu;
|
||||||
struct compat_fastrpc_ctrl_kalloc kalloc;
|
struct compat_fastrpc_ctrl_kalloc kalloc;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue