#include <xtf/atomic.h>
#include <xtf/bitops.h>
#include <xtf/hypercall.h>
#include <xtf/lib.h>
#include <xtf/traps.h>
#include <xtf/xenbus.h>
Go to the source code of this file.
◆ init_xenbus()
◆ xenbus_write()
static void xenbus_write |
( |
const void * |
data, |
|
|
size_t |
len |
|
) |
| |
|
static |
◆ xenbus_read()
static void xenbus_read |
( |
void * |
data, |
|
|
size_t |
len |
|
) |
| |
|
static |
◆ xenstore_init()
int xenstore_init |
( |
void |
| ) |
|
Initialise XTF ready for xenstore communication.
May fail if there is no xenbus ring found.
Definition at line 109 of file xenbus.c.
◆ xenstore_read()
const char * xenstore_read |
( |
const char * |
key | ) |
|
Issue a XS_READ operation for key
, waiting synchronously for the reply.
Returns NULL on error. The current implementation unmarshals data into a static buffer, so the return pointer is only valid until a subsequent xenstore operation.
Definition at line 115 of file xenbus.c.
◆ xb_ring
◆ xb_port
◆ payload