xref: /titanic_41/usr/src/lib/libpool/dtd/rm_pool.dtd.1 (revision a6d42e7d71324c5193c3b94d57d96ba2925d52e1)
1<?xml version='1.0' encoding='UTF-8' ?>
2
3<!--
4 Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
5 Use is subject to license terms.
6
7 CDDL HEADER START
8
9 The contents of this file are subject to the terms of the
10 Common Development and Distribution License, Version 1.0 only
11 (the "License").  You may not use this file except in compliance
12 with the License.
13
14 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15 or http://www.opensolaris.org/os/licensing.
16 See the License for the specific language governing permissions
17 and limitations under the License.
18
19 When distributing Covered Code, include this CDDL HEADER in each
20 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
21 If applicable, add the following below this CDDL HEADER, with the
22 fields enclosed by brackets "[]" replaced with your own identifying
23 information: Portions Copyright [yyyy] [name of copyright owner]
24
25 CDDL HEADER END
26
27    ident	"%Z%%M%	%I%	%E% SMI"
28-->
29
30<!--Entity Definitions-->
31
32<!ENTITY % dynamic_doc "INCLUDE">
33
34<!ENTITY % static_doc "IGNORE">
35
36<![ %dynamic_doc; [
37<!ENTITY % core		"comment	CDATA #IMPLIED
38			ref_id		ID #REQUIRED">
39]]>
40
41<![ %static_doc; [
42<!ENTITY % core   	"comment	CDATA #IMPLIED
43                    	ref_id		ID #REQUIRED">
44]]>
45
46<!ENTITY % min_max 	"min		CDATA #REQUIRED
47                    	max		CDATA #REQUIRED">
48
49<!--Element Definitions-->
50
51<!-- res_comp describes a component resource, this may contain components -->
52<!ELEMENT res_comp	(comp | property)*>
53
54<!ATTLIST res_comp	%core;
55			%min_max;
56		        name		CDATA #REQUIRED
57			default		(true | false) 'false'
58			units		CDATA #REQUIRED
59			sys_id		CDATA #REQUIRED
60			type		CDATA #REQUIRED
61			a-dtype		NMTOKENS	'min uint
62							max uint
63							default boolean
64							units string
65							sys_id int
66							type string'>
67<!-- res_agg describes an aggregate resource -->
68<!ELEMENT res_agg	(property)*>
69
70<!ATTLIST res_agg	%core;
71		        name		CDATA #REQUIRED
72			default		(true | false) 'false'
73			units		CDATA #REQUIRED
74			sys_id		CDATA #REQUIRED
75			type		CDATA #REQUIRED
76			a-dtype		NMTOKENS	'default boolean
77							units string
78							sys_id int
79							type string'>
80
81<!-- comp describes a resource component -->
82<!ELEMENT comp		(#PCDATA | property)*>
83
84<!ATTLIST comp		%core;
85			type		CDATA #REQUIRED
86			sys_id		NMTOKEN #REQUIRED
87			a-dtype		NMTOKENS	'type string
88							sys_id int'>
89
90<!-- pool describes a resource pool -->
91<!ELEMENT pool		(#PCDATA | property)*>
92
93<!ATTLIST pool		%core;
94			name		CDATA #REQUIRED
95			importance	CDATA #REQUIRED
96			active		(true | false) 'true'
97			default		(true | false) 'false'
98			res		IDREFS #REQUIRED
99			a-dtype		NMTOKENS	'importance int
100							default boolean
101							active boolean' >
102
103<!-- property describes a resource property -->
104<!ELEMENT property	(#PCDATA)>
105
106<!ATTLIST property	name		NMTOKEN #REQUIRED
107			type		NMTOKEN #REQUIRED
108			a-dtype		NMTOKENS	'name string
109							type string'>
110
111<!-- system describes a resource system -->
112<!ELEMENT system  	(property | res_comp | res_agg | pool)*>
113
114<!ATTLIST system	%core;
115			name		CDATA #REQUIRED
116			bind-default	(true | false) 'false'
117			version		NMTOKEN #FIXED '1'
118			a-dtype		NMTOKENS	'bind-default   boolean
119                                      			version  int'>
120