Skip to content

Commit

Permalink
vcsm: Describe the use of cache operation constants
Browse files Browse the repository at this point in the history
Signed-off-by: Sugizaki Yukimasa <i.can.speak.c.and.basic@gmail.com>
  • Loading branch information
Terminus-IMRC authored and popcornmix committed Jan 8, 2018
1 parent 63e3fac commit 8d80658
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions include/linux/broadcom/vmcs_sm_ioctl.h
Expand Up @@ -79,11 +79,6 @@ enum vmcs_sm_cache_e {
VMCS_SM_CACHE_BOTH,
};

/* Cache functions */
#define VCSM_CACHE_OP_INV 0x01
#define VCSM_CACHE_OP_CLEAN 0x02
#define VCSM_CACHE_OP_FLUSH 0x03

/* IOCTL Data structures */
struct vmcs_sm_ioctl_alloc {
/* user -> kernel */
Expand Down Expand Up @@ -173,6 +168,14 @@ struct vmcs_sm_ioctl_cache {
unsigned int size;
};

/*
* Cache functions to be set to struct vmcs_sm_ioctl_clean_invalid cmd and
* vmcs_sm_ioctl_clean_invalid2 invalidate_mode.
*/
#define VCSM_CACHE_OP_INV 0x01
#define VCSM_CACHE_OP_CLEAN 0x02
#define VCSM_CACHE_OP_FLUSH 0x03

struct vmcs_sm_ioctl_clean_invalid {
/* user -> kernel */
struct {
Expand Down

0 comments on commit 8d80658

Please sign in to comment.