FreeCalypso > hg > freecalypso-sw
view target-utils/c139explore/main.c @ 947:76149e0628ba
target-utils/Makefile: c139explore added
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 02 Nov 2015 18:11:53 +0000 |
parents | 845c2e420069 |
children | c73516dd50bb |
line wrap: on
line source
#include "types.h" #include "ns16550.h" struct ns16550_regs *uart_base; main() { uart_base = (struct ns16550_regs *) 0xFFFF5800; printf("C139 hardware exploration utility running\n"); for (;;) { putchar('='); if (command_entry()) command_dispatch(); } }