Changeset 3a4ae6c in rtems for c/src/optman/rtems/no-mp.c


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/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 */
Note: See TracChangeset for help on using the changeset viewer.