OvmfPkg[all]  0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
xs_wire.h File Reference

Data Structures

struct  xsd_errors
 
struct  xsd_sockmsg
 
struct  xenstore_domain_interface
 

Macros

#define XS_WRITE_NONE   "NONE"
 
#define XS_WRITE_CREATE   "CREATE"
 
#define XS_WRITE_CREATE_EXCL   "CREATE|EXCL"
 
#define XENSTORE_RING_SIZE   1024
 
#define MASK_XENSTORE_IDX(idx)   ((idx) & (XENSTORE_RING_SIZE-1))
 
#define XENSTORE_PAYLOAD_MAX   4096
 
#define XENSTORE_ABS_PATH_MAX   3072
 
#define XENSTORE_REL_PATH_MAX   2048
 
#define XENSTORE_SERVER_FEATURE_RECONNECTION   1
 
#define XENSTORE_CONNECTED   0 /* the steady-state */
 
#define XENSTORE_RECONNECT   1 /* guest has initiated a reconnect */
 

Typedefs

typedef UINT32 XENSTORE_RING_IDX
 

Enumerations

enum  xsd_sockmsg_type {
  XS_DEBUG, XS_DIRECTORY, XS_READ, XS_GET_PERMS,
  XS_WATCH, XS_UNWATCH, XS_TRANSACTION_START, XS_TRANSACTION_END,
  XS_INTRODUCE, XS_RELEASE, XS_GET_DOMAIN_PATH, XS_WRITE,
  XS_MKDIR, XS_RM, XS_SET_PERMS, XS_WATCH_EVENT,
  XS_ERROR, XS_IS_DOMAIN_INTRODUCED, XS_RESUME, XS_SET_TARGET,
  XS_RESTRICT, XS_RESET_WATCHES, XS_INVALID = 0xffff
}
 
enum  xs_watch_type { XS_WATCH_PATH = 0, XS_WATCH_TOKEN }
 

Macro Definition Documentation

#define MASK_XENSTORE_IDX (   idx)    ((idx) & (XENSTORE_RING_SIZE-1))
#define XENSTORE_ABS_PATH_MAX   3072
#define XENSTORE_CONNECTED   0 /* the steady-state */
#define XENSTORE_PAYLOAD_MAX   4096
#define XENSTORE_RECONNECT   1 /* guest has initiated a reconnect */
#define XENSTORE_REL_PATH_MAX   2048
#define XENSTORE_RING_SIZE   1024
#define XENSTORE_SERVER_FEATURE_RECONNECTION   1
#define XS_WRITE_CREATE   "CREATE"
#define XS_WRITE_CREATE_EXCL   "CREATE|EXCL"
#define XS_WRITE_NONE   "NONE"

Typedef Documentation

Enumeration Type Documentation

Enumerator
XS_WATCH_PATH 
XS_WATCH_TOKEN 
Enumerator
XS_DEBUG 
XS_DIRECTORY 
XS_READ 
XS_GET_PERMS 
XS_WATCH 
XS_UNWATCH 
XS_TRANSACTION_START 
XS_TRANSACTION_END 
XS_INTRODUCE 
XS_RELEASE 
XS_GET_DOMAIN_PATH 
XS_WRITE 
XS_MKDIR 
XS_RM 
XS_SET_PERMS 
XS_WATCH_EVENT 
XS_ERROR 
XS_IS_DOMAIN_INTRODUCED 
XS_RESUME 
XS_SET_TARGET 
XS_RESTRICT 
XS_RESET_WATCHES 
XS_INVALID