FreeCalypso > hg > freecalypso-sw
view target-utils/c139-lldbg/main.c @ 977:ce0ded19a769
rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Thu, 10 Dec 2015 04:00:08 +0000 |
parents | d7830aee0d35 |
children | 63ea60e7fbbc |
line wrap: on
line source
#include "types.h" #include "ns16550.h" struct ns16550_regs *uart_base; main() { uart_base = (struct ns16550_regs *) 0xFFFF5800; printf("\2\2\2*Standalone Low Level Debugger entered\2"); for (;;) { putchar('>'); if (command_entry()) command_dispatch(); } }