39 #define MAX_XLOG_SIZE (64 * 1024)
60 for (i = 0; i < 0x100; Xlog[i++] =
inppw(ioaddr));
64 if (GET_DWORD(&Xlog[0x80 /
sizeof(Xlog[0])]) == 0x99999999)
69 regs[0] = GET_DWORD(&((
byte *)Xlog)[0x70]);
70 regs[1] = GET_DWORD(&((
byte *)Xlog)[0x74]);
71 regs[2] = GET_DWORD(&((
byte *)Xlog)[0x78]);
72 regs[3] = GET_DWORD(&((
byte *)Xlog)[0x7c]);
73 outpp(addrHi, (regs[1] >> 16) & 0x7F);
74 outppw(addrLo, regs[1] & 0xFFFF);
76 outpp(addrHi, (regs[2] >> 16) & 0x7F);
77 outppw(addrLo, regs[2] & 0xFFFF);
86 for (i = 0; i < (size /
sizeof(*Xlog)); regs[0] += 2)
88 outpp(addrHi, (regs[0] >> 16) & 0x7F);
89 outppw(addrLo, regs[0] & 0xFFFF);
90 Xlog[i++] =
inppw(ioaddr);
93 diva_os_free(0, Xlog);
130 if (!(
inpp(p) & 0x01)) {
180 IoAdapter->
load = load_bri_hardware;
181 IoAdapter->
disIrq = disable_bri_interrupt;
182 IoAdapter->
rstFnc = reset_bri_hardware;
183 IoAdapter->
stop = stop_bri_hardware;
184 IoAdapter->
trapFnc = bri_cpu_trapped;