Home
last modified time | relevance | path

Searched refs:kgdb_uart (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/arch/mips/mips-boards/generic/
Dgdb_hook.c155 static t_uart_saa9730_regmap *kgdb_uart = (void *)(ATLAS_SAA9730_REG + SAA9730_UART_REGS_ADDR); variable
166 t = INB(&kgdb_uart->Lsr); in saa9730_kgdb_hook()
167 t += INB(&kgdb_uart->Msr); in saa9730_kgdb_hook()
168 t += INB(&kgdb_uart->Thr_Rbr); in saa9730_kgdb_hook()
169 t += INB(&kgdb_uart->Iir_Fcr); in saa9730_kgdb_hook()
175 OUTB(SAA9730_LCR_DATA8, &kgdb_uart->Lcr); in saa9730_kgdb_hook()
178 OUTB(0, &kgdb_uart->BaudDivMsb); /* HACK - Assumes standard crystal */ in saa9730_kgdb_hook()
179 OUTB(23, &kgdb_uart->BaudDivLsb); /* HACK - known for MIPS Atlas */ in saa9730_kgdb_hook()
182 OUTB(SAA9730_MCR_DTR | SAA9730_MCR_RTS, &kgdb_uart->Mcr); in saa9730_kgdb_hook()
193 while (!(INB(&kgdb_uart->Lsr) & SAA9730_LSR_THRE)) in saa9730_putDebugChar()
[all …]