summaryrefslogtreecommitdiffstats
path: root/hw/empty_slot.h
diff options
context:
space:
mode:
authorArtyom Tarasenko2010-04-17 01:10:04 +0200
committerBlue Swirl2010-04-18 10:55:12 +0200
commitda9fcfa54486797a5f261b43ad0c0b2f8dc47181 (patch)
treeb06df9085333d963ef379883c65894e63a98245e /hw/empty_slot.h
parentFix harmless if statements with empty body, spotted by clang (diff)
downloadqemu-da9fcfa54486797a5f261b43ad0c0b2f8dc47181.tar.gz
qemu-da9fcfa54486797a5f261b43ad0c0b2f8dc47181.tar.xz
qemu-da9fcfa54486797a5f261b43ad0c0b2f8dc47181.zip
create empty_slot device
The empty_slot device emulates known to a bus but not connected devices. Signed-off-by: Artyom Tarasenko <atar4qemu@gmail.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/empty_slot.h')
-rw-r--r--hw/empty_slot.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/empty_slot.h b/hw/empty_slot.h
new file mode 100644
index 0000000000..78dc91de10
--- /dev/null
+++ b/hw/empty_slot.h
@@ -0,0 +1,2 @@
+/* empty_slot.c */
+void empty_slot_init(target_phys_addr_t addr, uint64_t slot_size);