mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 06:08:20 +00:00
2009-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/comm/uart.c, shared/comm/uart.h: Adjust prototypes.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2009-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* shared/comm/uart.c, shared/comm/uart.h: Adjust prototypes.
|
||||
|
||||
2009-11-10 Till Straumann <strauman@slac.stanford.edu>
|
||||
|
||||
* pc386/make/custom/pc586-sse.cfg, pc386/start/start.S,
|
||||
|
||||
@@ -405,7 +405,7 @@ BSP_uart_polled_write(int uart, int val)
|
||||
}
|
||||
|
||||
void
|
||||
BSP_output_char_via_serial(int val)
|
||||
BSP_output_char_via_serial(char val)
|
||||
{
|
||||
BSP_uart_polled_write(BSPConsolePort, val);
|
||||
if (val == '\n') BSP_uart_polled_write(BSPConsolePort,'\r');
|
||||
@@ -434,8 +434,8 @@ BSP_uart_polled_read(int uart)
|
||||
return (int)(val & 0xff);
|
||||
}
|
||||
|
||||
unsigned
|
||||
BSP_poll_char_via_serial()
|
||||
int
|
||||
BSP_poll_char_via_serial(void)
|
||||
{
|
||||
return BSP_uart_polled_read(BSPConsolePort);
|
||||
}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
/*
|
||||
* This software is Copyright (C) 1998 by T.sqware - all rights limited
|
||||
* It is provided in to the public domain "as is", can be freely modified
|
||||
@@ -32,8 +30,8 @@ void BSP_uart_termios_isr_com1();
|
||||
void BSP_uart_termios_isr_com2();
|
||||
void BSP_uart_dbgisr_com1(void);
|
||||
void BSP_uart_dbgisr_com2(void);
|
||||
extern unsigned BSP_poll_char_via_serial(void);
|
||||
extern void BSP_output_char_via_serial(int val);
|
||||
extern int BSP_poll_char_via_serial(void);
|
||||
extern void BSP_output_char_via_serial(char val);
|
||||
extern int BSPConsolePort;
|
||||
extern int BSPBaseBaud;
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user