]> git.proxmox.com Git - mirror_qemu.git/blob - hw/ppce500_pci.h
build: enable using $(CONFIG_FOO) on the rhs of config files
[mirror_qemu.git] / hw / ppce500_pci.h
1 #ifndef PPCE500_PCI_H
2 #define PPCE500_PCI_H
3
4 static inline int ppce500_pci_map_irq_slot(int devno, int irq_num)
5 {
6 return (devno + irq_num) % 4;
7 }
8
9 #endif