diff options
Diffstat (limited to 'drivers/misc/sgi-gru/grulib.h')
-rw-r--r-- | drivers/misc/sgi-gru/grulib.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/drivers/misc/sgi-gru/grulib.h b/drivers/misc/sgi-gru/grulib.h index 8ed6acbc47c7..8615b904a7c7 100644 --- a/drivers/misc/sgi-gru/grulib.h +++ b/drivers/misc/sgi-gru/grulib.h | |||
@@ -32,8 +32,8 @@ | |||
32 | /* Set Number of Request Blocks */ | 32 | /* Set Number of Request Blocks */ |
33 | #define GRU_CREATE_CONTEXT _IOWR(GRU_IOCTL_NUM, 1, void *) | 33 | #define GRU_CREATE_CONTEXT _IOWR(GRU_IOCTL_NUM, 1, void *) |
34 | 34 | ||
35 | /* Register task as using the slice */ | 35 | /* Set Context Options */ |
36 | #define GRU_SET_TASK_SLICE _IOWR(GRU_IOCTL_NUM, 5, void *) | 36 | #define GRU_SET_CONTEXT_OPTION _IOWR(GRU_IOCTL_NUM, 4, void *) |
37 | 37 | ||
38 | /* Fetch exception detail */ | 38 | /* Fetch exception detail */ |
39 | #define GRU_USER_GET_EXCEPTION_DETAIL _IOWR(GRU_IOCTL_NUM, 6, void *) | 39 | #define GRU_USER_GET_EXCEPTION_DETAIL _IOWR(GRU_IOCTL_NUM, 6, void *) |
@@ -96,6 +96,16 @@ struct gru_unload_context_req { | |||
96 | }; | 96 | }; |
97 | 97 | ||
98 | /* | 98 | /* |
99 | * Structure used to set context options | ||
100 | */ | ||
101 | enum {sco_gseg_owner}; | ||
102 | struct gru_set_context_option_req { | ||
103 | unsigned long gseg; | ||
104 | int op; | ||
105 | unsigned long val1; | ||
106 | }; | ||
107 | |||
108 | /* | ||
99 | * Structure used to pass TLB flush parameters to the driver | 109 | * Structure used to pass TLB flush parameters to the driver |
100 | */ | 110 | */ |
101 | struct gru_flush_tlb_req { | 111 | struct gru_flush_tlb_req { |