- non constrained con_if_entry
git-svn-id: http://moon:8086/svn/mips@69 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
@@ -13,7 +13,7 @@ extern uart_if_t uart_if[];
|
||||
|
||||
#define ARRAYSIZE(a) (sizeof(a)/sizeof(a[0]))
|
||||
|
||||
const con_if_entry_t con_if_entry[5] =
|
||||
const con_if_entry_t con_if_entry[] =
|
||||
{
|
||||
{"UART-0", &uart_if[0], NULL, NULL, UART_readchar, UART_writechar},
|
||||
{"UART-1", &uart_if[1], NULL, NULL, UART_readchar, UART_writechar}
|
||||
|
||||
@@ -17,7 +17,7 @@ extern vga_if_t vga_if;
|
||||
|
||||
#define ARRAYSIZE(a) (sizeof(a)/sizeof(a[0]))
|
||||
|
||||
static const con_if_entry_t con_if_entry[5] =
|
||||
static const con_if_entry_t con_if_entry[] =
|
||||
{
|
||||
{"UART-0", &uart_if[0], NULL, NULL, UART_readchar, UART_writechar},
|
||||
{"UART-1", &uart_if[1], NULL, NULL, UART_readchar, UART_writechar},
|
||||
@@ -29,4 +29,4 @@ static const con_if_entry_t con_if_entry[5] =
|
||||
con_if_t con_if =
|
||||
{
|
||||
con_if_entry, ARRAYSIZE(con_if_entry)
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user