forked from Imagelibrary/rtems
2011-04-20 Rohan Kangralkar <rkangral@ece.neu.edu>
PR 1781/bsps * console/console-io.c: The UART RX and TX are different ISR now. So the array containing the registeration changes. The change is due to change in the libcup uart function.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2011-04-20 Rohan Kangralkar <rkangral@ece.neu.edu>
|
||||
|
||||
PR 1781/bsps
|
||||
* console/console-io.c: The UART RX and TX are different ISR
|
||||
now. So the array containing the registeration changes. The
|
||||
change is due to change in the libcup uart function.
|
||||
|
||||
2011-02-15 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* ChangeLog, start/start.S: Add HLT instruction on exit.
|
||||
|
||||
@@ -27,15 +27,20 @@
|
||||
|
||||
static bfin_uart_channel_t channels[] = {
|
||||
{"/dev/console",
|
||||
(char *) UART0_BASE_ADDRESS,
|
||||
CONSOLE_USE_INTERRUPTS,
|
||||
#ifdef CONSOLE_FORCE_BAUD
|
||||
CONSOLE_FORCE_BAUD,
|
||||
#else
|
||||
UART0_BASE_ADDRESS,
|
||||
0,
|
||||
#endif
|
||||
0,
|
||||
CONSOLE_USE_INTERRUPTS,
|
||||
0,
|
||||
#ifdef CONSOLE_FORCE_BAUD
|
||||
CONSOLE_FORCE_BAUD,
|
||||
#else
|
||||
0,
|
||||
#endif
|
||||
NULL,
|
||||
0,
|
||||
0}
|
||||
};
|
||||
|
||||
#if (!BFIN_ON_SKYEYE)
|
||||
,
|
||||
@@ -56,10 +61,10 @@ static bfin_uart_config_t config = {
|
||||
|
||||
#if CONSOLE_USE_INTERRUPTS
|
||||
static bfin_isr_t bfinUARTISRs[] = {
|
||||
{SIC_DMA8_UART0_RX_VECTOR, bfin_uart_isr, 0, 0, NULL},
|
||||
{SIC_DMA10_UART1_RX_VECTOR, bfin_uart_isr, 0, 0, NULL},
|
||||
{SIC_DMA9_UART0_TX_VECTOR, bfin_uart_isr, 0, 0, NULL},
|
||||
{SIC_DMA11_UART1_TX_VECTOR, bfin_uart_isr, 0, 0, NULL}
|
||||
{SIC_DMA8_UART0_RX_VECTOR, bfinUart_rxIsr, 0, 0, NULL},
|
||||
{SIC_DMA10_UART1_RX_VECTOR, bfinUart_rxIsr, 0, 0, NULL},
|
||||
{SIC_DMA9_UART0_TX_VECTOR, bfinUart_txIsr, 0, 0, NULL},
|
||||
{SIC_DMA11_UART1_TX_VECTOR, bfinUart_txIsr, 0, 0, NULL}
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user