summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/device.h
diff options
context:
space:
mode:
authorMichael Brown2014-07-29 00:38:30 +0200
committerMichael Brown2014-07-29 16:57:44 +0200
commit036af27a4523c4e15e28d30a1513a3f6d9671774 (patch)
treebf284637f91e2258906d736f07a54b1f98dfd68d /src/include/ipxe/device.h
parent[xen] Import selected public headers (diff)
downloadipxe-036af27a4523c4e15e28d30a1513a3f6d9671774.tar.gz
ipxe-036af27a4523c4e15e28d30a1513a3f6d9671774.tar.xz
ipxe-036af27a4523c4e15e28d30a1513a3f6d9671774.zip
[xen] Add basic support for PV-HVM domains
Add basic support for Xen PV-HVM domains (detected via the Xen platform PCI device with IDs 5853:0001), including support for accessing configuration via XenStore and enumerating devices via XenBus. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/device.h')
-rw-r--r--src/include/ipxe/device.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/ipxe/device.h b/src/include/ipxe/device.h
index 89509734..7202a696 100644
--- a/src/include/ipxe/device.h
+++ b/src/include/ipxe/device.h
@@ -60,6 +60,9 @@ struct device_description {
/** EFI bus type */
#define BUS_TYPE_EFI 7
+/** Xen bus type */
+#define BUS_TYPE_XEN 8
+
/** A hardware device */
struct device {
/** Name */