shithub: riscv

ref: 8a45afd47d2545b2d85aecf9ec5af90cba3905d3
dir: /sys/src/9/arm64/io.h/

View raw version
enum {
	IRQfiq		= -1,

	PPI		= 16,
	SPI		= 32,

	IRQcntvns	= PPI+11,

	IRQuart		= SPI+1,

	IRQpci1		= SPI+3,
	IRQpci2		= SPI+4,
	IRQpci3		= SPI+5,
	IRQpci4		= SPI+6,
};

#define BUSUNKNOWN (-1)
#define PCIWINDOW	0
#define	PCIWADDR(x)	(PADDR(x)+PCIWINDOW)