Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions | Variables
hexagon_vm.h File Reference

Go to the source code of this file.

Macros

#define VM_INT_DISABLE   0
 
#define VM_INT_ENABLE   1
 
#define VM_INT_UNMASK   0
 
#define VM_INT_MASK   1
 
#define VM_NEWMAP_TYPE_LINEAR   0
 
#define VM_NEWMAP_TYPE_PGTABLES   1
 
#define HVM_VMEST_UM_SFT   31
 
#define HVM_VMEST_UM_MSK   1
 
#define HVM_VMEST_IE_SFT   30
 
#define HVM_VMEST_IE_MSK   1
 
#define HVM_VMEST_EVENTNUM_SFT   16
 
#define HVM_VMEST_EVENTNUM_MSK   0xff
 
#define HVM_VMEST_CAUSE_SFT   0
 
#define HVM_VMEST_CAUSE_MSK   0xffff
 
#define HEXAGON_VM_SED_NULL   0
 
#define HVM_EV_RESET   0
 
#define HVM_EV_MACHCHECK   1
 
#define HVM_EV_GENEX   2
 
#define HVM_EV_TRAP   8
 
#define HVM_EV_INTR   15
 
#define HVM_EV_INTR_0   16
 
#define HVM_MAX_INTR   240
 
#define HVM_GE_C_BUS   0x01
 
#define HVM_GE_C_XPROT   0x11
 
#define HVM_GE_C_XUSER   0x14
 
#define HVM_GE_C_INVI   0x15
 
#define HVM_GE_C_PRIVI   0x1B
 
#define HVM_GE_C_XMAL   0x1C
 
#define HVM_GE_C_RMAL   0x20
 
#define HVM_GE_C_WMAL   0x21
 
#define HVM_GE_C_RPROT   0x22
 
#define HVM_GE_C_WPROT   0x23
 
#define HVM_GE_C_RUSER   0x24
 
#define HVM_GE_C_WUSER   0x25
 
#define HVM_GE_C_CACHE   0x28
 
#define HVM_MCHK_C_DOWN   0x00
 
#define HVM_MCHK_C_BADSP   0x01
 
#define HVM_MCHK_C_BADEX   0x02
 
#define HVM_MCHK_C_BADPT   0x03
 
#define HVM_MCHK_C_REGWR   0x29
 

Enumerations

enum  VM_CACHE_OPS {
  ickill, dckill, l2kill, dccleaninva,
  icinva, idsync, fetch_cfg
}
 
enum  VM_INT_OPS {
  nop, globen, globdis, locen,
  locdis, affinity, get, peek,
  status, post, clear
}
 

Functions

void _K_VM_event_vector (void)
 
void __vmrte (void)
 
long __vmsetvec (void *)
 
long __vmsetie (long)
 
long __vmgetie (void)
 
long __vmintop (enum VM_INT_OPS, long, long, long, long)
 
long __vmclrmap (void *, unsigned long)
 
long __vmnewmap (void *)
 
long __vmcache (enum VM_CACHE_OPS op, unsigned long addr, unsigned long len)
 
unsigned long long __vmgettime (void)
 
long __vmsettime (unsigned long long)
 
long __vmstart (void *, void *)
 
void __vmstop (void)
 
long __vmwait (void)
 
void __vmyield (void)
 
long __vmvpid (void)
 

Variables

enum VM_CACHE_OPS __attribute__
 

Macro Definition Documentation

#define HEXAGON_VM_SED_NULL   0

Definition at line 238 of file hexagon_vm.h.

#define HVM_EV_GENEX   2

Definition at line 246 of file hexagon_vm.h.

#define HVM_EV_INTR   15

Definition at line 248 of file hexagon_vm.h.

#define HVM_EV_INTR_0   16

Definition at line 250 of file hexagon_vm.h.

#define HVM_EV_MACHCHECK   1

Definition at line 245 of file hexagon_vm.h.

#define HVM_EV_RESET   0

Definition at line 244 of file hexagon_vm.h.

#define HVM_EV_TRAP   8

Definition at line 247 of file hexagon_vm.h.

#define HVM_GE_C_BUS   0x01

Definition at line 257 of file hexagon_vm.h.

#define HVM_GE_C_CACHE   0x28

Definition at line 269 of file hexagon_vm.h.

#define HVM_GE_C_INVI   0x15

Definition at line 260 of file hexagon_vm.h.

#define HVM_GE_C_PRIVI   0x1B

Definition at line 261 of file hexagon_vm.h.

#define HVM_GE_C_RMAL   0x20

Definition at line 263 of file hexagon_vm.h.

#define HVM_GE_C_RPROT   0x22

Definition at line 265 of file hexagon_vm.h.

#define HVM_GE_C_RUSER   0x24

Definition at line 267 of file hexagon_vm.h.

#define HVM_GE_C_WMAL   0x21

Definition at line 264 of file hexagon_vm.h.

#define HVM_GE_C_WPROT   0x23

Definition at line 266 of file hexagon_vm.h.

#define HVM_GE_C_WUSER   0x25

Definition at line 268 of file hexagon_vm.h.

#define HVM_GE_C_XMAL   0x1C

Definition at line 262 of file hexagon_vm.h.

#define HVM_GE_C_XPROT   0x11

Definition at line 258 of file hexagon_vm.h.

#define HVM_GE_C_XUSER   0x14

Definition at line 259 of file hexagon_vm.h.

#define HVM_MAX_INTR   240

Definition at line 251 of file hexagon_vm.h.

#define HVM_MCHK_C_BADEX   0x02

Definition at line 277 of file hexagon_vm.h.

#define HVM_MCHK_C_BADPT   0x03

Definition at line 278 of file hexagon_vm.h.

#define HVM_MCHK_C_BADSP   0x01

Definition at line 276 of file hexagon_vm.h.

#define HVM_MCHK_C_DOWN   0x00

Definition at line 275 of file hexagon_vm.h.

#define HVM_MCHK_C_REGWR   0x29

Definition at line 279 of file hexagon_vm.h.

#define HVM_VMEST_CAUSE_MSK   0xffff

Definition at line 230 of file hexagon_vm.h.

#define HVM_VMEST_CAUSE_SFT   0

Definition at line 229 of file hexagon_vm.h.

#define HVM_VMEST_EVENTNUM_MSK   0xff

Definition at line 228 of file hexagon_vm.h.

#define HVM_VMEST_EVENTNUM_SFT   16

Definition at line 227 of file hexagon_vm.h.

#define HVM_VMEST_IE_MSK   1

Definition at line 226 of file hexagon_vm.h.

#define HVM_VMEST_IE_SFT   30

Definition at line 225 of file hexagon_vm.h.

#define HVM_VMEST_UM_MSK   1

Definition at line 224 of file hexagon_vm.h.

#define HVM_VMEST_UM_SFT   31

Definition at line 223 of file hexagon_vm.h.

#define VM_INT_DISABLE   0

Definition at line 205 of file hexagon_vm.h.

#define VM_INT_ENABLE   1

Definition at line 206 of file hexagon_vm.h.

#define VM_INT_MASK   1

Definition at line 211 of file hexagon_vm.h.

#define VM_INT_UNMASK   0

Definition at line 210 of file hexagon_vm.h.

#define VM_NEWMAP_TYPE_LINEAR   0

Definition at line 213 of file hexagon_vm.h.

#define VM_NEWMAP_TYPE_PGTABLES   1

Definition at line 214 of file hexagon_vm.h.

Enumeration Type Documentation

Enumerator:
ickill 
dckill 
l2kill 
dccleaninva 
icinva 
idsync 
fetch_cfg 

Definition at line 41 of file hexagon_vm.h.

enum VM_INT_OPS
Enumerator:
nop 
globen 
globdis 
locen 
locdis 
affinity 
get 
peek 
status 
post 
clear 

Definition at line 51 of file hexagon_vm.h.

Function Documentation

long __vmcache ( enum VM_CACHE_OPS  op,
unsigned long  addr,
unsigned long  len 
)
long __vmclrmap ( void ,
unsigned  long 
)
long __vmgetie ( void  )
unsigned long long __vmgettime ( void  )
long __vmintop ( enum  VM_INT_OPS,
long  ,
long  ,
long  ,
long   
)
long __vmnewmap ( void )
void __vmrte ( void  )
long __vmsetie ( long  )
long __vmsettime ( unsigned long  long)
long __vmsetvec ( void )
long __vmstart ( void ,
void  
)
void __vmstop ( void  )
long __vmvpid ( void  )
long __vmwait ( void  )
void __vmyield ( void  )
void _K_VM_event_vector ( void  )

Variable Documentation