URL
https://opencores.org/ocsvn/or1k_old/or1k_old/trunk
Subversion Repositories or1k_old
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 841 to Rev 842
- ↔ Reverse comparison
Rev 841 → Rev 842
/trunk/orpmon/sim.cfg
300,7 → 300,7
/* iprompt = 0 */ |
exe_log = 0 |
exe_log_type = software |
exe_log_start = 17000000 |
exe_log_start = 3400000 |
/* exe_log_end = 20000000*/ |
exe_log_marker = 10000 |
exe_log_fn = "executed.log" |
/trunk/orpmon/common/support.c
1,6 → 1,5
/* Support */ |
|
#include <sys/time.h> |
#include "spr_defs.h" |
#include "support.h" |
#include "common.h" |
/trunk/orpmon/drivers/eth.c
69,7 → 69,7
bd[i].addr = ETH_DATA_BASE + ((ETH_TXBD_NUM + i) * ETH_MAXBUF_LEN); |
} |
|
bd[i-1].len_status |= ETH_TX_BD_WRAP; // Last Rx BD - Wrap |
bd[i-1].len_status |= ETH_RX_BD_WRAP; // Last Rx BD - Wrap |
} |
|
void eth_init (void (*rec)(volatile unsigned char *, int)) |
/trunk/orpmon/drivers/uart.c
73,5 → 73,8
|
char uart_testc(void) |
{ |
return ((REG8(UART_BASE + UART_LSR) & UART_LSR_DR) == UART_LSR_DR); |
if((REG8(UART_BASE + UART_LSR) & UART_LSR_DR) == UART_LSR_DR) |
return REG8(UART_BASE + UART_RX); |
else |
return 0; |
} |