Ignore:
Timestamp:
09/11/95 19:35:39 (28 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
ced11f99
Parents:
5072b07
Message:

The word "RTEMS" almost completely removed from the core.

Configuration Table Template file added and all tests
modified to use this. All gvar.h and conftbl.h files
removed from test directories.

Configuration parameter maximum_devices added.

Core semaphore and mutex handlers added and RTEMS API Semaphore
Manager updated to reflect this.

Initialization sequence changed to invoke API specific initialization
routines. Initialization tasks table now owned by RTEMS Tasks Manager.

Added user extension for post-switch.

Utilized user extensions to implement API specific functionality
like signal dispatching.

Added extensions to the System Initialization Thread so that an
API can register a function to be invoked while the system
is being initialized. These are largely equivalent to the
pre-driver and post-driver hooks.

Added the Modules file oar-go32_p5, modified oar-go32, and modified
the file make/custom/go32.cfg to look at an environment varable which
determines what CPU model is being used.

All BSPs updated to reflect named devices and clock driver's IOCTL
used by the Shared Memory Driver. Also merged clock isr into
main file and removed ckisr.c where possible.

Updated spsize to reflect new and moved variables.

Makefiles for the executive source and include files updated to show
break down of files into Core, RTEMS API, and Neither.

Header and inline files installed into subdirectory based on whether
logically in the Core or a part of the RTEMS API.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/unix/posix/console/console.c

    r5072b07 r3a4ae6c  
    33 *
    44 *  These provide UNIX-like read and write calls for the C library.
     5 *
     6 *  NOTE:  For the most part, this is just a space holder.
    57 *
    68 *  COPYRIGHT (c) 1994 by Division Incorporated
     
    3234)
    3335{
    34     return RTEMS_SUCCESSFUL;
     36  return 0;
    3537}
    3638
     39
     40/*
     41 *  Open entry point
     42 */
     43
     44rtems_device_driver console_open(
     45  rtems_device_major_number major,
     46  rtems_device_minor_number minor,
     47  void                    * arg
     48)
     49{
     50  return RTEMS_SUCCESSFUL;
     51}
     52 
     53/*
     54 *  Close entry point
     55 */
     56
     57rtems_device_driver console_close(
     58  rtems_device_major_number major,
     59  rtems_device_minor_number minor,
     60  void                    * arg
     61)
     62{
     63  return RTEMS_SUCCESSFUL;
     64}
     65
     66/*
     67 * read bytes from the serial port. We only have stdin.
     68 */
     69
     70rtems_device_driver console_read(
     71  rtems_device_major_number major,
     72  rtems_device_minor_number minor,
     73  void                    * arg
     74)
     75{
     76  return RTEMS_UNSATISFIED;
     77}
     78
     79/*
     80 * write bytes to the serial port. Stdout and stderr are the same.
     81 */
     82
     83rtems_device_driver console_write(
     84  rtems_device_major_number major,
     85  rtems_device_minor_number minor,
     86  void                    * arg
     87)
     88{
     89  return -1;
     90}
     91
     92/*
     93 *  IO Control entry point
     94 */
     95
     96rtems_device_driver console_control(
     97  rtems_device_major_number major,
     98  rtems_device_minor_number minor,
     99  void                    * arg
     100)
     101{
     102  return RTEMS_SUCCESSFUL;
     103}
Note: See TracChangeset for help on using the changeset viewer.