@@ -7,8 +7,8 @@
* Copyright (C) 2017 Stefano Stabellini <stefano@aporeto.com>
*/
-#ifndef __XEN_PUBLIC_IO_9PFS_H__
-#define __XEN_PUBLIC_IO_9PFS_H__
+#ifndef PUBLIC__IO__9PFS_H
+#define PUBLIC__IO__9PFS_H
#include "../grant_table.h"
#include "ring.h"
@@ -8,8 +8,8 @@
* Copyright (c) 2012, Spectra Logic Corporation
*/
-#ifndef __XEN_PUBLIC_IO_BLKIF_H__
-#define __XEN_PUBLIC_IO_BLKIF_H__
+#ifndef PUBLIC__IO__BLKIF_H
+#define PUBLIC__IO__BLKIF_H
#include "ring.h"
#include "../grant_table.h"
@@ -726,7 +726,7 @@ DEFINE_RING_TYPES(blkif, struct blkif_request, struct blkif_response);
#define VDISK_REMOVABLE 0x2
#define VDISK_READONLY 0x4
-#endif /* __XEN_PUBLIC_IO_BLKIF_H__ */
+#endif /* PUBLIC__IO__BLKIF_H */
/*
* Local variables:
@@ -9,8 +9,8 @@
* Author: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
*/
-#ifndef __XEN_PUBLIC_IO_CAMERAIF_H__
-#define __XEN_PUBLIC_IO_CAMERAIF_H__
+#ifndef PUBLIC__IO__CAMERAIF_H
+#define PUBLIC__IO__CAMERAIF_H
#include "ring.h"
#include "../grant_table.h"
@@ -1344,7 +1344,7 @@ struct xencamera_event_page {
#define XENCAMERA_IN_RING_REF(page, idx) \
(XENCAMERA_IN_RING((page))[(idx) % XENCAMERA_IN_RING_LEN])
-#endif /* __XEN_PUBLIC_IO_CAMERAIF_H__ */
+#endif /* PUBLIC__IO__CAMERAIF_H */
/*
* Local variables:
@@ -7,8 +7,8 @@
* Copyright (c) 2005, Keir Fraser
*/
-#ifndef __XEN_PUBLIC_IO_CONSOLE_H__
-#define __XEN_PUBLIC_IO_CONSOLE_H__
+#ifndef PUBLIC__IO__CONSOLE_H
+#define PUBLIC__IO__CONSOLE_H
typedef uint32_t XENCONS_RING_IDX;
@@ -26,7 +26,7 @@ struct xencons_interface {
DEFINE_XEN_FLEX_RING(xencons);
#endif
-#endif /* __XEN_PUBLIC_IO_CONSOLE_H__ */
+#endif /* PUBLIC__IO__CONSOLE_H */
/*
* Local variables:
@@ -10,8 +10,8 @@
* Oleksandr Grytsov <oleksandr_grytsov@epam.com>
*/
-#ifndef __XEN_PUBLIC_IO_DISPLIF_H__
-#define __XEN_PUBLIC_IO_DISPLIF_H__
+#ifndef PUBLIC__IO__DISPLIF_H
+#define PUBLIC__IO__DISPLIF_H
#include "ring.h"
#include "../grant_table.h"
@@ -927,7 +927,7 @@ struct xendispl_event_page {
#define XENDISPL_IN_RING_REF(page, idx) \
(XENDISPL_IN_RING((page))[(idx) % XENDISPL_IN_RING_LEN])
-#endif /* __XEN_PUBLIC_IO_DISPLIF_H__ */
+#endif /* PUBLIC__IO__DISPLIF_H */
/*
* Local variables:
@@ -6,8 +6,8 @@
* Copyright (C) 2006 Red Hat, Inc., Markus Armbruster <armbru@redhat.com>
*/
-#ifndef __XEN_PUBLIC_IO_FBIF_H__
-#define __XEN_PUBLIC_IO_FBIF_H__
+#ifndef PUBLIC__IO__FBIF_H
+#define PUBLIC__IO__FBIF_H
/* Out events (frontend -> backend) */
@@ -7,8 +7,8 @@
* Copyright (c) 2007, Grzegorz Milos, <gm281@cam.ac.uk>.
*/
-#ifndef __XEN_PUBLIC_IO_FSIF_H__
-#define __XEN_PUBLIC_IO_FSIF_H__
+#ifndef PUBLIC__IO__FSIF_H
+#define PUBLIC__IO__FSIF_H
#include "ring.h"
#include "../grant_table.h"
@@ -6,8 +6,8 @@
* Copyright (C) 2006 Red Hat, Inc., Markus Armbruster <armbru@redhat.com>
*/
-#ifndef __XEN_PUBLIC_IO_KBDIF_H__
-#define __XEN_PUBLIC_IO_KBDIF_H__
+#ifndef PUBLIC__IO__KBDIF_H
+#define PUBLIC__IO__KBDIF_H
/*
*****************************************************************************
@@ -546,7 +546,7 @@ struct xenkbd_page
uint32_t out_cons, out_prod;
};
-#endif /* __XEN_PUBLIC_IO_KBDIF_H__ */
+#endif /* PUBLIC__IO__KBDIF_H */
/*
* Local variables:
@@ -7,8 +7,8 @@
* Copyright (c) 2003-2004, Keir Fraser
*/
-#ifndef __XEN_PUBLIC_IO_NETIF_H__
-#define __XEN_PUBLIC_IO_NETIF_H__
+#ifndef PUBLIC__IO__NETIF_H
+#define PUBLIC__IO__NETIF_H
#include "ring.h"
#include "../grant_table.h"
@@ -4,8 +4,8 @@
*
* Author: Ryan Wilson <hap9@epoch.ncsc.mil>
*/
-#ifndef __XEN_PCI_COMMON_H__
-#define __XEN_PCI_COMMON_H__
+#ifndef PUBLIC__IO__PCIIF_H
+#define PUBLIC__IO__PCIIF_H
/* Be sure to bump this number if you change this file */
#define XEN_PCI_MAGIC "7"
@@ -95,7 +95,7 @@ struct xen_pci_sharedinfo {
struct xen_pcie_aer_op aer_op;
};
-#endif /* __XEN_PCI_COMMON_H__ */
+#endif /* PUBLIC__IO__PCIIF_H */
/*
* Local variables:
@@ -5,8 +5,8 @@
* Copyright (c) 2008, Keir Fraser
*/
-#ifndef __XEN_PROTOCOLS_H__
-#define __XEN_PROTOCOLS_H__
+#ifndef PUBLIC__IO__PROTOCOLS_H
+#define PUBLIC__IO__PROTOCOLS_H
#define XEN_IO_PROTO_ABI_X86_32 "x86_32-abi"
#define XEN_IO_PROTO_ABI_X86_64 "x86_64-abi"
@@ -10,8 +10,8 @@
* Copyright (C) 2017 Stefano Stabellini <stefano@aporeto.com>
*/
-#ifndef __XEN_PUBLIC_IO_PVCALLS_H__
-#define __XEN_PUBLIC_IO_PVCALLS_H__
+#ifndef PUBLIC__IO__PVCALLS_H
+#define PUBLIC__IO__PVCALLS_H
#include "../grant_table.h"
#include "ring.h"
@@ -7,8 +7,8 @@
* Tim Deegan and Andrew Warfield November 2004.
*/
-#ifndef __XEN_PUBLIC_IO_RING_H__
-#define __XEN_PUBLIC_IO_RING_H__
+#ifndef PUBLIC__IO__RING_H
+#define PUBLIC__IO__RING_H
/*
* When #include'ing this header, you need to provide the following
@@ -491,7 +491,7 @@ struct name##_data_intf { \
}; \
DEFINE_XEN_FLEX_RING(name)
-#endif /* __XEN_PUBLIC_IO_RING_H__ */
+#endif /* PUBLIC__IO__RING_H */
/*
* Local variables:
@@ -13,8 +13,8 @@
* Iurii Konovalenko <iurii.konovalenko@globallogic.com>
*/
-#ifndef __XEN_PUBLIC_IO_SNDIF_H__
-#define __XEN_PUBLIC_IO_SNDIF_H__
+#ifndef PUBLIC__IO__SNDIF_H
+#define PUBLIC__IO__SNDIF_H
#include "ring.h"
#include "../grant_table.h"
@@ -1061,7 +1061,7 @@ struct xensnd_event_page {
#define XENSND_IN_RING_REF(page, idx) \
(XENSND_IN_RING((page))[(idx) % XENSND_IN_RING_LEN])
-#endif /* __XEN_PUBLIC_IO_SNDIF_H__ */
+#endif /* PUBLIC__IO__SNDIF_H */
/*
* Local variables:
@@ -14,8 +14,8 @@
* Copyright (c) 2003-2004, Keir Fraser
*/
-#ifndef __XEN_PUBLIC_IO_TPMIF_H__
-#define __XEN_PUBLIC_IO_TPMIF_H__
+#ifndef PUBLIC__IO__TPMIF_H
+#define PUBLIC__IO__TPMIF_H
#include "../grant_table.h"
@@ -8,8 +8,8 @@
* Author: Noboru Iwamatsu <n_iwamatsu@jp.fujitsu.com>
*/
-#ifndef __XEN_PUBLIC_IO_USBIF_H__
-#define __XEN_PUBLIC_IO_USBIF_H__
+#ifndef PUBLIC__IO__USBIF_H
+#define PUBLIC__IO__USBIF_H
#include "ring.h"
#include "../grant_table.h"
@@ -405,4 +405,4 @@ typedef struct usbif_conn_response usbif_conn_response_t;
DEFINE_RING_TYPES(usbif_conn, struct usbif_conn_request, struct usbif_conn_response);
#define USB_CONN_RING_SIZE __CONST_RING_SIZE(usbif_conn, USBIF_RING_SIZE)
-#endif /* __XEN_PUBLIC_IO_USBIF_H__ */
+#endif /* PUBLIC__IO__USBIF_H */
@@ -7,8 +7,8 @@
* Copyright(c) FUJITSU Limited 2008.
*/
-#ifndef __XEN__PUBLIC_IO_SCSI_H__
-#define __XEN__PUBLIC_IO_SCSI_H__
+#ifndef PUBLIC__IO__VSCSIIF_H
+#define PUBLIC__IO__VSCSIIF_H
#include "ring.h"
#include "../grant_table.h"
@@ -352,7 +352,7 @@ typedef struct vscsiif_response vscsiif_response_t;
DEFINE_RING_TYPES(vscsiif, struct vscsiif_request, struct vscsiif_response);
-#endif /*__XEN__PUBLIC_IO_SCSI_H__*/
+#endif /*PUBLIC__IO__VSCSIIF_H*/
/*
* Local variables:
* mode: C
@@ -7,8 +7,8 @@
* Copyright (C) 2005 XenSource Ltd.
*/
-#ifndef _XEN_PUBLIC_IO_XENBUS_H
-#define _XEN_PUBLIC_IO_XENBUS_H
+#ifndef PUBLIC__IO__XENBUS_H
+#define PUBLIC__IO__XENBUS_H
/*
* The state of either end of the Xenbus, i.e. the current communication
@@ -50,7 +50,7 @@ enum xenbus_state {
};
typedef enum xenbus_state XenbusState;
-#endif /* _XEN_PUBLIC_IO_XENBUS_H */
+#endif /* PUBLIC__IO__XENBUS_H */
/*
* Local variables:
@@ -6,8 +6,8 @@
* Copyright (C) 2005 Rusty Russell IBM Corporation
*/
-#ifndef _XS_WIRE_H
-#define _XS_WIRE_H
+#ifndef PUBLIC__IO__XS_WIRE_H
+#define PUBLIC__IO__XS_WIRE_H
enum xsd_sockmsg_type
{
@@ -134,7 +134,7 @@ struct xenstore_domain_interface {
#define XENSTORE_ERROR_RINGIDX 2 /* Invalid ring index */
#define XENSTORE_ERROR_PROTO 3 /* Protocol violation (payload too long) */
-#endif /* _XS_WIRE_H */
+#endif /* PUBLIC__IO__XS_WIRE_H */
/*
* Local variables:
Updated headers related to public I/O interfaces. Signed-off-by: Frediano Ziglio <frediano.ziglio@cloud.com> --- xen/include/public/io/9pfs.h | 4 ++-- xen/include/public/io/blkif.h | 6 +++--- xen/include/public/io/cameraif.h | 6 +++--- xen/include/public/io/console.h | 6 +++--- xen/include/public/io/displif.h | 6 +++--- xen/include/public/io/fbif.h | 4 ++-- xen/include/public/io/fsif.h | 4 ++-- xen/include/public/io/kbdif.h | 6 +++--- xen/include/public/io/netif.h | 4 ++-- xen/include/public/io/pciif.h | 6 +++--- xen/include/public/io/protocols.h | 4 ++-- xen/include/public/io/pvcalls.h | 4 ++-- xen/include/public/io/ring.h | 6 +++--- xen/include/public/io/sndif.h | 6 +++--- xen/include/public/io/tpmif.h | 4 ++-- xen/include/public/io/usbif.h | 6 +++--- xen/include/public/io/vscsiif.h | 6 +++--- xen/include/public/io/xenbus.h | 6 +++--- xen/include/public/io/xs_wire.h | 6 +++--- 19 files changed, 50 insertions(+), 50 deletions(-)