repo.or.cz
/
qemu
/
ar7.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
target-ppc: Extract 74x7[A] aliases
[qemu/ar7.git]
/
hw
/
ppce500_pci.h
blob
61f773ef30f29df04c616d40d0153d679c8addea
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