Changeset b61e6e1 in rtems


Ignore:
Timestamp:
Aug 4, 1997, 9:43:36 PM (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
9b024884
Parents:
7510f18c
Message:

Added GNAT configuration parameters.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/sapi/headers/confdefs.h

    r7510f18c rb61e6e1  
    428428#endif
    429429
     430#ifdef CONFIGURE_GNAT_RTEMS
     431#define CONFIGURE_GNAT_MUTEXES 10
     432
     433/* 20 are required to run all tests in the ACVC */
     434#ifndef CONFIGURE_MAXIMUM_ADA_TASKS
     435#define CONFIGURE_MAXIMUM_ADA_TASKS  20
     436#endif
     437
     438#else
     439#define CONFIGURE_GNAT_MUTEXES 0
     440#define CONFIGURE_MAXIMUM_ADA_TASKS 0
     441#endif
     442
     443
    430444#ifdef CONFIGURE_INIT
    431445
     
    445459#ifdef RTEMS_POSIX_API
    446460posix_api_configuration_table Configuration_POSIX_API = {
    447   CONFIGURE_MAXIMUM_POSIX_THREADS,
    448   CONFIGURE_MAXIMUM_POSIX_MUTEXES,
    449   CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES,
    450   CONFIGURE_MAXIMUM_POSIX_KEYS,
     461  CONFIGURE_MAXIMUM_POSIX_THREADS + CONFIGURE_MAXIMUM_ADA_TASKS,
     462  CONFIGURE_MAXIMUM_POSIX_MUTEXES + CONFIGURE_MAXIMUM_ADA_TASKS +
     463     CONFIGURE_GNAT_MUTEXES,
     464  CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES + CONFIGURE_MAXIMUM_ADA_TASKS,
     465  CONFIGURE_MAXIMUM_POSIX_KEYS + CONFIGURE_MAXIMUM_ADA_TASKS,
    451466  CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS,
    452467  CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE,
  • c/src/exec/sapi/include/confdefs.h

    r7510f18c rb61e6e1  
    428428#endif
    429429
     430#ifdef CONFIGURE_GNAT_RTEMS
     431#define CONFIGURE_GNAT_MUTEXES 10
     432
     433/* 20 are required to run all tests in the ACVC */
     434#ifndef CONFIGURE_MAXIMUM_ADA_TASKS
     435#define CONFIGURE_MAXIMUM_ADA_TASKS  20
     436#endif
     437
     438#else
     439#define CONFIGURE_GNAT_MUTEXES 0
     440#define CONFIGURE_MAXIMUM_ADA_TASKS 0
     441#endif
     442
     443
    430444#ifdef CONFIGURE_INIT
    431445
     
    445459#ifdef RTEMS_POSIX_API
    446460posix_api_configuration_table Configuration_POSIX_API = {
    447   CONFIGURE_MAXIMUM_POSIX_THREADS,
    448   CONFIGURE_MAXIMUM_POSIX_MUTEXES,
    449   CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES,
    450   CONFIGURE_MAXIMUM_POSIX_KEYS,
     461  CONFIGURE_MAXIMUM_POSIX_THREADS + CONFIGURE_MAXIMUM_ADA_TASKS,
     462  CONFIGURE_MAXIMUM_POSIX_MUTEXES + CONFIGURE_MAXIMUM_ADA_TASKS +
     463     CONFIGURE_GNAT_MUTEXES,
     464  CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES + CONFIGURE_MAXIMUM_ADA_TASKS,
     465  CONFIGURE_MAXIMUM_POSIX_KEYS + CONFIGURE_MAXIMUM_ADA_TASKS,
    451466  CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS,
    452467  CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE,
  • cpukit/sapi/include/confdefs.h

    r7510f18c rb61e6e1  
    428428#endif
    429429
     430#ifdef CONFIGURE_GNAT_RTEMS
     431#define CONFIGURE_GNAT_MUTEXES 10
     432
     433/* 20 are required to run all tests in the ACVC */
     434#ifndef CONFIGURE_MAXIMUM_ADA_TASKS
     435#define CONFIGURE_MAXIMUM_ADA_TASKS  20
     436#endif
     437
     438#else
     439#define CONFIGURE_GNAT_MUTEXES 0
     440#define CONFIGURE_MAXIMUM_ADA_TASKS 0
     441#endif
     442
     443
    430444#ifdef CONFIGURE_INIT
    431445
     
    445459#ifdef RTEMS_POSIX_API
    446460posix_api_configuration_table Configuration_POSIX_API = {
    447   CONFIGURE_MAXIMUM_POSIX_THREADS,
    448   CONFIGURE_MAXIMUM_POSIX_MUTEXES,
    449   CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES,
    450   CONFIGURE_MAXIMUM_POSIX_KEYS,
     461  CONFIGURE_MAXIMUM_POSIX_THREADS + CONFIGURE_MAXIMUM_ADA_TASKS,
     462  CONFIGURE_MAXIMUM_POSIX_MUTEXES + CONFIGURE_MAXIMUM_ADA_TASKS +
     463     CONFIGURE_GNAT_MUTEXES,
     464  CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES + CONFIGURE_MAXIMUM_ADA_TASKS,
     465  CONFIGURE_MAXIMUM_POSIX_KEYS + CONFIGURE_MAXIMUM_ADA_TASKS,
    451466  CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS,
    452467  CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE,
Note: See TracChangeset for help on using the changeset viewer.