summary refs log tree commit diff stats
path: root/include/hw/xen/interface/io/kbdif.h
diff options
context:
space:
mode:
authorJoao Martins <joao.m.martins@oracle.com>2019-02-13 12:29:47 -0500
committerDavid Woodhouse <dwmw@amazon.co.uk>2023-03-01 08:22:49 +0000
commit50c88402ca599e577f025e78a4380431be2b3f6d (patch)
treeac09c2b7aa135e76d1a549bf08be8ff701a43569 /include/hw/xen/interface/io/kbdif.h
parent627634031092e1514f363fd8659a579398de0f0e (diff)
downloadfocaccia-qemu-50c88402ca599e577f025e78a4380431be2b3f6d.tar.gz
focaccia-qemu-50c88402ca599e577f025e78a4380431be2b3f6d.zip
include: import Xen public headers to hw/xen/interface
There's already a partial set here; update them and pull in a more
complete set.

To start with, define __XEN_TOOLS__ in hw/xen/xen.h to ensure that any
internal definitions needed by Xen toolstack libraries are present
regardless of the order in which the headers are included. A reckoning
will come later, once we make the PV backends work in emulation and
untangle the headers for Xen-native vs. generic parts.

Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
[dwmw2: Update to Xen public headers from 4.16.2 release, add some in io/,
        define __XEN_TOOLS__ in hw/xen/xen.h, move to hw/xen/interface/]
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Paul Durrant <paul@xen.org>
Diffstat (limited to 'include/hw/xen/interface/io/kbdif.h')
-rw-r--r--include/hw/xen/interface/io/kbdif.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/hw/xen/interface/io/kbdif.h b/include/hw/xen/interface/io/kbdif.h
index 1d68cd458e..a6b01c52c7 100644
--- a/include/hw/xen/interface/io/kbdif.h
+++ b/include/hw/xen/interface/io/kbdif.h
@@ -564,3 +564,13 @@ struct xenkbd_page
 };
 
 #endif /* __XEN_PUBLIC_IO_KBDIF_H__ */
+
+/*
+ * Local variables:
+ * mode: C
+ * c-file-style: "BSD"
+ * c-basic-offset: 4
+ * tab-width: 4
+ * indent-tabs-mode: nil
+ * End:
+ */