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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [compat/] [uitron/] [current/] [cdl/] [mempoolvar.cdl] - Blame information for rev 786

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
# ====================================================================
2
#
3
#      mempoolvar.cdl
4
#
5
#      uITRON variable memory pool related configuration data
6
#
7
# ====================================================================
8
## ####ECOSGPLCOPYRIGHTBEGIN####
9
## -------------------------------------------
10
## This file is part of eCos, the Embedded Configurable Operating System.
11
## Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
12
##
13
## eCos is free software; you can redistribute it and/or modify it under
14
## the terms of the GNU General Public License as published by the Free
15
## Software Foundation; either version 2 or (at your option) any later
16
## version.
17
##
18
## eCos is distributed in the hope that it will be useful, but WITHOUT
19
## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20
## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
21
## for more details.
22
##
23
## You should have received a copy of the GNU General Public License
24
## along with eCos; if not, write to the Free Software Foundation, Inc.,
25
## 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
26
##
27
## As a special exception, if other files instantiate templates or use
28
## macros or inline functions from this file, or you compile this file
29
## and link it with other works to produce a work based on this file,
30
## this file does not by itself cause the resulting work to be covered by
31
## the GNU General Public License. However the source code for this file
32
## must still be made available in accordance with section (3) of the GNU
33
## General Public License v2.
34
##
35
## This exception does not invalidate any other reasons why a work based
36
## on this file might be covered by the GNU General Public License.
37
## -------------------------------------------
38
## ####ECOSGPLCOPYRIGHTEND####
39
# ====================================================================
40
######DESCRIPTIONBEGIN####
41
#
42
# Author(s):      jskov
43
# Original data:  hmt
44
# Contributors:
45
# Date:           1999-07-07
46
#
47
#####DESCRIPTIONEND####
48
#
49
# ====================================================================
50
 
51
cdl_option CYGNUM_UITRON_MEMPOOLVAR {
52
    display       "Number of variable-size memory pools"
53
    flavor        data
54
    legal_values  1 to 65535
55
    default_value 3
56
    description   "
57
        The number of uITRON Variable-Size Memorypools present in the system.
58
        Valid Variable-Size Memorypool IDs will range from 1 to this value."
59
}
60
cdl_component CYGPKG_UITRON_MEMPOOLVAR_CREATE_DELETE {
61
    display       "Support create and delete"
62
    flavor        bool
63
    default_value 1
64
    active_if     (0 < CYGNUM_UITRON_MEMPOOLVAR)
65
    description   "
66
        Support variable-size memory pool create and delete operations
67
        (cre_mpl, del_mpl). Otherwise all variable-size mempools are created,
68
        up to the number specified above."
69
 
70
    cdl_option CYGNUM_UITRON_MEMPOOLVAR_INITIALLY {
71
        display       "Number of variable-size mempools created initially"
72
        flavor        data
73
        legal_values  0 to 65535
74
        default_value 3
75
        description   "
76
            The number of variable-size mempools initially created.
77
            This number should not be more than the number
78
            of variable mempools in the system, though setting
79
            it to a large value to mean 'all' is acceptable.
80
            Initially, only variable mempools numbered from
81
            1 to this number exist;
82
            higher numbered ones must be created before use.
83
            All mempools must be initialized to tell
84
            the system what memory to use for each pool."
85
    }
86
}
87
cdl_option CYGDAT_UITRON_MEMPOOLVAR_EXTERNS {
88
    display       "Externs for initialization"
89
    flavor        data
90
    default_value {"static char vpool1[ 2000 ], \\\n\
91
                                vpool2[ 2000 ], \\\n\
92
                                vpool3[ 2000 ];"}
93
    description   "
94
        Variable mempool initializers may refer to external
95
        objects such as memory for the pool to manage.
96
        Use this option to define or declare any external
97
        objects needed by the pool's static initializer below.
98
        Example: create some memory for a mempool using
99
        'static char vpool1\[2000\];'
100
        to set up a chunk of memory of 2000 bytes.
101
        Note: this option is invoked in the 'outermost' context
102
        of C++ source, where global/static objects are created;
103
        it should contain valid, self-contained, C++ source."
104
}
105
cdl_option CYGDAT_UITRON_MEMPOOLVAR_INITIALIZERS {
106
    display       "Static initializers"
107
    flavor        data
108
    default_value {"CYG_UIT_MEMPOOLVAR( vpool1, 2000 ), \\\n\
109
                    CYG_UIT_MEMPOOLVAR( vpool2, 2000 ), \\\n\
110
                    CYG_UIT_MEMPOOLVAR( vpool3, 2000 ),"}
111
    description   "
112
        Variable block memory pools should be statically
113
        initialized: enter a list of initializers
114
        separated by commas, one per line.
115
        An initializer is
116
        'CYG_UIT_MEMPOOLVAR(ADDR,SIZE)'
117
        where addr is the address of memory to manage, and
118
        size is the total size of that memory.
119
        If create and delete operations are supported,
120
        initializers of the form
121
        'CYG_UIT_MEMPOOLVAR_NOEXS(ADDR,SIZE)' should be
122
        used for pools which are not initially created, to tell
123
        the system what memory to use for each pool.
124
        Note: this option is invoked in the context of a
125
        C++ array initializer, between curly brackets.
126
        Ensure that the number of initializers here exactly
127
        matches the total number of variable pools specified."
128
}

powered by: WebSVN 2.1.0

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