Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
fsl_hcalls.h File Reference
#include <linux/types.h>
#include <linux/errno.h>
#include <asm/byteorder.h>
#include <asm/epapr_hcalls.h>

Go to the source code of this file.

Data Structures

struct  fh_sg_list
 

Macros

#define FH_API_VERSION   1
 
#define FH_ERR_GET_INFO   1
 
#define FH_PARTITION_GET_DTPROP   2
 
#define FH_PARTITION_SET_DTPROP   3
 
#define FH_PARTITION_RESTART   4
 
#define FH_PARTITION_GET_STATUS   5
 
#define FH_PARTITION_START   6
 
#define FH_PARTITION_STOP   7
 
#define FH_PARTITION_MEMCPY   8
 
#define FH_DMA_ENABLE   9
 
#define FH_DMA_DISABLE   10
 
#define FH_SEND_NMI   11
 
#define FH_VMPIC_GET_MSIR   12
 
#define FH_SYSTEM_RESET   13
 
#define FH_GET_CORE_STATE   14
 
#define FH_ENTER_NAP   15
 
#define FH_EXIT_NAP   16
 
#define FH_CLAIM_DEVICE   17
 
#define FH_PARTITION_STOP_DMA   18
 
#define FH_HCALL_TOKEN(num)   _EV_HCALL_TOKEN(EV_FSL_VENDOR_ID, num)
 
#define FH_DTPROP_MAX_PATHLEN   4096
 
#define FH_DTPROP_MAX_PROPLEN   32768
 
#define FH_PARTITION_STOPPED   0
 
#define FH_PARTITION_RUNNING   1
 
#define FH_PARTITION_STARTING   2
 
#define FH_PARTITION_STOPPING   3
 
#define FH_PARTITION_PAUSING   4
 
#define FH_PARTITION_PAUSED   5
 
#define FH_PARTITION_RESUMING   6
 
#define FH_VCPU_RUN   0
 
#define FH_VCPU_IDLE   1
 
#define FH_VCPU_NAP   2
 

Functions

struct fh_sg_list __attribute__ ((aligned(32)))
 

Variables

uint64_t source
 
uint64_t target
 
uint64_t size
 
uint64_t reserved
 

Macro Definition Documentation

#define FH_API_VERSION   1

Definition at line 48 of file fsl_hcalls.h.

#define FH_CLAIM_DEVICE   17

Definition at line 66 of file fsl_hcalls.h.

#define FH_DMA_DISABLE   10

Definition at line 59 of file fsl_hcalls.h.

#define FH_DMA_ENABLE   9

Definition at line 58 of file fsl_hcalls.h.

#define FH_DTPROP_MAX_PATHLEN   4096

Definition at line 108 of file fsl_hcalls.h.

#define FH_DTPROP_MAX_PROPLEN   32768

Definition at line 109 of file fsl_hcalls.h.

#define FH_ENTER_NAP   15

Definition at line 64 of file fsl_hcalls.h.

#define FH_ERR_GET_INFO   1

Definition at line 50 of file fsl_hcalls.h.

#define FH_EXIT_NAP   16

Definition at line 65 of file fsl_hcalls.h.

#define FH_GET_CORE_STATE   14

Definition at line 63 of file fsl_hcalls.h.

#define FH_HCALL_TOKEN (   num)    _EV_HCALL_TOKEN(EV_FSL_VENDOR_ID, num)

Definition at line 70 of file fsl_hcalls.h.

#define FH_PARTITION_GET_DTPROP   2

Definition at line 51 of file fsl_hcalls.h.

#define FH_PARTITION_GET_STATUS   5

Definition at line 54 of file fsl_hcalls.h.

#define FH_PARTITION_MEMCPY   8

Definition at line 57 of file fsl_hcalls.h.

#define FH_PARTITION_PAUSED   5

Definition at line 245 of file fsl_hcalls.h.

#define FH_PARTITION_PAUSING   4

Definition at line 244 of file fsl_hcalls.h.

#define FH_PARTITION_RESTART   4

Definition at line 53 of file fsl_hcalls.h.

#define FH_PARTITION_RESUMING   6

Definition at line 246 of file fsl_hcalls.h.

#define FH_PARTITION_RUNNING   1

Definition at line 241 of file fsl_hcalls.h.

#define FH_PARTITION_SET_DTPROP   3

Definition at line 52 of file fsl_hcalls.h.

#define FH_PARTITION_START   6

Definition at line 55 of file fsl_hcalls.h.

#define FH_PARTITION_STARTING   2

Definition at line 242 of file fsl_hcalls.h.

#define FH_PARTITION_STOP   7

Definition at line 56 of file fsl_hcalls.h.

#define FH_PARTITION_STOP_DMA   18

Definition at line 67 of file fsl_hcalls.h.

#define FH_PARTITION_STOPPED   0

Definition at line 240 of file fsl_hcalls.h.

#define FH_PARTITION_STOPPING   3

Definition at line 243 of file fsl_hcalls.h.

#define FH_SEND_NMI   11

Definition at line 60 of file fsl_hcalls.h.

#define FH_SYSTEM_RESET   13

Definition at line 62 of file fsl_hcalls.h.

#define FH_VCPU_IDLE   1

Definition at line 522 of file fsl_hcalls.h.

#define FH_VCPU_NAP   2

Definition at line 523 of file fsl_hcalls.h.

#define FH_VCPU_RUN   0

Definition at line 521 of file fsl_hcalls.h.

#define FH_VMPIC_GET_MSIR   12

Definition at line 61 of file fsl_hcalls.h.

Function Documentation

Variable Documentation

uint64_t reserved

reserved, must be zero

Definition at line 350 of file fsl_hcalls.h.

uint64_t size

number of bytes to copy

Definition at line 349 of file fsl_hcalls.h.

uint64_t source

guest physical address to copy from

Definition at line 347 of file fsl_hcalls.h.

u8 target

guest physical address to copy to

Definition at line 348 of file fsl_hcalls.h.