repo.or.cz
/
qemu
/
armbru.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge tag 'pull-loongarch-20241016' of https://gitlab.com/gaosong/qemu into staging
[qemu/armbru.git]
/
include
/
hw
/
pci-host
/
ppce500.h
blob
e3a374230b7116b65bd3e4476e30ab9775fba17d
1
#ifndef PCI_HOST_PPCE500_H
2
#define PCI_HOST_PPCE500_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