Changeset 5993d02 in rtems
- Timestamp:
- Oct 23, 1997, 3:12:08 PM (23 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 514cf30
- Parents:
- edd1329f
- Location:
- c/src/lib/libbsp/sparc/erc32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/sparc/erc32/console/console.c
redd1329f r5993d02 19 19 #include <stdlib.h> 20 20 #include <assert.h> 21 22 23 #undef CONSOLE_USE_POLLED24 #define CONSOLE_USE_INTERRUPTS25 21 26 22 /* … … 369 365 while (nwrite < len) { 370 366 #if defined(CONSOLE_USE_INTERRUPTS) 367 console_outbyte_interrupt( minor, *buf++ ); 368 #else 371 369 console_outbyte_polled( minor, *buf++ ); 372 #else373 console_outbyte_interrupt( minor, *buf++ );374 370 #endif 375 371 nwrite++; 376 372 } 377 373 return nwrite; 374 } 375 376 void console_reserve_resources( 377 rtems_configuration_table *configuration 378 ) 379 { 380 rtems_termios_reserve_resources( configuration, 2 ); 378 381 } 379 382 -
c/src/lib/libbsp/sparc/erc32/startup/bspstart.c
redd1329f r5993d02 324 324 BSP_Configuration.RTEMS_api_configuration->maximum_regions++; 325 325 326 /* 327 * Account for the console's resources 328 */ 329 330 console_reserve_resources( &BSP_Configuration ); 331 326 332 #ifdef RTEMS_NEWLIB 327 333 /*
Note: See TracChangeset
for help on using the changeset viewer.