Changeset 7571a23 in rtems


Ignore:
Timestamp:
Jan 27, 2013, 2:10:39 PM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
9a2ead0
Parents:
68f36d14
git-author:
Sebastian Huber <sebastian.huber@…> (01/27/13 14:10:39)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/12/13 08:31:27)
Message:

sapi: PR1911: Add CONFIGURE_DISABLE_BSP_SETTINGS

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/dummy/dummy.c

    r68f36d14 r7571a23  
    3131#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
    3232
     33#define CONFIGURE_DISABLE_BSP_SETTINGS
     34
    3335#define CONFIGURE_INIT
    3436
  • cpukit/sapi/include/confdefs.h

    r68f36d14 r7571a23  
    4747#include <rtems/score/apimutex.h>
    4848#include <rtems/score/wkspace.h>
     49
     50#ifdef CONFIGURE_DISABLE_BSP_SETTINGS
     51  #undef BSP_DEFAULT_UNIFIED_WORK_AREAS
     52  #undef BSP_IDLE_TASK_BODY
     53  #undef BSP_IDLE_TASK_STACK_SIZE
     54  #undef BSP_INITIAL_EXTENSION
     55  #undef BSP_INTERRUPT_STACK_SIZE
     56  #undef BSP_MAXIMUM_DEVICES
     57  #undef BSP_ZERO_WORKSPACE_AUTOMATICALLY
     58  #undef CONFIGURE_BSP_PREREQUISITE_DRIVERS
     59  #undef CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
     60#else
     61  #include <bsp.h>
     62#endif
    4963
    5064#ifdef __cplusplus
  • doc/user/conf.t

    r68f36d14 r7571a23  
    354354NOTE: The required size of the Executive RAM Work Area is calculated
    355355automatically when using the @code{rtems/confdefs.h} mechanism.
     356
     357@subsection BSP Specific Settings
     358
     359This section describes BSP specific configuration settings used by
     360@code{<rtems/confdefs.h>}.  The BSP specific configuration settings are defined
     361in @code{<bsp.h>}.
     362
     363@itemize @bullet
     364
     365@findex BSP_DEFAULT_UNIFIED_WORK_AREAS
     366@item If @code{BSP_DEFAULT_UNIFIED_WORK_AREAS} is defined by the BSP and
     367@code{CONFIGURE_UNIFIED_WORK_AREAS} is not defined by the application, then
     368unified work areas will be used.
     369
     370@findex BSP_IDLE_TASK_BODY
     371@item If @code{BSP_IDLE_TASK_BODY} is defined by the BSP and
     372@code{CONFIGURE_IDLE_TASK_BODY} is not defined by the application, then
     373this BSP specific idle task body will be used.
     374
     375@findex BSP_IDLE_TASK_STACK_SIZE
     376@item If @code{BSP_IDLE_TASK_STACK_SIZE} is defined by the BSP and
     377@code{CONFIGURE_IDLE_TASK_STACK_SIZE} is not defined by the application, then
     378this BSP specific idle task stack size will be used.
     379
     380@findex BSP_INITIAL_EXTENSION
     381@item If @code{BSP_INITIAL_EXTENSION} is defined by the BSP, then this BSP
     382specific initial extension will be placed as the last entry in the initial
     383extension table.
     384
     385@findex BSP_INTERRUPT_STACK_SIZE
     386@item If @code{BSP_INTERRUPT_STACK_SIZE} is defined by the BSP and
     387@code{CONFIGURE_INTERRUPT_STACK_SIZE} is not defined by the application, then
     388this BSP specific interrupt stack size will be used.
     389
     390@findex BSP_MAXIMUM_DEVICES
     391@item If @code{BSP_MAXIMUM_DEVICES} is defined by the BSP and
     392@code{CONFIGURE_MAXIMUM_DEVICES} is not defined by the application, then
     393this BSP specific maximum device count will be used.  This option is specific
     394to the device file system (devfs) and should not be confused with the
     395@code{CONFIGURE_MAXIMUM_DRIVERS} option.
     396
     397@findex BSP_ZERO_WORKSPACE_AUTOMATICALLY
     398@item If @code{BSP_ZERO_WORKSPACE_AUTOMATICALLY} is defined by the BSP and
     399@code{CONFIGURE_ZERO_WORKSPACE_AUTOMATICALLY} is not defined by the
     400application, then the workspace will be zeroed automatically.
     401
     402@findex CONFIGURE_BSP_PREREQUISITE_DRIVERS
     403@item If @code{CONFIGURE_BSP_PREREQUISITE_DRIVERS} is defined by the BSP, then
     404these BSP specific drivers will be placed as the first entries in the drivers
     405table.  The application specific prerequisite drivers are placed after the BSP
     406specific drivers.
     407
     408@findex CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
     409@item @code{CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK} is defined by the BSP to
     410indicate that it does not allocate all available memory to the C Program Heap
     411used by the Malloc Family of routines.  If defined, when @code{malloc()} is
     412unable to allocate memory, it will call the BSP supplied @code{sbrk()} to
     413obtain more memory.
     414
     415@end itemize
     416
     417All BSP specific configuration settings can be disabled by the application with
     418the @code{CONFIGURE_DISABLE_BSP_SETTINGS} option.
    356419
    357420@c
Note: See TracChangeset for help on using the changeset viewer.