Changeset 3a4ae6c in rtems for testsuites/tmtests/tm21


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:
testsuites/tmtests/tm21
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/tmtests/tm21/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2026#include <timesys.h>
    21 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_TASKS              102
     36#define CONFIGURE_MAXIMUM_TIMERS             100
     37#define CONFIGURE_MAXIMUM_SEMAPHORES         100
     38#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     100
     39#define CONFIGURE_MAXIMUM_PARTITIONS         100
     40#define CONFIGURE_MAXIMUM_REGIONS            100
     41#define CONFIGURE_MAXIMUM_PORTS              100
     42#define CONFIGURE_MAXIMUM_PERIODS            100
     43
     44#define CONFIGURE_TICKS_PER_TIMESLICE        0
     45 
     46#include <confdefs.h>
     47
     48/* end of include file */
  • testsuites/tmtests/tm21/task1.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include "system.h"
    15 #undef EXTERN
    16 #define EXTERN
    17 #include "conftbl.h"
    18 #include "gvar.h"
    1916
    2017rtems_unsigned8 Region_area[ 2048 ] CPU_STRUCTURE_ALIGNMENT;
     
    3128  rtems_id          id;
    3229  rtems_status_code status;
     30
     31  Print_Warning();
    3332
    3433  puts( "\n\n*** TIME TEST 21 ***" );
     
    233232  );
    234233
     234  puts( "*** END OF TEST 21 ***" );
    235235  exit( 0 );
    236236}
Note: See TracChangeset for help on using the changeset viewer.