diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-10-26 20:30:20 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-10-26 20:30:20 +0000 |
commit | 7ee88c169555d90adca41b6cd74f0097816423c6 (patch) | |
tree | 1f287d34485951807e8f364bd648093db68f6726 /c/src/lib/libbsp/m68k/gen68360/console/consolereserveresources.c | |
parent | Added initial cut at miniIMFS which leaves out memfile and directory (diff) | |
download | rtems-7ee88c169555d90adca41b6cd74f0097816423c6.tar.bz2 |
Split console_reserve_resources to separate file to reduce
code size.
Diffstat (limited to 'c/src/lib/libbsp/m68k/gen68360/console/consolereserveresources.c')
-rw-r--r-- | c/src/lib/libbsp/m68k/gen68360/console/consolereserveresources.c | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/m68k/gen68360/console/consolereserveresources.c b/c/src/lib/libbsp/m68k/gen68360/console/consolereserveresources.c new file mode 100644 index 0000000000..1e720b29ce --- /dev/null +++ b/c/src/lib/libbsp/m68k/gen68360/console/consolereserveresources.c @@ -0,0 +1,39 @@ +/* + * Reserve resources for console driver. + * + * This is in a separate file to minimize the amount of baggage + * pulled in when not using the console device driver. + * + * Author: + * W. Eric Norum + * Saskatchewan Accelerator Laboratory + * University of Saskatchewan + * Saskatoon, Saskatchewan, CANADA + * eric@skatter.usask.ca + * + * COPYRIGHT (c) 1989-1998. + * On-Line Applications Research Corporation (OAR). + * Copyright assigned to U.S. Government, 1994. + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * + * http://www.OARcorp.com/rtems/license.html. + * + * $Id$ + */ + +#include <termios.h> +#include <bsp.h> +#include <rtems/libio.h> +#include "m68360.h" + +/* + * Reserve resources consumed by this driver + */ +void console_reserve_resources( + rtems_configuration_table *configuration +) +{ + rtems_termios_reserve_resources (configuration, 1); +} |