diff options
author | Guillaume Denneulin <guillaume.denneulin@intel.com> | 2012-09-27 15:13:10 +0200 |
---|---|---|
committer | David Wagner <david.wagner@intel.com> | 2014-02-12 17:03:14 +0100 |
commit | 9533156ebad9b5989703db70be3f6bd22c9811c4 (patch) | |
tree | 13be07f704900c328300f8a386a212be0e9883d1 /Schemas | |
parent | 8b243f50a38a26e6b373287e07cb7e4743a8cd28 (diff) | |
download | external_parameter-framework-9533156ebad9b5989703db70be3f6bd22c9811c4.zip external_parameter-framework-9533156ebad9b5989703db70be3f6bd22c9811c4.tar.gz external_parameter-framework-9533156ebad9b5989703db70be3f6bd22c9811c4.tar.bz2 |
Allow 64bits bitParameterBlocks
BZ: 59348
bitParameterBlocks are limited to 32 bits, extend it to 64 bits.
This change includes:
- PFW code change
- XML schema update
Change-Id: I9861cea0538a17fcba77fa7d573faae36d8731e0
Signed-off-by: Guillaume Denneulin <guillaume.denneulin@intel.com>
Reviewed-on: http://android.intel.com:8080/68189
Reviewed-by: Gozalvez Herrero, Juan AntonioX <juan.antoniox.gozalvez.herrero@intel.com>
Tested-by: Gozalvez Herrero, Juan AntonioX <juan.antoniox.gozalvez.herrero@intel.com>
Diffstat (limited to 'Schemas')
-rw-r--r-- | Schemas/Parameter.xsd | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Schemas/Parameter.xsd b/Schemas/Parameter.xsd index 81f87c8..f198e82 100644 --- a/Schemas/Parameter.xsd +++ b/Schemas/Parameter.xsd @@ -9,6 +9,11 @@ <xs:pattern value="8|16|32"/>
</xs:restriction>
</xs:simpleType>
+ <xs:simpleType name="SizeType64">
+ <xs:restriction base="xs:positiveInteger">
+ <xs:pattern value="8|16|32|64"/>
+ </xs:restriction>
+ </xs:simpleType>
<xs:attributeGroup name="IntegerParameterAttributes">
<xs:attribute name="Size" type="SizeType" use="required"/>
<xs:attribute name="Min" type="xs:integer" use="optional"/>
@@ -105,14 +110,14 @@ <xs:attribute name="Size" use="required">
<xs:simpleType>
<xs:restriction base="xs:positiveInteger">
- <xs:maxInclusive value="32"/>
+ <xs:maxInclusive value="64"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Pos" use="required">
<xs:simpleType>
<xs:restriction base="xs:nonNegativeInteger">
- <xs:maxInclusive value="31"/>
+ <xs:maxInclusive value="63"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
@@ -124,7 +129,7 @@ <xs:element name="BitParameter" type="BitParameterType" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attributeGroup ref="Nameable"/>
- <xs:attribute name="Size" type="SizeType" use="required"/>
+ <xs:attribute name="Size" type="SizeType64" use="required"/>
<xs:attribute name="Mapping" type="xs:string" use="optional"/>
</xs:complexType>
<xs:unique name="BitParameterBlockSubElementsUniqueness">
|