shithub: riscv

ref: 9a7ee3a47de9b15b79d83fb3c5590acbc63114b3
dir: /sys/src/9/bcm64/io.h/

View raw version
#include "../bcm/io.h"

enum {
	IRQgic		= 160,
	IRQpci		= IRQgic + 20,
	IRQether	= IRQgic + 29,
};

#define PCIWINDOW	soc.pcidmawin
#define PCIWADDR(va)	(PADDR(va)+PCIWINDOW)