shithub: riscv

ref: 65ef69a85d1c0f4694a361f5a0a99bdbb4f2cd95
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)