Changeset 3a4ae6c in rtems for testsuites/sptests/spsize


Ignore:
Timestamp:
Sep 11, 1995, 7:35:39 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 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:
testsuites/sptests/spsize
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/spsize/init.c

    r5072b07 r3a4ae6c  
    2323 */
    2424
    25 #include "apps.h"
    26 #undef EXTERN
    27 #define EXTERN
    28 #include "conftbl.h"
    29 #include "gvar.h"
     25#define TEST_INIT
     26#include "system.h"
    3027
    3128rtems_task Test_task();
  • testsuites/sptests/spsize/size.c

    r5072b07 r3a4ae6c  
    1717#include <rtems/system.h>
    1818#include <rtems/config.h>
    19 #include <rtems/copyrt.h>
    20 #include <rtems/clock.h>
    21 #include <rtems/tasks.h>
    22 #include <rtems/dpmem.h>
    23 #include <rtems/event.h>
     19#include <rtems/directives.h>
     20#include <rtems/core/copyrt.h>
     21#include <rtems/rtems/clock.h>
     22#include <rtems/rtems/tasks.h>
     23#include <rtems/rtems/dpmem.h>
     24#include <rtems/rtems/event.h>
    2425#include <rtems/extension.h>
    2526#include <rtems/fatal.h>
    2627#include <rtems/init.h>
    27 #include <rtems/intthrd.h>
    28 #include <rtems/isr.h>
    29 #include <rtems/intr.h>
     28#include <rtems/core/intthrd.h>
     29#include <rtems/core/isr.h>
     30#include <rtems/rtems/intr.h>
    3031#include <rtems/io.h>
    31 #include <rtems/message.h>
    32 #include <rtems/mp.h>
    33 #include <rtems/mpci.h>
    34 #include <rtems/part.h>
    35 #include <rtems/priority.h>
    36 #include <rtems/ratemon.h>
    37 #include <rtems/region.h>
    38 #include <rtems/sem.h>
    39 #include <rtems/signal.h>
     32#include <rtems/rtems/message.h>
     33#include <rtems/rtems/mp.h>
     34#include <rtems/core/mpci.h>
     35#include <rtems/rtems/part.h>
     36#include <rtems/core/priority.h>
     37#include <rtems/rtems/ratemon.h>
     38#include <rtems/rtems/region.h>
     39#include <rtems/rtems/sem.h>
     40#include <rtems/rtems/signal.h>
    4041#include <rtems/sysstate.h>
    41 #include <rtems/thread.h>
    42 #include <rtems/timer.h>
    43 #include <rtems/tod.h>
    44 #include <rtems/userext.h>
    45 #include <rtems/wkspace.h>
    46 #include <rtems/mp.h>
     42#include <rtems/core/thread.h>
     43#include <rtems/rtems/timer.h>
     44#include <rtems/core/tod.h>
     45#include <rtems/core/userext.h>
     46#include <rtems/core/wkspace.h>
    4747
    4848#include <stdlib.h>
     
    204204/*config.h*/    (sizeof _Configuration_Table)             +
    205205                (sizeof _Configuration_MP_table)          +
    206                 (sizeof _Configuration_MPCI_table)        +
    207206
    208207/*context.h*/   (sizeof _Context_Switch_necessary)        +
     
    210209/*copyrt.h*/    0                                         +
    211210
     211/*debug.h*/     (sizeof _Debug_Level)                     +
     212
    212213/*dpmem.h*/     (sizeof _Dual_ported_memory_Information)  +
    213214
     
    226227/*init.h*/      0                                         +
    227228
     229/*interr.h*/    (sizeof Internal_errors_What_happened)    +
     230
    228231/*inthrdmp.h*/  0                                         +
    229232
    230233/*intr.h*/      0                                         +
    231234
    232 /*intthrd.h*/   (sizeof _Internal_threads_System_initialization_thread) +
     235/*intthrd.h*/   (sizeof _Internal_threads_Information)    +
     236                (sizeof _Internal_threads_System_initialization_thread) +
    233237                (sizeof _Internal_threads_Idle_thread)    +
    234                 (sizeof _Internal_threads_MP_Receive_server_entry)    +
     238                (sizeof _Internal_threads_Extensions)     +
    235239
    236240/*io.h*/        (sizeof _IO_Number_of_drivers)            +
    237241                (sizeof _IO_Driver_address_table)         +
     242                (sizeof _IO_Number_of_devices)            +
     243                (sizeof _IO_Driver_name_table)            +
    238244
    239245/*isr.h*/       (sizeof _ISR_Nest_level)                  +
     
    248254
    249255/*mpci.h*/      (sizeof _MPCI_Remote_blocked_threads)     +
     256                (sizeof _MPCI_Semaphore)                  +
     257                (sizeof _MPCI_table)                      +
     258                (sizeof _MPCI_Receive_server_tcb)         +
     259                (sizeof _MPCI_Packet_processors)          +
    250260
    251261/*mppkt.h*/     0                                         +
     
    256266
    257267/*object.h*/    (sizeof _Objects_Local_node)              +
    258 
    259 /*objectmp.h*/  (sizeof _Objects_MP_Inactive_global_objects) +
     268                (sizeof _Objects_Maximum_nodes)           +
     269                (sizeof _Objects_Information_table)       +
     270
     271/*objectmp.h*/  (sizeof _Objects_MP_Maximum_global_objects) +
     272                (sizeof _Objects_MP_Inactive_global_objects) +
    260273
    261274/*options.h*/   0                                         +
     
    290303/*status.h*/    0                                         +
    291304
     305/*sysstate.h*/  (sizeof _System_state_Is_multiprocessing) +
     306                (sizeof _System_state_Current)            +
     307
    292308/*system.h*/    (sizeof _CPU_Table)                       +
    293309
    294 /*sysstate.h*/  (sizeof _System_state_Current)            +
    295 
    296310/*taskmp.h*/    0                                         +
    297311
    298312/*tasks.h*/     (sizeof _RTEMS_tasks_Information)         +
    299 
    300 /*thread.h*/    (sizeof _Thread_Dispatch_disable_level)   +
     313                (sizeof _RTEMS_tasks_User_initialization_tasks) +
     314                (sizeof _RTEMS_tasks_Number_of_initialization_tasks) +
     315
     316/*thread.h*/    (sizeof _Thread_BSP_context)              +
     317                (sizeof _Thread_Dispatch_disable_level)   +
     318                (sizeof _Thread_Maximum_extensions)       +
    301319                (sizeof _Thread_Ticks_remaining_in_timeslice)   +
    302320                (sizeof _Thread_Ticks_per_timeslice)      +
     
    305323                (sizeof _Thread_Heir)                     +
    306324                (sizeof _Thread_Allocated_fp)             +
    307                 (sizeof _Thread_BSP_context)              +
    308325
    309326/*threadmp.h*/  (sizeof _Thread_MP_Receive)               +
     
    311328                (sizeof _Thread_MP_Inactive_proxies)      +
    312329
    313 /*threadq.h*/   0                                         +
     330/*threadq.h*/   (sizeof _Thread_queue_Extract_table)      +
    314331
    315332/*timer.h*/     (sizeof _Timer_Information)               +
     
    329346                (sizeof _User_extensions_List)            +
    330347
    331 /*watchdog.h*/  (sizeof _Watchdog_Ticks_chain)            +
     348/*watchdog.h*/  (sizeof _Watchdog_Sync_level)             +
     349                (sizeof _Watchdog_Sync_count)             +
     350                (sizeof _Watchdog_Ticks_chain)            +
    332351                (sizeof _Watchdog_Seconds_chain)          +
    333                 (sizeof _Watchdog_Sync_count)             +
    334                 (sizeof _Watchdog_Sync_level)             +
    335352
    336353/*wkspace.h*/   (sizeof _Workspace_Area);
     
    384401#endif
    385402
     403#ifdef ppc
     404
     405/* cpu.h */
     406uninitialized += (sizeof _CPU_Interrupt_stack_low) +
     407                 (sizeof _CPU_Interrupt_stack_high) +
     408                 (sizeof _CPU_IRQ_info);
     409
     410#endif
     411
    386412initialized +=
    387413/*copyrt.h*/    (strlen(_Copyright_Notice)+1)             +
    388414
    389 /*sptables.h*/  (sizeof _Configuration_Default_multiprocessing_table)  +
     415/*sptables.h*/  (sizeof _Initialization_Default_multiprocessing_table)  +
    390416                (strlen(_RTEMS_version)+1)      +
    391417                (sizeof _Entry_points)          +
Note: See TracChangeset for help on using the changeset viewer.