aboutsummaryrefslogtreecommitdiff
path: root/hw/ppce500_pci.h
blob: 61f773ef30f29df04c616d40d0153d679c8addea (plain)
1
2
3
4
5
6
7
8
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