OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [compat/] [uitron/] [v2_0/] [cdl/] [semas.cdl] - Blame information for rev 174

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 27 unneback
# ====================================================================
2
#
3
#      semas.cdl
4
#
5
#      uITRON semaphore 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 Red Hat, 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 version.
16
##
17
## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
18
## WARRANTY; without even the implied warranty of MERCHANTABILITY or
19
## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
20
## for more details.
21
##
22
## You should have received a copy of the GNU General Public License along
23
## with eCos; if not, write to the Free Software Foundation, Inc.,
24
## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
25
##
26
## As a special exception, if other files instantiate templates or use macros
27
## or inline functions from this file, or you compile this file and link it
28
## with other works to produce a work based on this file, this file does not
29
## by itself cause the resulting work to be covered by the GNU General Public
30
## License. However the source code for this file must still be made available
31
## in accordance with section (3) of the GNU General Public License.
32
##
33
## This exception does not invalidate any other reasons why a work based on
34
## this file might be covered by the GNU General Public License.
35
##
36
## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
37
## at http://sources.redhat.com/ecos/ecos-license/
38
## -------------------------------------------
39
#####ECOSGPLCOPYRIGHTEND####
40
# ====================================================================
41
######DESCRIPTIONBEGIN####
42
#
43
# Author(s):      jskov
44
# Original data:  hmt
45
# Contributors:
46
# Date:           1999-07-07
47
#
48
#####DESCRIPTIONEND####
49
#
50
# ====================================================================
51
 
52
cdl_option CYGNUM_UITRON_SEMAS {
53
    display       "Number of semaphores"
54
    flavor        data
55
    legal_values  1 to 65535
56
    default_value 3
57
    description   "
58
        The number of uITRON semaphores present in the system.
59
        Valid semaphore object IDs will range from 1 to this value."
60
}
61
cdl_component CYGPKG_UITRON_SEMAS_CREATE_DELETE {
62
    display       "Support create and delete"
63
    flavor        bool
64
    default_value 1
65
    description   "
66
        Support semaphore create and delete operations (cre_sem, del_sem).
67
        Otherwise all semaphores are created, up to the number specified
68
        above."
69
 
70
    cdl_option CYGNUM_UITRON_SEMAS_INITIALLY {
71
        display       "Number of semaphores created initially"
72
        flavor        data
73
        legal_values  0 to 65535
74
        default_value 3
75
        description   "
76
            The number of uITRON semaphores initially created.
77
            This number should not be more than the number
78
            of semaphores in the system, though setting it to a large
79
            value to mean 'all' is acceptable.
80
            Initially, only semaphores numbered 1 to this number exist;
81
            higher numbered ones must be created before use.
82
            It is only useful to initialize semaphores up to this number;
83
            higher numbered ones must be created in order to use them,
84
            and so they will be re-initialized."
85
    }
86
}
87
cdl_component CYGPKG_UITRON_SEMAS_ARE_INITIALIZED {
88
    display       "Initialize semaphore counts"
89
    flavor        bool
90
    default_value 0
91
    description   "
92
        Initialize semaphores to specific count values.
93
        Otherwise semaphores are initialized with the count
94
        set to zero."
95
 
96
    cdl_option CYGDAT_UITRON_SEMA_INITIALIZERS {
97
        display       "Static initializers"
98
        parent        CYGPKG_UITRON_SEMAS_ARE_INITIALIZED
99
        flavor        data
100
        default_value {"CYG_UIT_SEMA(  0 ),\
101
                        CYG_UIT_SEMA(  0 ),\
102
                        CYG_UIT_SEMA(  0 )"}
103
        description   "
104
            A list of initializers separated by commas,
105
            one per line.
106
            An initializer is 'CYG_UIT_SEMA(INITIAL-COUNT)'
107
            or 'CYG_UIT_SEMA_NOEXS' for slots above the number
108
            initially to be created, when create and delete
109
            operations are supported.
110
            Note: this option is invoked in the context of a
111
            C++ array initializer, between curly brackets.
112
            Ensure that the number of initializers here exactly
113
            matches the total number of semaphores specified."
114
    }
115
}

powered by: WebSVN 2.1.0

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