forked from Imagelibrary/rtems
2000-08-11 Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
* console.c(_BSP_output_char): Output CR after LF for printk.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2000-08-11 Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
|
||||||
|
|
||||||
|
* console.c(_BSP_output_char): Output CR after LF for printk.
|
||||||
|
|
||||||
2000-08-11 Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
|
2000-08-11 Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
|
||||||
|
|
||||||
* README: Updated
|
* README: Updated
|
||||||
@@ -24,6 +28,7 @@
|
|||||||
|
|
||||||
* network/network.c: Cleanup of network driver to reduce warnings.
|
* network/network.c: Cleanup of network driver to reduce warnings.
|
||||||
Addition of second parameter to uti596_attach.
|
Addition of second parameter to uti596_attach.
|
||||||
|
|
||||||
2000-08-10 Joel Sherrill <joel@OARcorp.com>
|
2000-08-10 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* ChangeLog: New file.
|
* ChangeLog: New file.
|
||||||
|
|||||||
@@ -1451,6 +1451,7 @@ rtems_status_code do_poll_write(
|
|||||||
void _BSP_output_char(char c)
|
void _BSP_output_char(char c)
|
||||||
{
|
{
|
||||||
rtems_device_minor_number printk_minor;
|
rtems_device_minor_number printk_minor;
|
||||||
|
char cr ='\r';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Can't rely on console_initialize having been called before this function
|
* Can't rely on console_initialize having been called before this function
|
||||||
@@ -1458,11 +1459,13 @@ void _BSP_output_char(char c)
|
|||||||
*/
|
*/
|
||||||
if ( NVRAM_CONFIGURE )
|
if ( NVRAM_CONFIGURE )
|
||||||
/* J1-4 is on, use NVRAM info for configuration */
|
/* J1-4 is on, use NVRAM info for configuration */
|
||||||
printk_minor = nvram->console_printk_port & 0x30;
|
printk_minor = (nvram->console_printk_port & 0x30) >> 4;
|
||||||
else
|
else
|
||||||
printk_minor = PRINTK_MINOR;
|
printk_minor = PRINTK_MINOR;
|
||||||
|
|
||||||
_167Bug_pollWrite(printk_minor, &c, 1);
|
_167Bug_pollWrite(printk_minor, &c, 1);
|
||||||
|
if ( c == '\n' )
|
||||||
|
_167Bug_pollWrite(printk_minor, &cr, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user