qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] pci: add some stubs


From: Hervé Poussineau
Subject: [Qemu-devel] [PATCH] pci: add some stubs
Date: Fri, 3 Aug 2012 22:13:38 +0200

Signed-off-by: Hervé Poussineau <address@hidden>
---
 hw/pci-stub.c |   10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/hw/pci-stub.c b/hw/pci-stub.c
index e083191..ed31441 100644
--- a/hw/pci-stub.c
+++ b/hw/pci-stub.c
@@ -39,6 +39,16 @@ void pci_register_bar(PCIDevice *pci_dev, int region_num,
 {
 }
 
+uint32_t pci_default_read_config(PCIDevice *d,
+                                 uint32_t address, int len)
+{
+    return 0;
+}
+
+void pci_default_write_config(PCIDevice *d, uint32_t addr, uint32_t val, int l)
+{
+}
+
 const VMStateDescription vmstate_pci_device = {
     .name = "PCIDeviceStub",
     .version_id = 1,
-- 
1.7.10.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]