Commit f91005e1 authored by Markus Armbruster's avatar Markus Armbruster
Browse files

Supply missing header guards



Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
Message-Id: <20190604181618.19980-5-armbru@redhat.com>
parent 37677d7d
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -8,9 +8,11 @@
 *
 * This work is licensed under the terms of the GNU GPL version 2 or
 * later. See the COPYING file in the top-level directory.
 *
 */

#ifndef HW_9PFS_XEN_9PFS_H
#define HW_9PFS_XEN_9PFS_H

#include <xen/io/protocols.h>
#include "hw/xen/io/ring.h"

@@ -19,3 +21,5 @@
 * inline functions in c files.
 */
DEFINE_XEN_FLEX_RING_AND_INTF(xen_9pfs);

#endif
+5 −0
Original line number Diff line number Diff line
/* HPPA cores and system support chips.  */

#ifndef HW_HPPA_HPPA_HARDWARE_H
#define HW_HPPA_HPPA_HARDWARE_H

#define FIRMWARE_START  0xf0000000
#define FIRMWARE_END    0xf0800000

@@ -38,3 +41,5 @@

#define HPPA_MAX_CPUS   8       /* max. number of SMP CPUs */
#define CPU_CLOCK_MHZ   250     /* emulate a 250 MHz CPU */

#endif
+4 −0
Original line number Diff line number Diff line
@@ -22,6 +22,9 @@
 * THE SOFTWARE.
 */

#ifndef HW_INPUT_ADB_INTERNAL_H
#define HW_INPUT_ADB_INTERNAL_H

/* ADB commands */

#define ADB_BUSRESET            0x00
@@ -47,3 +50,4 @@

extern const VMStateDescription vmstate_adb_device;

#endif
+5 −0
Original line number Diff line number Diff line
@@ -33,6 +33,9 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/

#ifndef HW_NET_E1000E_CORE_H
#define HW_NET_E1000E_CORE_H

#define E1000E_PHY_PAGE_SIZE    (0x20)
#define E1000E_PHY_PAGES        (0x07)
#define E1000E_MAC_SIZE         (0x8000)
@@ -151,3 +154,5 @@ e1000e_receive_iov(E1000ECore *core, const struct iovec *iov, int iovcnt);

void
e1000e_start_recv(E1000ECore *core);

#endif
+5 −0
Original line number Diff line number Diff line
@@ -22,6 +22,9 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/

#ifndef HW_NET_E1000X_COMMON_H
#define HW_NET_E1000X_COMMON_H

#include "e1000_regs.h"

#define defreg(x)   x = (E1000_##x >> 2)
@@ -209,3 +212,5 @@ typedef struct e1000x_txd_props {

void e1000x_read_tx_ctx_descr(struct e1000_context_desc *d,
                              e1000x_txd_props *props);

#endif
Loading