shithub: riscv

ref: 1b09060f468f530af2f4ef75441a40084e912e54
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)