aboutsummaryrefslogtreecommitdiff
path: root/hw/esp.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-11-26 15:33:47 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-03 09:41:36 -0600
commit1e37607b5e32dc5f4ee422ae45da4de659db0691 (patch)
tree4353fd29e540d35836b2364d0dcc269454e5c42e /hw/esp.h
parentf5c5e38179aff8cc9bb8bd4c9fe42966f0e9f9fd (diff)
downloadqemu-1e37607b5e32dc5f4ee422ae45da4de659db0691.zip
qemu-1e37607b5e32dc5f4ee422ae45da4de659db0691.tar.gz
qemu-1e37607b5e32dc5f4ee422ae45da4de659db0691.tar.bz2
scsi: add/fix header protection.
Also delete the leftover and unused scsi-disk.h file. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/esp.h')
-rw-r--r--hw/esp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/esp.h b/hw/esp.h
index 369998f..190bc2e 100644
--- a/hw/esp.h
+++ b/hw/esp.h
@@ -1,3 +1,6 @@
+#ifndef QEMU_HW_ESP_H
+#define QEMU_HW_ESP_H
+
/* esp.c */
#define ESP_MAX_DEVS 7
typedef void (*espdma_memory_read_write)(void *opaque, uint8_t *buf, int len);
@@ -5,3 +8,5 @@ void esp_init(target_phys_addr_t espaddr, int it_shift,
espdma_memory_read_write dma_memory_read,
espdma_memory_read_write dma_memory_write,
void *dma_opaque, qemu_irq irq, qemu_irq *reset);
+
+#endif