mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-29 16:00:17 +00:00
2000-10-18 Joel Sherrill <joel@OARcorp.com>
* console/console.c: Added BSP dependent routine mbx8xx_console_use_maximum_buffer_size() required by mbx8xx console-generic code. This avoids libcpu use of bsp.h.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2000-10-18 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* console/console.c: Added BSP dependent routine
|
||||
mbx8xx_console_use_maximum_buffer_size() required by mbx8xx
|
||||
console-generic code. This avoids libcpu use of bsp.h.
|
||||
|
||||
2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* console/Makefile.am, network/Makefile.am, startup/Makefile.am,
|
||||
|
||||
@@ -881,3 +881,24 @@ rtems_device_driver console_control(
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
* Support routine for console-generic
|
||||
*/
|
||||
|
||||
int mbx8xx_console_use_maximum_buffer_size(void)
|
||||
{
|
||||
#if NVRAM_CONFIGURE == 1
|
||||
if ( (nvram->console_mode & 0x06) == 0x02 )
|
||||
return 1;
|
||||
else
|
||||
return 0;
|
||||
#else
|
||||
#if UARTS_IO_MODE == 1
|
||||
return 1;
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user