BONITO_PCIIO_BASE
.bus_base = PHYS_TO_XKPHYS(BONITO_PCIIO_BASE, CCA_NC),
#define BONITO_PCIIO_TOP (BONITO_PCIIO_BASE+BONITO_PCIIO_SIZE-1)
REGVAL8(BONITO_PCIIO_BASE + IO_ICU1 + PIC_OCW3) =
ocw1 = REGVAL8(BONITO_PCIIO_BASE + IO_ICU1 + PIC_OCW3);
REGVAL8(BONITO_PCIIO_BASE + IO_ICU2 + PIC_OCW3) =
ocw2 = REGVAL8(BONITO_PCIIO_BASE + IO_ICU2 + PIC_OCW3);
REGVAL8(BONITO_PCIIO_BASE + IO_ICU1 + PIC_ICW1) =
REGVAL8(BONITO_PCIIO_BASE + IO_ICU1 + PIC_ICW2) = ICW2_VECTOR(0);
REGVAL8(BONITO_PCIIO_BASE + IO_ICU1 + PIC_ICW3) = ICW3_CASCADE(2);
REGVAL8(BONITO_PCIIO_BASE + IO_ICU1 + PIC_ICW4) = ICW4_8086;
REGVAL8(BONITO_PCIIO_BASE + IO_ICU1 + PIC_OCW1) = 0xff;
REGVAL8(BONITO_PCIIO_BASE + IO_ICU1 + PIC_OCW3) =
REGVAL8(BONITO_PCIIO_BASE + IO_ICU1 + PIC_OCW3) = OCW3_SELECT | OCW3_RR;
REGVAL8(BONITO_PCIIO_BASE + IO_ICU2 + PIC_ICW1) =
REGVAL8(BONITO_PCIIO_BASE + IO_ICU2 + PIC_ICW2) = ICW2_VECTOR(8);
REGVAL8(BONITO_PCIIO_BASE + IO_ICU2 + PIC_ICW3) = ICW3_SIC(2);
REGVAL8(BONITO_PCIIO_BASE + IO_ICU2 + PIC_ICW4) = ICW4_8086;
REGVAL8(BONITO_PCIIO_BASE + IO_ICU2 + PIC_OCW1) = 0xff;
REGVAL8(BONITO_PCIIO_BASE + IO_ICU2 + PIC_OCW3) =
REGVAL8(BONITO_PCIIO_BASE + IO_ICU2 + PIC_OCW3) = OCW3_SELECT | OCW3_RR;
REGVAL8(BONITO_PCIIO_BASE + 0x4d0) = (elcr >> 0) & 0xff;
REGVAL8(BONITO_PCIIO_BASE + 0x4d1) = (elcr >> 8) & 0xff;
REGVAL8(BONITO_PCIIO_BASE + IO_ICU2 + 1) = imr2;
REGVAL8(BONITO_PCIIO_BASE + IO_ICU1 + 1) = imr1;
REGVAL8(BONITO_PCIIO_BASE + IO_ICU2 + PIC_OCW2) =
REGVAL8(BONITO_PCIIO_BASE + IO_ICU1 + PIC_OCW2) =
REGVAL8(BONITO_PCIIO_BASE + IO_ICU2 + 1) = 0xff;
REGVAL8(BONITO_PCIIO_BASE + IO_ICU2 + 2) = 0xff;
imr1 = 0xff & ~REGVAL8(BONITO_PCIIO_BASE + IO_ICU1 + 1);
imr2 = 0xff & ~REGVAL8(BONITO_PCIIO_BASE + IO_ICU2 + 1);
isr1 = 0xff & REGVAL8(BONITO_PCIIO_BASE + IO_ICU1);
isr2 = 0xff & REGVAL8(BONITO_PCIIO_BASE + IO_ICU2);
gpiobase = BONITO_PCIIO_BASE + (rdmsr(DIVIL_LBAR_GPIO) & 0xff00);