URL
https://opencores.org/ocsvn/minsoc/minsoc/trunk
Subversion Repositories minsoc
Compare Revisions
- This comparison shows the changes necessary to convert path
/minsoc/branches/rc-1.0/sw
- from Rev 133 to Rev 147
- ↔ Reverse comparison
Rev 133 → Rev 147
/eth/eth.c
38,7 → 38,7
|
/* We can't use printf because in this simple example |
we don't link C library. */ |
uart_print_str("Hello World.\n\r"); |
uart_print_str("Hello World.\n"); |
|
eth_tx_data[0] = 0xFF; |
eth_tx_data[1] = 0x2B; |
/uart/uart.c
14,7 → 14,7
|
/* We can't use printf because in this simple example |
we don't link C library. */ |
uart_print_str("Hello World.\n\r"); |
uart_print_str("Hello World.\n"); |
|
report(0xdeaddead); |
or32_exit(0); |
/drivers/uart.c
57,10 → 57,6
|
WAIT_FOR_THRE; |
REG8(UART_BASE + UART_TX) = c; |
if(c == '\n') { |
WAIT_FOR_THRE; |
REG8(UART_BASE + UART_TX) = '\r'; |
} |
WAIT_FOR_XMITR; |
} |
|