Changeset 3a4ae6c in rtems for c/src/optman


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.

Location:
c/src/optman
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • c/src/optman/rtems/no-dpmem.c

    r5072b07 r3a4ae6c  
    1414
    1515#include <rtems/system.h>
    16 #include <rtems/address.h>
    17 #include <rtems/dpmem.h>
    18 #include <rtems/object.h>
    19 #include <rtems/thread.h>
     16#include <rtems/core/address.h>
     17#include <rtems/core/object.h>
     18#include <rtems/core/thread.h>
     19
     20#include <rtems/rtems/status.h>
     21#include <rtems/rtems/types.h>
     22#include <rtems/rtems/dpmem.h>
    2023
    2124void _Dual_ported_memory_Manager_initialization(
     
    3336)
    3437{
    35   return( RTEMS_NOT_CONFIGURED );
     38  return RTEMS_NOT_CONFIGURED;
    3639}
    3740
     
    4144)
    4245{
    43   return( RTEMS_NOT_CONFIGURED );
     46  return RTEMS_NOT_CONFIGURED;
    4447}
    4548
     
    4851)
    4952{
    50   return( RTEMS_NOT_CONFIGURED );
     53  return RTEMS_NOT_CONFIGURED;
    5154}
    5255
     
    5760)
    5861{
    59   return( RTEMS_NOT_CONFIGURED );
     62  return RTEMS_NOT_CONFIGURED;
    6063}
    6164
     
    6669)
    6770{
    68   return( RTEMS_NOT_CONFIGURED );
     71  return RTEMS_NOT_CONFIGURED;
    6972}
  • c/src/optman/rtems/no-event.c

    r5072b07 r3a4ae6c  
    1414
    1515#include <rtems/system.h>
    16 #include <rtems/event.h>
    17 #include <rtems/isr.h>
    18 #include <rtems/object.h>
    19 #include <rtems/options.h>
    20 #include <rtems/states.h>
    21 #include <rtems/thread.h>
     16#include <rtems/rtems/status.h>
     17#include <rtems/rtems/event.h>
     18#include <rtems/core/isr.h>
     19#include <rtems/core/object.h>
     20#include <rtems/rtems/options.h>
     21#include <rtems/core/states.h>
     22#include <rtems/core/thread.h>
    2223
    2324rtems_status_code rtems_event_send(
     
    2627)
    2728{
    28   return( RTEMS_NOT_CONFIGURED );
     29  return RTEMS_NOT_CONFIGURED;
    2930}
    3031
     
    3637)
    3738{
    38   return( RTEMS_NOT_CONFIGURED );
     39  return RTEMS_NOT_CONFIGURED;
    3940}
    4041
  • c/src/optman/rtems/no-mp.c

    r5072b07 r3a4ae6c  
    1515
    1616#include <rtems/system.h>
    17 #include <rtems/config.h>
    18 #include <rtems/cpu.h>
    19 #include <rtems/event.h>
    20 #include <rtems/fatal.h>
    21 #include <rtems/intthrd.h>
    22 #include <rtems/message.h>
    23 #include <rtems/mp.h>
    24 #include <rtems/mpci.h>
    25 #include <rtems/mppkt.h>
    26 #include <rtems/part.h>
    27 #include <rtems/sem.h>
    28 #include <rtems/signal.h>
    29 #include <rtems/states.h>
    30 #include <rtems/tasks.h>
    31 #include <rtems/thread.h>
    32 #include <rtems/threadq.h>
    33 #include <rtems/watchdog.h>
     17#include <rtems/rtems/status.h>
     18#include <rtems/rtems/mp.h>
     19#include <rtems/core/cpu.h>
     20#include <rtems/core/interr.h>
     21#include <rtems/core/mpci.h>
     22#include <rtems/core/mppkt.h>
     23#include <rtems/core/states.h>
     24#include <rtems/core/thread.h>
     25#include <rtems/core/threadq.h>
     26#include <rtems/core/tqdata.h>
     27#include <rtems/core/watchdog.h>
     28#include <rtems/sysstate.h>
    3429
    3530void _Multiprocessing_Manager_initialization ( void )
     
    4136}
    4237
    43 Thread _Multiprocessing_Receive_server (
    44   Thread_Argument ignored
     38void _MPCI_Handler_initialization(
     39  MPCI_Control            *users_mpci_table
    4540)
    46 {
    47 }
    48 
    49 void _MPCI_Handler_initialization ( void )
    5041{
    5142}
     
    5546}
    5647
    57 rtems_packet_prefix *_MPCI_Get_packet ( void )
     48void _MPCI_Register_packet_processor(
     49  Objects_Classes        the_class,
     50  MPCI_Packet_processor  the_packet_processor
     51 
     52)
     53{
     54}
     55 
     56MP_packet_Prefix *_MPCI_Get_packet ( void )
    5857{
    5958  return NULL;
     
    6160
    6261void _MPCI_Return_packet (
    63   rtems_packet_prefix   *the_packet
     62  MP_packet_Prefix   *the_packet
    6463)
    6564{
     
    6867void _MPCI_Send_process_packet (
    6968  unsigned32          destination,
    70   rtems_packet_prefix   *the_packet
     69  MP_packet_Prefix   *the_packet
    7170)
    7271{
    7372}
    7473
    75 rtems_status_code _MPCI_Send_request_packet (
     74unsigned32 _MPCI_Send_request_packet (
    7675  unsigned32          destination,
    77   rtems_packet_prefix   *the_packet,
     76  MP_packet_Prefix   *the_packet,
    7877  States_Control      extra_state
    7978)
    8079{
    81   return( RTEMS_NOT_CONFIGURED );
     80  return 0;
    8281}
    8382
    8483void _MPCI_Send_response_packet (
    8584  unsigned32          destination,
    86   rtems_packet_prefix   *the_packet
     85  MP_packet_Prefix   *the_packet
    8786)
    8887{
    8988}
    9089
    91 rtems_packet_prefix  *_MPCI_Receive_packet ( void )
     90MP_packet_Prefix  *_MPCI_Receive_packet ( void )
    9291{
    9392  return NULL;
     
    9594
    9695Thread_Control *_MPCI_Process_response (
    97   rtems_packet_prefix  *the_packet
     96  MP_packet_Prefix  *the_packet
    9897)
    9998{
    10099  return NULL;
    101100}
     101
     102void _MPCI_Receive_server( void )
     103{
     104}
     105
     106void _MPCI_Announce ( void )
     107{
     108}
     109
     110/* end of file */
  • c/src/optman/rtems/no-msg.c

    r5072b07 r3a4ae6c  
    1515
    1616#include <rtems/system.h>
    17 #include <rtems/attr.h>
    18 #include <rtems/chain.h>
     17#include <rtems/rtems/status.h>
     18#include <rtems/rtems/attr.h>
     19#include <rtems/core/chain.h>
    1920#include <rtems/config.h>
    20 #include <rtems/isr.h>
    21 #include <rtems/message.h>
    22 #include <rtems/object.h>
    23 #include <rtems/options.h>
    24 #include <rtems/states.h>
    25 #include <rtems/thread.h>
    26 #include <rtems/wkspace.h>
     21#include <rtems/core/isr.h>
     22#include <rtems/rtems/message.h>
     23#include <rtems/core/object.h>
     24#include <rtems/rtems/options.h>
     25#include <rtems/core/states.h>
     26#include <rtems/core/thread.h>
     27#include <rtems/core/wkspace.h>
    2728
    2829void _Message_queue_Manager_initialization(
     
    4041)
    4142{
    42   return( RTEMS_NOT_CONFIGURED );
     43  return RTEMS_NOT_CONFIGURED;
    4344}
    4445
     
    4950)
    5051{
    51   return( RTEMS_NOT_CONFIGURED );
     52  return RTEMS_NOT_CONFIGURED;
    5253}
    5354
     
    5657)
    5758{
    58   return( RTEMS_NOT_CONFIGURED );
     59  return RTEMS_NOT_CONFIGURED;
    5960}
    6061
     
    6566)
    6667{
    67   return( RTEMS_NOT_CONFIGURED );
     68  return RTEMS_NOT_CONFIGURED;
    6869}
    6970
     
    7475)
    7576{
    76   return( RTEMS_NOT_CONFIGURED );
     77  return RTEMS_NOT_CONFIGURED;
    7778}
    7879
     
    8485)
    8586{
    86   return( RTEMS_NOT_CONFIGURED );
     87  return RTEMS_NOT_CONFIGURED;
    8788}
    8889
     
    9596)
    9697{
    97   return( RTEMS_NOT_CONFIGURED );
     98  return RTEMS_NOT_CONFIGURED;
    9899}
    99100
     
    103104)
    104105{
    105   return( RTEMS_NOT_CONFIGURED );
     106  return RTEMS_NOT_CONFIGURED;
    106107}
    107108
     
    131132)
    132133{
    133   return( RTEMS_NOT_CONFIGURED );
     134  return RTEMS_NOT_CONFIGURED;
    134135}
  • c/src/optman/rtems/no-part.c

    r5072b07 r3a4ae6c  
    1515
    1616#include <rtems/system.h>
    17 #include <rtems/address.h>
     17#include <rtems/rtems/status.h>
     18#include <rtems/core/address.h>
    1819#include <rtems/config.h>
    19 #include <rtems/object.h>
    20 #include <rtems/part.h>
    21 #include <rtems/thread.h>
     20#include <rtems/core/object.h>
     21#include <rtems/rtems/part.h>
     22#include <rtems/core/thread.h>
    2223
    2324void _Partition_Manager_initialization(
     
    3637)
    3738{
    38   return( RTEMS_NOT_CONFIGURED );
     39  return RTEMS_NOT_CONFIGURED;
    3940}
    4041
     
    4546)
    4647{
    47   return( RTEMS_NOT_CONFIGURED );
     48  return RTEMS_NOT_CONFIGURED;
    4849}
    4950
     
    5253)
    5354{
    54   return( RTEMS_NOT_CONFIGURED );
     55  return RTEMS_NOT_CONFIGURED;
    5556}
    5657
     
    6061)
    6162{
    62   return( RTEMS_NOT_CONFIGURED );
     63  return RTEMS_NOT_CONFIGURED;
    6364}
    6465
     
    6869)
    6970{
    70   return( RTEMS_NOT_CONFIGURED );
     71  return RTEMS_NOT_CONFIGURED;
    7172}
  • c/src/optman/rtems/no-region.c

    r5072b07 r3a4ae6c  
    1515
    1616#include <rtems/system.h>
     17#include <rtems/rtems/status.h>
    1718#include <rtems/config.h>
    18 #include <rtems/object.h>
    19 #include <rtems/options.h>
    20 #include <rtems/region.h>
    21 #include <rtems/states.h>
    22 #include <rtems/thread.h>
     19#include <rtems/core/object.h>
     20#include <rtems/rtems/options.h>
     21#include <rtems/rtems/region.h>
     22#include <rtems/core/states.h>
     23#include <rtems/core/thread.h>
    2324
    2425void _Region_Manager_initialization(
     
    3738)
    3839{
    39   return( RTEMS_NOT_CONFIGURED );
     40  return RTEMS_NOT_CONFIGURED;
    4041}
    4142
     
    4546)
    4647{
    47   return( RTEMS_NOT_CONFIGURED );
     48  return RTEMS_NOT_CONFIGURED;
    4849}
    4950
     
    5253)
    5354{
    54   return( RTEMS_NOT_CONFIGURED );
     55  return RTEMS_NOT_CONFIGURED;
    5556}
    5657
     
    6364)
    6465{
    65   return( RTEMS_NOT_CONFIGURED );
     66  return RTEMS_NOT_CONFIGURED;
    6667}
    6768
     
    7273)
    7374{
    74   return( RTEMS_NOT_CONFIGURED );
     75  return RTEMS_NOT_CONFIGURED;
    7576}
    7677
     
    8081)
    8182{
    82   return( RTEMS_NOT_CONFIGURED );
     83  return RTEMS_NOT_CONFIGURED;
    8384}
  • c/src/optman/rtems/no-rtmon.c

    r5072b07 r3a4ae6c  
    1515
    1616#include <rtems/system.h>
    17 #include <rtems/isr.h>
    18 #include <rtems/object.h>
    19 #include <rtems/ratemon.h>
    20 #include <rtems/thread.h>
     17#include <rtems/rtems/status.h>
     18#include <rtems/core/isr.h>
     19#include <rtems/core/object.h>
     20#include <rtems/core/thread.h>
     21
     22#include <rtems/rtems/types.h>
     23#include <rtems/rtems/ratemon.h>
    2124
    2225void _Rate_monotonic_Manager_initialization(
     
    3134)
    3235{
    33   return( RTEMS_NOT_CONFIGURED );
     36  return RTEMS_NOT_CONFIGURED;
    3437}
    3538
     
    3942)
    4043{
    41   return( RTEMS_NOT_CONFIGURED );
     44  return RTEMS_NOT_CONFIGURED;
    4245}
    4346
     
    4649)
    4750{
    48   return( RTEMS_NOT_CONFIGURED );
     51  return RTEMS_NOT_CONFIGURED;
    4952}
    5053
     
    5356)
    5457{
    55   return( RTEMS_NOT_CONFIGURED );
     58  return RTEMS_NOT_CONFIGURED;
    5659}
    5760
     
    6164)
    6265{
    63   return( RTEMS_NOT_CONFIGURED );
     66  return RTEMS_NOT_CONFIGURED;
    6467}
    6568
  • c/src/optman/rtems/no-sem.c

    r5072b07 r3a4ae6c  
    1515
    1616#include <rtems/system.h>
    17 #include <rtems/attr.h>
     17#include <rtems/rtems/status.h>
     18#include <rtems/rtems/attr.h>
    1819#include <rtems/config.h>
    19 #include <rtems/isr.h>
    20 #include <rtems/object.h>
    21 #include <rtems/options.h>
    22 #include <rtems/sem.h>
    23 #include <rtems/states.h>
    24 #include <rtems/thread.h>
    25 #include <rtems/threadq.h>
     20#include <rtems/core/isr.h>
     21#include <rtems/core/object.h>
     22#include <rtems/rtems/options.h>
     23#include <rtems/rtems/sem.h>
     24#include <rtems/core/states.h>
     25#include <rtems/core/thread.h>
     26#include <rtems/core/threadq.h>
    2627
    2728void _Semaphore_Manager_initialization(
     
    3940)
    4041{
    41   return( RTEMS_NOT_CONFIGURED );
     42  return RTEMS_NOT_CONFIGURED;
    4243}
    4344
     
    4849)
    4950{
    50   return( RTEMS_NOT_CONFIGURED );
     51  return RTEMS_NOT_CONFIGURED;
    5152}
    5253
     
    5556)
    5657{
    57   return( RTEMS_NOT_CONFIGURED );
     58  return RTEMS_NOT_CONFIGURED;
    5859}
    5960
     
    6465)
    6566{
    66   return( RTEMS_NOT_CONFIGURED );
     67  return RTEMS_NOT_CONFIGURED;
    6768}
    6869
     
    7172)
    7273{
    73   return( RTEMS_NOT_CONFIGURED );
     74  return RTEMS_NOT_CONFIGURED;
    7475}
    7576
  • c/src/optman/rtems/no-signal.c

    r5072b07 r3a4ae6c  
    1515
    1616#include <rtems/system.h>
    17 #include <rtems/asr.h>
    18 #include <rtems/isr.h>
    19 #include <rtems/modes.h>
    20 #include <rtems/signal.h>
    21 #include <rtems/thread.h>
     17#include <rtems/rtems/status.h>
     18#include <rtems/core/isr.h>
     19#include <rtems/core/thread.h>
    2220
     21#include <rtems/rtems/asr.h>
     22#include <rtems/rtems/modes.h>
     23#include <rtems/rtems/signal.h>
     24
     25void _Signal_Manager_initialization( void )
     26{
     27}
     28 
    2329rtems_status_code rtems_signal_catch(
    2430  rtems_asr_entry   handler,
     
    2632)
    2733{
    28   return( RTEMS_NOT_CONFIGURED );
     34  return RTEMS_NOT_CONFIGURED;
    2935}
    3036
     
    3440)
    3541{
    36   return( RTEMS_NOT_CONFIGURED );
     42  return RTEMS_NOT_CONFIGURED;
    3743}
     44
     45/* end of file */
  • c/src/optman/rtems/no-timer.c

    r5072b07 r3a4ae6c  
    1515
    1616#include <rtems/system.h>
    17 #include <rtems/object.h>
    18 #include <rtems/thread.h>
    19 #include <rtems/timer.h>
    20 #include <rtems/tod.h>
    21 #include <rtems/watchdog.h>
     17#include <rtems/rtems/status.h>
     18#include <rtems/core/object.h>
     19#include <rtems/core/thread.h>
     20#include <rtems/core/tod.h>
     21#include <rtems/core/watchdog.h>
     22
     23#include <rtems/rtems/types.h>
     24#include <rtems/rtems/timer.h>
    2225
    2326void _Timer_Manager_initialization(
     
    3235)
    3336{
    34   return( RTEMS_NOT_CONFIGURED );
     37  return RTEMS_NOT_CONFIGURED;
    3538}
    3639
     
    4043)
    4144{
    42   return( RTEMS_NOT_CONFIGURED );
     45  return RTEMS_NOT_CONFIGURED;
    4346}
    4447
     
    4750)
    4851{
    49   return( RTEMS_NOT_CONFIGURED );
     52  return RTEMS_NOT_CONFIGURED;
    5053}
    5154
     
    5457)
    5558{
    56   return( RTEMS_NOT_CONFIGURED );
     59  return RTEMS_NOT_CONFIGURED;
    5760}
    5861
    5962rtems_status_code rtems_timer_fire_after(
    60   Objects_Id         id,
    61   rtems_interval  ticks,
    62   Timer_Service      routine,
    63   void              *user_data
     63  Objects_Id                         id,
     64  rtems_interval                     ticks,
     65  rtems_timer_service_routine_entry  routine,
     66  void                              *user_data
    6467)
    6568{
    66   return( RTEMS_NOT_CONFIGURED );
     69  return RTEMS_NOT_CONFIGURED;
    6770}
    6871
    6972rtems_status_code rtems_timer_fire_when(
    70   Objects_Id          id,
    71   rtems_time_of_day        *wall_time,
    72   Timer_Service       routine,
    73   void               *user_data
     73  Objects_Id                         id,
     74  rtems_time_of_day                 *wall_time,
     75  rtems_timer_service_routine_entry  routine,
     76  void                              *user_data
    7477)
    7578{
    76   return( RTEMS_NOT_CONFIGURED );
     79  return RTEMS_NOT_CONFIGURED;
    7780}
    7881
     
    8184)
    8285{
    83   return( RTEMS_NOT_CONFIGURED );
     86  return RTEMS_NOT_CONFIGURED;
    8487}
  • c/src/optman/sapi/no-ext.c

    r5072b07 r3a4ae6c  
    1515
    1616#include <rtems/system.h>
    17 #include <rtems/object.h>
    18 #include <rtems/thread.h>
     17#include <rtems/rtems/status.h>
     18#include <rtems/rtems/support.h>
     19#include <rtems/core/object.h>
     20#include <rtems/core/thread.h>
    1921#include <rtems/extension.h>
    2022
     
    2628
    2729rtems_status_code rtems_extension_create(
    28   rtems_name                     name,
     30  rtems_name              name,
    2931  rtems_extensions_table *extension_table,
    30   Objects_Id                    *id
     32  Objects_Id             *id
    3133)
    3234{
    33   return( RTEMS_NOT_CONFIGURED );
     35  return RTEMS_NOT_CONFIGURED;
    3436}
    3537
     
    3941)
    4042{
    41   return( RTEMS_NOT_CONFIGURED );
     43  return RTEMS_NOT_CONFIGURED;
    4244}
    4345
     
    4648)
    4749{
    48   return( RTEMS_NOT_CONFIGURED );
     50  return RTEMS_NOT_CONFIGURED;
    4951}
  • c/src/optman/sapi/no-io.c

    r5072b07 r3a4ae6c  
    1515
    1616#include <rtems/system.h>
     17#include <rtems/rtems/status.h>
    1718#include <rtems/config.h>
    1819#include <rtems/io.h>
    19 #include <rtems/isr.h>
    20 #include <rtems/thread.h>
     20#include <rtems/core/isr.h>
     21#include <rtems/core/thread.h>
    2122
    2223void _IO_Initialize_all_drivers( void )
     
    4748)
    4849{
    49   return( RTEMS_NOT_CONFIGURED );
     50  return RTEMS_NOT_CONFIGURED;
    5051}
    5152
     
    5657)
    5758{
    58   return( RTEMS_NOT_CONFIGURED );
     59  return RTEMS_NOT_CONFIGURED;
    5960}
    6061
     
    6566)
    6667{
    67   return( RTEMS_NOT_CONFIGURED );
     68  return RTEMS_NOT_CONFIGURED;
    6869}
    6970
     
    7475)
    7576{
    76   return( RTEMS_NOT_CONFIGURED );
     77  return RTEMS_NOT_CONFIGURED;
    7778}
    7879
     
    8384)
    8485{
    85   return( RTEMS_NOT_CONFIGURED );
     86  return RTEMS_NOT_CONFIGURED;
    8687}
    8788
     
    9293)
    9394{
    94   return( RTEMS_NOT_CONFIGURED );
     95  return RTEMS_NOT_CONFIGURED;
    9596}
Note: See TracChangeset for help on using the changeset viewer.