comparison target-utils/c139-lldbg/main.c @ 955:d7830aee0d35

c139-lldbg hack concocted
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Wed, 04 Nov 2015 20:34:12 +0000
parents
children 63ea60e7fbbc
comparison
equal deleted inserted replaced
954:d25d73815817 955:d7830aee0d35
1 #include "types.h"
2 #include "ns16550.h"
3
4 struct ns16550_regs *uart_base;
5
6 main()
7 {
8 uart_base = (struct ns16550_regs *) 0xFFFF5800;
9 printf("\2\2\2*Standalone Low Level Debugger entered\2");
10 for (;;) {
11 putchar('>');
12 if (command_entry())
13 command_dispatch();
14 }
15 }