iPXE
xenbus.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: MIT */
2/*****************************************************************************
3 * xenbus.h
4 *
5 * Xenbus protocol details.
6 *
7 * Copyright (C) 2005 XenSource Ltd.
8 */
9
10#ifndef _XEN_PUBLIC_IO_XENBUS_H
11#define _XEN_PUBLIC_IO_XENBUS_H
12
14FILE_SECBOOT ( PERMITTED );
15
16/*
17 * The state of either end of the Xenbus, i.e. the current communication
18 * status of initialisation across the bus. States here imply nothing about
19 * the state of the connection between the driver and the kernel's device
20 * layers.
21 */
24
26
27 /*
28 * InitWait: Finished early initialisation but waiting for information
29 * from the peer or hotplug scripts.
30 */
32
33 /*
34 * Initialised: Waiting for a connection from the peer.
35 */
37
39
40 /*
41 * Closing: The device is being closed due to an error or an unplug event.
42 */
44
46
47 /*
48 * Reconfiguring: The device is being reconfigured.
49 */
51
53};
55
56#endif /* _XEN_PUBLIC_IO_XENBUS_H */
57
58/*
59 * Local variables:
60 * mode: C
61 * c-file-style: "BSD"
62 * c-basic-offset: 4
63 * tab-width: 4
64 * indent-tabs-mode: nil
65 * End:
66 */
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Definition compiler.h:926
xenbus_state
Definition xenbus.h:22
@ XenbusStateInitWait
Definition xenbus.h:31
@ XenbusStateClosing
Definition xenbus.h:43
@ XenbusStateInitialising
Definition xenbus.h:25
@ XenbusStateUnknown
Definition xenbus.h:23
@ XenbusStateReconfiguring
Definition xenbus.h:50
@ XenbusStateReconfigured
Definition xenbus.h:52
@ XenbusStateInitialised
Definition xenbus.h:36
@ XenbusStateClosed
Definition xenbus.h:45
@ XenbusStateConnected
Definition xenbus.h:38
enum xenbus_state XenbusState
Definition xenbus.h:54