Changed the Type attribute of FvImage to be ENUM type: FvImageTypes (Attributes | Options | Components)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@324 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lhauch 2006-05-30 16:14:34 +00:00
parent 5f44402947
commit fb6d4eb2ea
1 changed files with 9 additions and 2 deletions

View File

@ -188,7 +188,7 @@
<xs:element minOccurs="1" maxOccurs="unbounded" ref="FvImageNames"/>
<xs:element minOccurs="0" maxOccurs="1" ref="FvImageOptions"/>
</xs:sequence>
<xs:attribute name="Type" type="xs:string" use="optional"/>
<xs:attribute name="Type" type="FvImageTypes" use="optional"/>
</xs:complexType>
</xs:element>
<xs:element name="FvImageName">
@ -199,7 +199,7 @@
<xs:attribute name="Name" type="FvRegionTypes" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="FvImageNames" type="xs:string"/>
<xs:element name="FvImageNames" type="xs:NCName"/>
<xs:element name="FvImageOptions">
<xs:annotation>
<xs:documentation xml:lang="en">This element is used specify different name value pairs.</xs:documentation>
@ -363,6 +363,13 @@
<xs:enumeration value="4MB"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="FvImageTypes">
<xs:restriction base="xs:NCName">
<xs:enumeration value="Attributes"/>
<xs:enumeration value="Options"/>
<xs:enumeration value="Components"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="FvSubRegionTypes">
<xs:restriction base="UCNameType">
<xs:enumeration value="NV_VARIABLE_STORE"/>