historical/m0-applesillicon.git/xnu-qemu-arm64-5.1.0/include/hw/pci-host/ppce500.h
2024-01-16 11:20:27 -06:00

9 lines
168 B
C

#ifndef PCI_HOST_PPCE500_H
#define PCI_HOST_PPCE500_H
static inline int ppce500_pci_map_irq_slot(int devno, int irq_num)
{
return (devno + irq_num) % 4;
}
#endif