Changeset 3a4ae6c in rtems for cpukit/libcsupport


Ignore:
Timestamp:
Sep 11, 1995, 7:35:39 PM (25 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.

Location:
cpukit/libcsupport
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/include/console.h

    r5072b07 r3a4ae6c  
    2323
    2424#define CONSOLE_DRIVER_TABLE_ENTRY \
    25   { console_initialize, NULL, NULL, NULL, NULL, NULL }
     25  { console_initialize, console_open, console_close, \
     26    console_read, console_write, console_control }
    2627
    2728rtems_device_driver console_initialize(
    2829  rtems_device_major_number,
    2930  rtems_device_minor_number,
    30   void *,
    31   rtems_id,
    32   rtems_unsigned32 *
     31  void *
     32);
     33
     34rtems_device_driver console_open(
     35  rtems_device_major_number,
     36  rtems_device_minor_number,
     37  void *
     38);
     39
     40rtems_device_driver console_close(
     41  rtems_device_major_number,
     42  rtems_device_minor_number,
     43  void *
     44);
     45
     46rtems_device_driver console_read(
     47  rtems_device_major_number,
     48  rtems_device_minor_number,
     49  void *
     50);
     51
     52rtems_device_driver console_write(
     53  rtems_device_major_number,
     54  rtems_device_minor_number,
     55  void *
     56);
     57
     58rtems_device_driver console_control(
     59  rtems_device_major_number,
     60  rtems_device_minor_number,
     61  void *
    3362);
    3463
  • cpukit/libcsupport/src/error.c

    r5072b07 r3a4ae6c  
    9292    { "directive not implemented",          RTEMS_NOT_IMPLEMENTED, },
    9393    { "RTEMS inconsistency detected",       RTEMS_INTERNAL_ERROR, },
    94     { "internal multiprocessing only",      RTEMS_PROXY_BLOCKING, },
    9594    { "could not get enough memory",        RTEMS_NO_MEMORY, },
     95    { "internal multiprocessing only",      THREAD_STATUS_PROXY_BLOCKING, },
    9696    { 0, 0, 0 },
    9797};
     
    135135        local_errno = errno;
    136136
    137     if (_Configuration_Is_multiprocessing())
     137    if (_System_state_Is_multiprocessing)
    138138        fprintf(stderr, "[%d] ", _Configuration_MP_table->node);
    139139   
  • cpukit/libcsupport/src/libio.c

    r5072b07 r3a4ae6c  
    1515
    1616#include <fcntl.h>                      /* O_RDONLY, et.al. */
     17#include <sys/fcntl.h>                      /* O_RDONLY, et.al. */
    1718#if defined(solaris2)
    1819#define O_NDELAY O_NONBLOCK
     20#elif  defined(RTEMS_NEWLIB)
     21#define O_NDELAY _FNBIO
    1922#endif
    2023#include <errno.h>
  • cpukit/libcsupport/src/newlibc.c

    r5072b07 r3a4ae6c  
    8181
    8282
    83 rtems_extension
     83rtems_boolean
    8484libc_create_hook(rtems_tcb *current_task,
    8585                 rtems_tcb *creating_task)
    8686{
    8787    MY_task_set_note(creating_task, LIBC_NOTEPAD, 0);
     88    return TRUE;
    8889}
    8990
     
    232233        memset(&libc_extension, 0, sizeof(libc_extension));
    233234
    234         libc_extension.rtems_task_create  = libc_create_hook;
    235         libc_extension.rtems_task_start   = libc_start_hook;
    236         libc_extension.task_switch  = libc_switch_hook;
    237         libc_extension.rtems_task_delete  = libc_delete_hook;
     235        libc_extension.thread_create  = libc_create_hook;
     236        libc_extension.thread_start   = libc_start_hook;
     237        libc_extension.thread_switch  = libc_switch_hook;
     238        libc_extension.thread_delete  = libc_delete_hook;
    238239
    239240        rc = rtems_extension_create(rtems_build_name('L', 'I', 'B', 'C'),
Note: See TracChangeset for help on using the changeset viewer.