OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [compat/] [uitron/] [v2_0/] [cdl/] [mempoolvar.cdl] - Diff between revs 27 and 174

Only display areas with differences | Details | Blame | View Log

Rev 27 Rev 174
# ====================================================================
# ====================================================================
#
#
#      mempoolvar.cdl
#      mempoolvar.cdl
#
#
#      uITRON variable memory pool related configuration data
#      uITRON variable memory pool related configuration data
#
#
# ====================================================================
# ====================================================================
#####ECOSGPLCOPYRIGHTBEGIN####
#####ECOSGPLCOPYRIGHTBEGIN####
## -------------------------------------------
## -------------------------------------------
## This file is part of eCos, the Embedded Configurable Operating System.
## This file is part of eCos, the Embedded Configurable Operating System.
## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
##
##
## eCos is free software; you can redistribute it and/or modify it under
## eCos is free software; you can redistribute it and/or modify it under
## the terms of the GNU General Public License as published by the Free
## the terms of the GNU General Public License as published by the Free
## Software Foundation; either version 2 or (at your option) any later version.
## Software Foundation; either version 2 or (at your option) any later version.
##
##
## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
## WARRANTY; without even the implied warranty of MERCHANTABILITY or
## WARRANTY; without even the implied warranty of MERCHANTABILITY or
## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
## for more details.
## for more details.
##
##
## You should have received a copy of the GNU General Public License along
## You should have received a copy of the GNU General Public License along
## with eCos; if not, write to the Free Software Foundation, Inc.,
## with eCos; if not, write to the Free Software Foundation, Inc.,
## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
##
##
## As a special exception, if other files instantiate templates or use macros
## As a special exception, if other files instantiate templates or use macros
## or inline functions from this file, or you compile this file and link it
## or inline functions from this file, or you compile this file and link it
## with other works to produce a work based on this file, this file does not
## with other works to produce a work based on this file, this file does not
## by itself cause the resulting work to be covered by the GNU General Public
## by itself cause the resulting work to be covered by the GNU General Public
## License. However the source code for this file must still be made available
## License. However the source code for this file must still be made available
## in accordance with section (3) of the GNU General Public License.
## in accordance with section (3) of the GNU General Public License.
##
##
## This exception does not invalidate any other reasons why a work based on
## This exception does not invalidate any other reasons why a work based on
## this file might be covered by the GNU General Public License.
## this file might be covered by the GNU General Public License.
##
##
## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
## at http://sources.redhat.com/ecos/ecos-license/
## at http://sources.redhat.com/ecos/ecos-license/
## -------------------------------------------
## -------------------------------------------
#####ECOSGPLCOPYRIGHTEND####
#####ECOSGPLCOPYRIGHTEND####
# ====================================================================
# ====================================================================
######DESCRIPTIONBEGIN####
######DESCRIPTIONBEGIN####
#
#
# Author(s):      jskov
# Author(s):      jskov
# Original data:  hmt
# Original data:  hmt
# Contributors:
# Contributors:
# Date:           1999-07-07
# Date:           1999-07-07
#
#
#####DESCRIPTIONEND####
#####DESCRIPTIONEND####
#
#
# ====================================================================
# ====================================================================
cdl_option CYGNUM_UITRON_MEMPOOLVAR {
cdl_option CYGNUM_UITRON_MEMPOOLVAR {
    display       "Number of variable-size memory pools"
    display       "Number of variable-size memory pools"
    flavor        data
    flavor        data
    legal_values  1 to 65535
    legal_values  1 to 65535
    default_value 3
    default_value 3
    description   "
    description   "
        The number of uITRON Variable-Size Memorypools present in the system.
        The number of uITRON Variable-Size Memorypools present in the system.
        Valid Variable-Size Memorypool IDs will range from 1 to this value."
        Valid Variable-Size Memorypool IDs will range from 1 to this value."
}
}
cdl_component CYGPKG_UITRON_MEMPOOLVAR_CREATE_DELETE {
cdl_component CYGPKG_UITRON_MEMPOOLVAR_CREATE_DELETE {
    display       "Support create and delete"
    display       "Support create and delete"
    flavor        bool
    flavor        bool
    default_value 1
    default_value 1
    active_if     (0 < CYGNUM_UITRON_MEMPOOLVAR)
    active_if     (0 < CYGNUM_UITRON_MEMPOOLVAR)
    description   "
    description   "
        Support variable-size memory pool create and delete operations
        Support variable-size memory pool create and delete operations
        (cre_mpl, del_mpl). Otherwise all variable-size mempools are created,
        (cre_mpl, del_mpl). Otherwise all variable-size mempools are created,
        up to the number specified above."
        up to the number specified above."
    cdl_option CYGNUM_UITRON_MEMPOOLVAR_INITIALLY {
    cdl_option CYGNUM_UITRON_MEMPOOLVAR_INITIALLY {
        display       "Number of variable-size mempools created initially"
        display       "Number of variable-size mempools created initially"
        flavor        data
        flavor        data
        legal_values  0 to 65535
        legal_values  0 to 65535
        default_value 3
        default_value 3
        description   "
        description   "
            The number of variable-size mempools initially created.
            The number of variable-size mempools initially created.
            This number should not be more than the number
            This number should not be more than the number
            of variable mempools in the system, though setting
            of variable mempools in the system, though setting
            it to a large value to mean 'all' is acceptable.
            it to a large value to mean 'all' is acceptable.
            Initially, only variable mempools numbered from
            Initially, only variable mempools numbered from
            1 to this number exist;
            1 to this number exist;
            higher numbered ones must be created before use.
            higher numbered ones must be created before use.
            All mempools must be initialized to tell
            All mempools must be initialized to tell
            the system what memory to use for each pool."
            the system what memory to use for each pool."
    }
    }
}
}
cdl_option CYGDAT_UITRON_MEMPOOLVAR_EXTERNS {
cdl_option CYGDAT_UITRON_MEMPOOLVAR_EXTERNS {
    display       "Externs for initialization"
    display       "Externs for initialization"
    flavor        data
    flavor        data
    default_value {"static char vpool1[ 2000 ], \\\n\
    default_value {"static char vpool1[ 2000 ], \\\n\
                                vpool2[ 2000 ], \\\n\
                                vpool2[ 2000 ], \\\n\
                                vpool3[ 2000 ];"}
                                vpool3[ 2000 ];"}
    description   "
    description   "
        Variable mempool initializers may refer to external
        Variable mempool initializers may refer to external
        objects such as memory for the pool to manage.
        objects such as memory for the pool to manage.
        Use this option to define or declare any external
        Use this option to define or declare any external
        objects needed by the pool's static initializer below.
        objects needed by the pool's static initializer below.
        Example: create some memory for a mempool using
        Example: create some memory for a mempool using
        'static char vpool1\[2000\];'
        'static char vpool1\[2000\];'
        to set up a chunk of memory of 2000 bytes.
        to set up a chunk of memory of 2000 bytes.
        Note: this option is invoked in the 'outermost' context
        Note: this option is invoked in the 'outermost' context
        of C++ source, where global/static objects are created;
        of C++ source, where global/static objects are created;
        it should contain valid, self-contained, C++ source."
        it should contain valid, self-contained, C++ source."
}
}
cdl_option CYGDAT_UITRON_MEMPOOLVAR_INITIALIZERS {
cdl_option CYGDAT_UITRON_MEMPOOLVAR_INITIALIZERS {
    display       "Static initializers"
    display       "Static initializers"
    flavor        data
    flavor        data
    default_value {"CYG_UIT_MEMPOOLVAR( vpool1, 2000 ), \\\n\
    default_value {"CYG_UIT_MEMPOOLVAR( vpool1, 2000 ), \\\n\
                    CYG_UIT_MEMPOOLVAR( vpool2, 2000 ), \\\n\
                    CYG_UIT_MEMPOOLVAR( vpool2, 2000 ), \\\n\
                    CYG_UIT_MEMPOOLVAR( vpool3, 2000 ),"}
                    CYG_UIT_MEMPOOLVAR( vpool3, 2000 ),"}
    description   "
    description   "
        Variable block memory pools should be statically
        Variable block memory pools should be statically
        initialized: enter a list of initializers
        initialized: enter a list of initializers
        separated by commas, one per line.
        separated by commas, one per line.
        An initializer is
        An initializer is
        'CYG_UIT_MEMPOOLVAR(ADDR,SIZE)'
        'CYG_UIT_MEMPOOLVAR(ADDR,SIZE)'
        where addr is the address of memory to manage, and
        where addr is the address of memory to manage, and
        size is the total size of that memory.
        size is the total size of that memory.
        If create and delete operations are supported,
        If create and delete operations are supported,
        initializers of the form
        initializers of the form
        'CYG_UIT_MEMPOOLVAR_NOEXS(ADDR,SIZE)' should be
        'CYG_UIT_MEMPOOLVAR_NOEXS(ADDR,SIZE)' should be
        used for pools which are not initially created, to tell
        used for pools which are not initially created, to tell
        the system what memory to use for each pool.
        the system what memory to use for each pool.
        Note: this option is invoked in the context of a
        Note: this option is invoked in the context of a
        C++ array initializer, between curly brackets.
        C++ array initializer, between curly brackets.
        Ensure that the number of initializers here exactly
        Ensure that the number of initializers here exactly
        matches the total number of variable pools specified."
        matches the total number of variable pools specified."
}
}
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.