From: lhauch Date: Thu, 18 May 2006 09:29:36 +0000 (+0000) Subject: Updated Schema for PcdDynamicBuildDeclarations and FrameworkDatabase adding optional... X-Git-Tag: edk2-stable201903~25486 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=2558d455a5c21ed01b89686a795786d99648a177 Updated Schema for PcdDynamicBuildDeclarations and FrameworkDatabase adding optional elements and attributes to match new XMLSchema git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@194 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/Tools/Conf/FrameworkDatabase.db b/Tools/Conf/FrameworkDatabase.db index 2c95111493..42f1051c33 100644 --- a/Tools/Conf/FrameworkDatabase.db +++ b/Tools/Conf/FrameworkDatabase.db @@ -62,4 +62,26 @@ 2006-02-24 14:49 + + + EdkNt32Pkg/Nt32.fpd + 2006-02-24 14:49 + 2006-05-14 09:49 + + + MdePkg/MdePkg-All-Archs.fpd + 2006-02-24 14:49 + 2006-05-14 09:49 + + + MdePkg/MdePkg.fpd + 2006-02-24 14:49 + 2006-05-14 09:49 + + + EdkModulePkg/EdkModulePkg-All-Archs.fpd + 2006-02-24 14:49 + 2006-05-14 09:49 + + diff --git a/Tools/XMLSchema/FrameworkDataElements.xsd b/Tools/XMLSchema/FrameworkDataElements.xsd index bbc75d9729..3be6afb289 100644 --- a/Tools/XMLSchema/FrameworkDataElements.xsd +++ b/Tools/XMLSchema/FrameworkDataElements.xsd @@ -725,6 +725,7 @@ + This is record format for a Module entry in the Framework Database file. @@ -947,8 +948,7 @@ - Child of Framework Platform Description (FPD) - We permit the FPD to use an external XML file for PCD information or else the information must be contained within the XML data element, PcdBuildData. + NEW: Will become a child of ModuleSA in the FPD @@ -962,6 +962,7 @@ + This as a unique identifier defined for either this name space. @@ -1049,6 +1050,7 @@ This is the C Name for the Variable, and is valid if and only HII is enabled. + If HII is enabled, This is the offset into the variable data entry, If Vpd is enabled, then it's the Offset into the VPD area of the image defined by platform manufacturer, if neither HII nor Vpd are enabled, it's the offset into the PCD Data Area. HII and VPD can never be enabled at the same time (as of the date of this document.) @@ -1062,11 +1064,156 @@ + + + + This is an enumerated data type that will be used for DYNAMIC_EX, PEIM or DXE only + + + + + + + - + + + + Child of Framework Platform Description (FPD) + We permit the FPD to use an external XML file for PCD information or else the information must be contained within the XML data element, PcdBuildData. + + + + + + Child of PcdBuildDeclarations + This is date element is used in the platform build description file and contains valid data for a Platform Build + There is ONE required Attribute, ItemType + + + + + + + + This as a unique identifier defined for either this name space. + The Target Attribute may be used to define a Target name space, such as PCI. + + + + + + + + + + + + This specifies the size of the Pcd Datum. It is either 8, 16, 32 or 64 bits for values, 1 bit for BOOLEAN and variable length for elements defined as VOID* + + + + + This Bit means that the Variable data is associated with HII + + + + + This bit enables the Vital Product Data area within flash for maintaining PCD information + + + + + This is only applicable to ItemType DYNAMIC_EX + + + + + + + + This element is a list of two entries per line, the first should be an integer, while the second entry should be a string value + + + + + + + + This section is for a list of SkuData Elements, ID and Value + + + + + + + + + + + + This value comes from a production line database, and has nothing to do with the number of SkuData IDs that have been defined. + + + + + This is the specific Sku ID for this build. + + + + + Max Number of Bytes of the data. + + + + + + + + + + + This is the Variable's GUID if and only if HII is enabled. + + + + + This is the C Name for the Variable, and is valid if and only HII is enabled. + + + + + + If HII is enabled, This is the offset into the variable data entry, If Vpd is enabled, then it's the Offset into the VPD area of the image defined by platform manufacturer, if neither HII nor Vpd are enabled, it's the offset into the PCD Data Area. HII and VPD can never be enabled at the same time (as of the date of this document.) + + + + + This field is only valid if AlternateNameSpaceEnable is true. + + + + + + + + + This is an enumerated data type that will be used for DYNAMIC_EX, PEIM or DXE only + + + + + + + + + + + + Child of Package Surface Area Description (SPD) @@ -1121,7 +1268,7 @@ - + Define the Name of a Platform @@ -1133,7 +1280,10 @@ - + + + + diff --git a/Tools/XMLSchema/FrameworkDataTypes.xsd b/Tools/XMLSchema/FrameworkDataTypes.xsd index 4fbaea4e76..31bd87ea1d 100644 --- a/Tools/XMLSchema/FrameworkDataTypes.xsd +++ b/Tools/XMLSchema/FrameworkDataTypes.xsd @@ -1136,6 +1136,9 @@ + + + diff --git a/Tools/XMLSchema/FrameworkPlatformDataElements.xsd b/Tools/XMLSchema/FrameworkPlatformDataElements.xsd index 9a89ae2d48..5a530c05a8 100644 --- a/Tools/XMLSchema/FrameworkPlatformDataElements.xsd +++ b/Tools/XMLSchema/FrameworkPlatformDataElements.xsd @@ -260,6 +260,9 @@ + + DO NOT USE! - Removing this from Schema + @@ -268,15 +271,43 @@ + + DO NOT USE! - Use PlatformList instead + + + + This is used in the Framework Database file + + + + + + + + + + This is used in a Framework Platform Description (FPD) file + + + + + + + + + + + + - This defines the required sections of a valid EFI/Tiano binary image + DO NOT USE - Use FrameworkModules Instead. diff --git a/Tools/XMLSchema/SurfaceArea.xsd b/Tools/XMLSchema/SurfaceArea.xsd index 7b309570ae..8cca1211c9 100644 --- a/Tools/XMLSchema/SurfaceArea.xsd +++ b/Tools/XMLSchema/SurfaceArea.xsd @@ -1,6 +1,6 @@ - - - - - - - This is the valid format for the Package Database File. Note: MsaList is used for Modules that have not yet been included in a package. - - - - - - - - - - - - - This is the valid format for the Framework Platform Description (FPD) File. - - - - - - - - - - - - - - This is the Module Build Description that contains the list of overrides, library instances that can or must be used by the library. - - - - - - - - - - - - - - - - - - - - - - - - - - This is the Module Library Surface Area Description that contains the list of the module's source files, library classes that can or must be used by the module, the Class(es) of the Library that will be supported by the library, the Include Paths, Protocols and Ppi's that are either produced or consued. - - - - - - - - - - - - - - - - - - - - - - - - - - This is the Module Build Description that contains the list of overrides, library instances that can or must be used by the module. - - - - - - - - - - - - - - - - - - - - - - - - - - This is the Module Surface Area Description that contains the list of the module's source files, library classes that can or must be used by the module, the Include Paths, Protocols and Ppi's that are either produced or consued. - - - - - - - - - - - - - - - - - - - - - - - - - - This is valid content for a Package Surface Area Description (SPD) file. - - - - - - - - - - - - - - - + + + + + + This is the valid format for the Package Database File. Note: MsaList is used for Modules that have not yet been included in a package. + + + + + + + + + DO NOT USE! - Use PlatformList instead. + + + + + + + + This is the valid format for the Framework Platform Description (FPD) File. + + + + + + + + DO NOT USE! - Use FrameworkModules instead. + + + + + + DO NOT USE! - Use PcdBuildDeclaratiion in ModuleSA instead. + + + + + + + + + + DO NOT USE - PUT IN PLATFORM DESCRIPTION FILE, FPD + + + + + + + + + + + + + + + + + + + + + + + + + + DO NOT USE - USE MODULE DESCRIPTION FILE, MSA + + + + + + + + + + + + + + + + + + + + + + + + + + DO NOT USE - PUT IN PLATFORM DESCRIPTION FILE, FPD + + + + + + + + + + + + + + + + + + + + + + + + + + This is the Module Surface Area Description that contains the list of the module's source files, library classes that can or must be used by the module, the Include Paths, Protocols and Ppi's that are either produced or consued. + + + + + + + + + + + + + + + + + + + + + + + + + + This is valid content for a Package Surface Area Description (SPD) file. + + + + + + + + + + + + + + +