Ignore:
Timestamp:
Oct 23, 1997, 3:12:08 PM (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
514cf30
Parents:
edd1329f
Message:

Added console_reserve_resources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/erc32/console/console.c

    redd1329f r5993d02  
    1919#include <stdlib.h>
    2020#include <assert.h>
    21 
    22 
    23 #undef  CONSOLE_USE_POLLED
    24 #define CONSOLE_USE_INTERRUPTS
    2521
    2622/*
     
    369365  while (nwrite < len) {
    370366#if defined(CONSOLE_USE_INTERRUPTS)
     367    console_outbyte_interrupt( minor, *buf++ );
     368#else
    371369    console_outbyte_polled( minor, *buf++ );
    372 #else
    373     console_outbyte_interrupt( minor, *buf++ );
    374370#endif
    375371    nwrite++;
    376372  }
    377373  return nwrite;
     374}
     375
     376void console_reserve_resources(
     377  rtems_configuration_table *configuration
     378)
     379{
     380  rtems_termios_reserve_resources( configuration, 2 );
    378381}
    379382
Note: See TracChangeset for help on using the changeset viewer.