Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Add qemu 2.4.0
[kvmfornfv.git]
/
qemu
/
include
/
hw
/
pci-host
/
ppce500.h
diff --git a/qemu/include/hw/pci-host/ppce500.h
b/qemu/include/hw/pci-host/ppce500.h
new file mode 100644
(file)
index 0000000..
61f773e
--- /dev/null
+++ b/
qemu/include/hw/pci-host/ppce500.h
@@ -0,0
+1,9
@@
+#ifndef PPCE500_PCI_H
+#define PPCE500_PCI_H
+
+static inline int ppce500_pci_map_irq_slot(int devno, int irq_num)
+{
+ return (devno + irq_num) % 4;
+}
+
+#endif