mirror of
https://github.com/qemu/qemu.git
synced 2024-11-26 12:23:36 +08:00
10 lines
158 B
C
10 lines
158 B
C
|
#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
|