cachepc-qemu

Fork of AMDESE/qemu with changes for cachepc side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-qemu
Log | Files | Refs | Submodules | LICENSE | sfeed.txt

ppce500.h (168B)


      1#ifndef PCI_HOST_PPCE500_H
      2#define PCI_HOST_PPCE500_H
      3
      4static inline int ppce500_pci_map_irq_slot(int devno, int irq_num)
      5{
      6    return (devno + irq_num) % 4;
      7}
      8
      9#endif