aboutsummaryrefslogtreecommitdiffstats
path: root/arch/hexagon/include/asm/hexagon_vm.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/hexagon/include/asm/hexagon_vm.h')
-rw-r--r--arch/hexagon/include/asm/hexagon_vm.h47
1 files changed, 24 insertions, 23 deletions
diff --git a/arch/hexagon/include/asm/hexagon_vm.h b/arch/hexagon/include/asm/hexagon_vm.h
index c144bee6cabe..6b81e4d5ecb1 100644
--- a/arch/hexagon/include/asm/hexagon_vm.h
+++ b/arch/hexagon/include/asm/hexagon_vm.h
@@ -31,10 +31,26 @@
31 * for tracing/debugging. 31 * for tracing/debugging.
32 */ 32 */
33 33
34/* 34#define HVM_TRAP1_VMVERSION 0
35 * Lets make this stuff visible only if configured, 35#define HVM_TRAP1_VMRTE 1
36 * so we can unconditionally include the file. 36#define HVM_TRAP1_VMSETVEC 2
37 */ 37#define HVM_TRAP1_VMSETIE 3
38#define HVM_TRAP1_VMGETIE 4
39#define HVM_TRAP1_VMINTOP 5
40#define HVM_TRAP1_VMCLRMAP 10
41#define HVM_TRAP1_VMNEWMAP 11
42#define HVM_TRAP1_FORMERLY_VMWIRE 12
43#define HVM_TRAP1_VMCACHE 13
44#define HVM_TRAP1_VMGETTIME 14
45#define HVM_TRAP1_VMSETTIME 15
46#define HVM_TRAP1_VMWAIT 16
47#define HVM_TRAP1_VMYIELD 17
48#define HVM_TRAP1_VMSTART 18
49#define HVM_TRAP1_VMSTOP 19
50#define HVM_TRAP1_VMVPID 20
51#define HVM_TRAP1_VMSETREGS 21
52#define HVM_TRAP1_VMGETREGS 22
53#define HVM_TRAP1_VMTIMEROP 24
38 54
39#ifndef __ASSEMBLY__ 55#ifndef __ASSEMBLY__
40 56
@@ -175,25 +191,6 @@ static inline long __vmintop_clear(long i)
175 191
176#else /* Only assembly code should reference these */ 192#else /* Only assembly code should reference these */
177 193
178#define HVM_TRAP1_VMRTE 1
179#define HVM_TRAP1_VMSETVEC 2
180#define HVM_TRAP1_VMSETIE 3
181#define HVM_TRAP1_VMGETIE 4
182#define HVM_TRAP1_VMINTOP 5
183#define HVM_TRAP1_VMCLRMAP 10
184#define HVM_TRAP1_VMNEWMAP 11
185#define HVM_TRAP1_FORMERLY_VMWIRE 12
186#define HVM_TRAP1_VMCACHE 13
187#define HVM_TRAP1_VMGETTIME 14
188#define HVM_TRAP1_VMSETTIME 15
189#define HVM_TRAP1_VMWAIT 16
190#define HVM_TRAP1_VMYIELD 17
191#define HVM_TRAP1_VMSTART 18
192#define HVM_TRAP1_VMSTOP 19
193#define HVM_TRAP1_VMVPID 20
194#define HVM_TRAP1_VMSETREGS 21
195#define HVM_TRAP1_VMGETREGS 22
196
197#endif /* __ASSEMBLY__ */ 194#endif /* __ASSEMBLY__ */
198 195
199/* 196/*
@@ -224,6 +221,8 @@ static inline long __vmintop_clear(long i)
224#define HVM_VMEST_UM_MSK 1 221#define HVM_VMEST_UM_MSK 1
225#define HVM_VMEST_IE_SFT 30 222#define HVM_VMEST_IE_SFT 30
226#define HVM_VMEST_IE_MSK 1 223#define HVM_VMEST_IE_MSK 1
224#define HVM_VMEST_SS_SFT 29
225#define HVM_VMEST_SS_MSK 1
227#define HVM_VMEST_EVENTNUM_SFT 16 226#define HVM_VMEST_EVENTNUM_SFT 16
228#define HVM_VMEST_EVENTNUM_MSK 0xff 227#define HVM_VMEST_EVENTNUM_MSK 0xff
229#define HVM_VMEST_CAUSE_SFT 0 228#define HVM_VMEST_CAUSE_SFT 0
@@ -260,6 +259,8 @@ static inline long __vmintop_clear(long i)
260#define HVM_GE_C_INVI 0x15 259#define HVM_GE_C_INVI 0x15
261#define HVM_GE_C_PRIVI 0x1B 260#define HVM_GE_C_PRIVI 0x1B
262#define HVM_GE_C_XMAL 0x1C 261#define HVM_GE_C_XMAL 0x1C
262#define HVM_GE_C_WREG 0x1D
263#define HVM_GE_C_PCAL 0x1E
263#define HVM_GE_C_RMAL 0x20 264#define HVM_GE_C_RMAL 0x20
264#define HVM_GE_C_WMAL 0x21 265#define HVM_GE_C_WMAL 0x21
265#define HVM_GE_C_RPROT 0x22 266#define HVM_GE_C_RPROT 0x22