qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] pci: add some stubs
@ 2012-08-03 20:13 Hervé Poussineau
  0 siblings, 0 replies; only message in thread
From: Hervé Poussineau @ 2012-08-03 20:13 UTC (permalink / raw)
  To: qemu-devel
  Cc: Blue Swirl, Paolo Bonzini, Anthony Liguori, Hervé Poussineau


Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
---
 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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-03 20:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-03 20:13 [Qemu-devel] [PATCH] pci: add some stubs Hervé Poussineau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).