comparison target-utils/c139-lldbg/main.c @ 994:63ea60e7fbbc

target-utils/c139-lldbg: same uart_base clean-up as in c139explore
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Wed, 30 Dec 2015 22:23:01 +0000
parents d7830aee0d35
children
comparison
equal deleted inserted replaced
993:d92e4aadeeb3 994:63ea60e7fbbc
1 #include "types.h"
2 #include "ns16550.h"
3
4 struct ns16550_regs *uart_base;
5
6 main() 1 main()
7 { 2 {
8 uart_base = (struct ns16550_regs *) 0xFFFF5800;
9 printf("\2\2\2*Standalone Low Level Debugger entered\2"); 3 printf("\2\2\2*Standalone Low Level Debugger entered\2");
10 for (;;) { 4 for (;;) {
11 putchar('>'); 5 putchar('>');
12 if (command_entry()) 6 if (command_entry())
13 command_dispatch(); 7 command_dispatch();