Changeset 1fc2292d in rtems


Ignore:
Timestamp:
10/18/00 15:47:26 (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
664db30b
Parents:
8c49701
Message:

2000-10-18 Joel Sherrill <joel@…>

  • 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.
Location:
c/src/lib/libbsp/powerpc/mbx8xx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog

    r8c49701 r1fc2292d  
     12000-10-18      Joel Sherrill <joel@OARcorp.com>
     2
     3        * console/console.c: Added BSP dependent routine
     4        mbx8xx_console_use_maximum_buffer_size() required by mbx8xx
     5        console-generic code.  This avoids libcpu use of bsp.h.
     6
    172000-09-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    28
  • c/src/lib/libbsp/powerpc/mbx8xx/console/console.c

    r8c49701 r1fc2292d  
    882882}
    883883
     884/*
     885 *  Support routine for console-generic
     886 */
     887
     888int mbx8xx_console_use_maximum_buffer_size(void)
     889{
     890#if NVRAM_CONFIGURE == 1
     891  if ( (nvram->console_mode & 0x06) == 0x02 )
     892    return 1;
     893  else
     894    return 0;
     895#else
     896#if UARTS_IO_MODE == 1
     897  return 1;
     898#else
     899  return 0;
     900#endif
     901#endif
     902
     903}
     904
Note: See TracChangeset for help on using the changeset viewer.