Changeset bd6ccad in rtems-docs


Ignore:
Timestamp:
10/06/22 11:13:04 (2 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
fe10830
Parents:
6ea95ab
git-author:
Sebastian Huber <sebastian.huber@…> (10/06/22 11:13:04)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/06/22 11:16:09)
Message:

c-user: Fix references

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c-user/config/intro.rst

    r6ea95ab rbd6ccad  
    279279largely unpredictable time in the field.
    280280
    281 .. index:: rtems_resource_unlimited
    282 
    283281.. _ConfigUnlimitedObjectsClass:
    284282
     
    288286When the number of objects is not known ahead of time, RTEMS provides an
    289287auto-extending mode that can be enabled individually for each object type by
    290 using the macro ``rtems_resource_unlimited``. This takes a value as a
     288using the macro :ref:`InterfaceRtemsResourceUnlimited`. This takes a value as a
    291289parameter, and is used to set the object maximum number field in an API
    292290Configuration table. The value is an allocation unit size. When RTEMS is
     
    296294RTEMS Workspace if at least half the allocation size of free objects remain
    297295allocated. RTEMS always keeps one allocation block of objects allocated. Here
    298 is an example of using ``rtems_resource_unlimited``:
     296is an example of using :c:func:`rtems_resource_unlimited`:
    299297
    300298.. code-block:: c
    301299
    302     #define CONFIGURE_MAXIMUM_TASKS rtems_resource_unlimited(5)
    303 
    304 .. index:: rtems_resource_is_unlimited
    305 .. index:: rtems_resource_maximum_per_allocation
     300    #define CONFIGURE_MAXIMUM_TASKS rtems_resource_unlimited( 5 )
    306301
    307302Object maximum specifications can be evaluated with the
    308 ``rtems_resource_is_unlimited`` and``rtems_resource_maximum_per_allocation``
    309 macros.
     303:ref:`InterfaceRtemsResourceIsUnlimited` and
     304:ref:`InterfaceRtemsResourceMaximumPerAllocation` macros.
    310305
    311306.. _ConfigUnlimitedObjectsDefault:
Note: See TracChangeset for help on using the changeset viewer.