Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
vti.h File Reference
#include <asm/page.h>
#include <linux/kvm_host.h>

Go to the source code of this file.

Data Structures

union  vac
 
union  vdc
 
struct  vpd
 

Macros

#define ITR   0x01
 
#define DTR   0x02
 
#define IaDTR   0x03
 
#define IA64_TR_VMM   6 /*itr6, dtr6 : maps vmm code, vmbuffer*/
 
#define IA64_TR_VM_DATA   7 /*dtr7 : maps current vm data*/
 
#define RR6   (6UL<<61)
 
#define RR7   (7UL<<61)
 
#define VP_INITIALIZE   1UL
 
#define VP_FR_PMC   1UL<<1
 
#define VP_OPCODE   1UL<<8
 
#define VP_CAUSE   1UL<<9
 
#define VP_FW_ACC   1UL<<63
 
#define VP_INIT_ENV_INITALIZE
 
#define VP_INIT_ENV   VP_FR_PMC | VP_OPCODE | VP_CAUSE | VP_FW_ACC
 
#define PAL_VP_CREATE   265
 
#define PAL_VP_ENV_INFO   266
 
#define PAL_VP_EXIT_ENV   267
 
#define PAL_VP_INIT_ENV   268
 
#define PAL_VP_REGISTER   269
 
#define PAL_VP_RESUME   270
 
#define PAL_VP_RESTORE   270
 
#define PAL_VP_SUSPEND   271
 
#define PAL_VP_SAVE   271
 
#define PAL_VP_TERMINATE   272
 
#define PAL_PROC_VM_BIT   (1UL << 40)
 
#define PAL_PROC_VMSW_BIT   (1UL << 54)
 
#define VPD_VAC_START_OFFSET   0
 
#define VPD_VDC_START_OFFSET   8
 
#define VPD_VHPI_START_OFFSET   256
 
#define VPD_VGR_START_OFFSET   1024
 
#define VPD_VBGR_START_OFFSET   1152
 
#define VPD_VNAT_START_OFFSET   1280
 
#define VPD_VBNAT_START_OFFSET   1288
 
#define VPD_VCPUID_START_OFFSET   1296
 
#define VPD_VPSR_START_OFFSET   1424
 
#define VPD_VPR_START_OFFSET   1432
 
#define VPD_VRSE_CFLE_START_OFFSET   1440
 
#define VPD_VCR_START_OFFSET   2048
 
#define VPD_VTPR_START_OFFSET   2576
 
#define VPD_VRR_START_OFFSET   3072
 
#define VPD_VMM_VAIL_START_OFFSET   31744
 
#define EVENT_MOV_TO_AR   1
 
#define EVENT_MOV_TO_AR_IMM   2
 
#define EVENT_MOV_FROM_AR   3
 
#define EVENT_MOV_TO_CR   4
 
#define EVENT_MOV_FROM_CR   5
 
#define EVENT_MOV_TO_PSR   6
 
#define EVENT_MOV_FROM_PSR   7
 
#define EVENT_ITC_D   8
 
#define EVENT_ITC_I   9
 
#define EVENT_MOV_TO_RR   10
 
#define EVENT_MOV_TO_DBR   11
 
#define EVENT_MOV_TO_IBR   12
 
#define EVENT_MOV_TO_PKR   13
 
#define EVENT_MOV_TO_PMC   14
 
#define EVENT_MOV_TO_PMD   15
 
#define EVENT_ITR_D   16
 
#define EVENT_ITR_I   17
 
#define EVENT_MOV_FROM_RR   18
 
#define EVENT_MOV_FROM_DBR   19
 
#define EVENT_MOV_FROM_IBR   20
 
#define EVENT_MOV_FROM_PKR   21
 
#define EVENT_MOV_FROM_PMC   22
 
#define EVENT_MOV_FROM_CPUID   23
 
#define EVENT_SSM   24
 
#define EVENT_RSM   25
 
#define EVENT_PTC_L   26
 
#define EVENT_PTC_G   27
 
#define EVENT_PTC_GA   28
 
#define EVENT_PTR_D   29
 
#define EVENT_PTR_I   30
 
#define EVENT_THASH   31
 
#define EVENT_TTAG   32
 
#define EVENT_TPA   33
 
#define EVENT_TAK   34
 
#define EVENT_PTC_E   35
 
#define EVENT_COVER   36
 
#define EVENT_RFI   37
 
#define EVENT_BSW_0   38
 
#define EVENT_BSW_1   39
 
#define EVENT_VMSW   40
 
#define PAL_VPS_RESUME_NORMAL   0x0000
 
#define PAL_VPS_RESUME_HANDLER   0x0400
 
#define PAL_VPS_SYNC_READ   0x0800
 
#define PAL_VPS_SYNC_WRITE   0x0c00
 
#define PAL_VPS_SET_PENDING_INTERRUPT   0x1000
 
#define PAL_VPS_THASH   0x1400
 
#define PAL_VPS_TTAG   0x1800
 
#define PAL_VPS_RESTORE   0x1c00
 
#define PAL_VPS_SAVE   0x2000
 

Macro Definition Documentation

#define DTR   0x02

Definition at line 35 of file vti.h.

#define EVENT_BSW_0   38

Definition at line 275 of file vti.h.

#define EVENT_BSW_1   39

Definition at line 276 of file vti.h.

#define EVENT_COVER   36

Definition at line 273 of file vti.h.

#define EVENT_ITC_D   8

Definition at line 245 of file vti.h.

#define EVENT_ITC_I   9

Definition at line 246 of file vti.h.

#define EVENT_ITR_D   16

Definition at line 253 of file vti.h.

#define EVENT_ITR_I   17

Definition at line 254 of file vti.h.

#define EVENT_MOV_FROM_AR   3

Definition at line 240 of file vti.h.

#define EVENT_MOV_FROM_CPUID   23

Definition at line 260 of file vti.h.

#define EVENT_MOV_FROM_CR   5

Definition at line 242 of file vti.h.

#define EVENT_MOV_FROM_DBR   19

Definition at line 256 of file vti.h.

#define EVENT_MOV_FROM_IBR   20

Definition at line 257 of file vti.h.

#define EVENT_MOV_FROM_PKR   21

Definition at line 258 of file vti.h.

#define EVENT_MOV_FROM_PMC   22

Definition at line 259 of file vti.h.

#define EVENT_MOV_FROM_PSR   7

Definition at line 244 of file vti.h.

#define EVENT_MOV_FROM_RR   18

Definition at line 255 of file vti.h.

#define EVENT_MOV_TO_AR   1

Definition at line 238 of file vti.h.

#define EVENT_MOV_TO_AR_IMM   2

Definition at line 239 of file vti.h.

#define EVENT_MOV_TO_CR   4

Definition at line 241 of file vti.h.

#define EVENT_MOV_TO_DBR   11

Definition at line 248 of file vti.h.

#define EVENT_MOV_TO_IBR   12

Definition at line 249 of file vti.h.

#define EVENT_MOV_TO_PKR   13

Definition at line 250 of file vti.h.

#define EVENT_MOV_TO_PMC   14

Definition at line 251 of file vti.h.

#define EVENT_MOV_TO_PMD   15

Definition at line 252 of file vti.h.

#define EVENT_MOV_TO_PSR   6

Definition at line 243 of file vti.h.

#define EVENT_MOV_TO_RR   10

Definition at line 247 of file vti.h.

#define EVENT_PTC_E   35

Definition at line 272 of file vti.h.

#define EVENT_PTC_G   27

Definition at line 264 of file vti.h.

#define EVENT_PTC_GA   28

Definition at line 265 of file vti.h.

#define EVENT_PTC_L   26

Definition at line 263 of file vti.h.

#define EVENT_PTR_D   29

Definition at line 266 of file vti.h.

#define EVENT_PTR_I   30

Definition at line 267 of file vti.h.

#define EVENT_RFI   37

Definition at line 274 of file vti.h.

#define EVENT_RSM   25

Definition at line 262 of file vti.h.

#define EVENT_SSM   24

Definition at line 261 of file vti.h.

#define EVENT_TAK   34

Definition at line 271 of file vti.h.

#define EVENT_THASH   31

Definition at line 268 of file vti.h.

#define EVENT_TPA   33

Definition at line 270 of file vti.h.

#define EVENT_TTAG   32

Definition at line 269 of file vti.h.

#define EVENT_VMSW   40

Definition at line 277 of file vti.h.

#define IA64_TR_VM_DATA   7 /*dtr7 : maps current vm data*/

Definition at line 39 of file vti.h.

#define IA64_TR_VMM   6 /*itr6, dtr6 : maps vmm code, vmbuffer*/

Definition at line 38 of file vti.h.

#define IaDTR   0x03

Definition at line 36 of file vti.h.

#define ITR   0x01

Definition at line 34 of file vti.h.

#define PAL_PROC_VM_BIT   (1UL << 40)

Definition at line 166 of file vti.h.

#define PAL_PROC_VMSW_BIT   (1UL << 54)

Definition at line 167 of file vti.h.

#define PAL_VP_CREATE   265

Definition at line 58 of file vti.h.

#define PAL_VP_ENV_INFO   266

Definition at line 62 of file vti.h.

#define PAL_VP_EXIT_ENV   267

Definition at line 64 of file vti.h.

#define PAL_VP_INIT_ENV   268

Definition at line 66 of file vti.h.

#define PAL_VP_REGISTER   269

Definition at line 68 of file vti.h.

#define PAL_VP_RESTORE   270

Definition at line 72 of file vti.h.

#define PAL_VP_RESUME   270

Definition at line 70 of file vti.h.

#define PAL_VP_SAVE   271

Definition at line 76 of file vti.h.

#define PAL_VP_SUSPEND   271

Definition at line 74 of file vti.h.

#define PAL_VP_TERMINATE   272

Definition at line 80 of file vti.h.

#define PAL_VPS_RESTORE   0x1c00

Definition at line 287 of file vti.h.

#define PAL_VPS_RESUME_HANDLER   0x0400

Definition at line 281 of file vti.h.

#define PAL_VPS_RESUME_NORMAL   0x0000

PAL virtual services offsets

Definition at line 280 of file vti.h.

#define PAL_VPS_SAVE   0x2000

Definition at line 288 of file vti.h.

#define PAL_VPS_SET_PENDING_INTERRUPT   0x1000

Definition at line 284 of file vti.h.

#define PAL_VPS_SYNC_READ   0x0800

Definition at line 282 of file vti.h.

#define PAL_VPS_SYNC_WRITE   0x0c00

Definition at line 283 of file vti.h.

#define PAL_VPS_THASH   0x1400

Definition at line 285 of file vti.h.

#define PAL_VPS_TTAG   0x1800

Definition at line 286 of file vti.h.

#define RR6   (6UL<<61)

Definition at line 41 of file vti.h.

#define RR7   (7UL<<61)

Definition at line 42 of file vti.h.

#define VP_CAUSE   1UL<<9

Definition at line 49 of file vti.h.

#define VP_FR_PMC   1UL<<1

Definition at line 47 of file vti.h.

#define VP_FW_ACC   1UL<<63

Definition at line 50 of file vti.h.

#define VP_INIT_ENV   VP_FR_PMC | VP_OPCODE | VP_CAUSE | VP_FW_ACC

Definition at line 56 of file vti.h.

#define VP_INIT_ENV_INITALIZE
Value:

Definition at line 53 of file vti.h.

#define VP_INITIALIZE   1UL

Definition at line 46 of file vti.h.

#define VP_OPCODE   1UL<<8

Definition at line 48 of file vti.h.

#define VPD_VAC_START_OFFSET   0

Definition at line 220 of file vti.h.

#define VPD_VBGR_START_OFFSET   1152

Definition at line 224 of file vti.h.

#define VPD_VBNAT_START_OFFSET   1288

Definition at line 226 of file vti.h.

#define VPD_VCPUID_START_OFFSET   1296

Definition at line 227 of file vti.h.

#define VPD_VCR_START_OFFSET   2048

Definition at line 231 of file vti.h.

#define VPD_VDC_START_OFFSET   8

Definition at line 221 of file vti.h.

#define VPD_VGR_START_OFFSET   1024

Definition at line 223 of file vti.h.

#define VPD_VHPI_START_OFFSET   256

Definition at line 222 of file vti.h.

#define VPD_VMM_VAIL_START_OFFSET   31744

Definition at line 234 of file vti.h.

#define VPD_VNAT_START_OFFSET   1280

Definition at line 225 of file vti.h.

#define VPD_VPR_START_OFFSET   1432

Definition at line 229 of file vti.h.

#define VPD_VPSR_START_OFFSET   1424

Definition at line 228 of file vti.h.

#define VPD_VRR_START_OFFSET   3072

Definition at line 233 of file vti.h.

#define VPD_VRSE_CFLE_START_OFFSET   1440

Definition at line 230 of file vti.h.

#define VPD_VTPR_START_OFFSET   2576

Definition at line 232 of file vti.h.