From 5c5b48998b8e98c8ed69256e255f326d806dff4a Mon Sep 17 00:00:00 2001 From: lhauch Date: Fri, 9 Jun 2006 04:32:47 +0000 Subject: [PATCH] Intermediate Check-in this MSA schema handles both old and new elements. This is not the final version of the XML Transition Schema - what is here works. THE LAST SECTION, FPD File, still to come. Now this handles both old and new MSA and SPD formats. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@450 6f19259b-4bc3-4df7-8a09-765794883524 --- Tools/XMLSchema/FrameworkDataAttributes.xsd | 87 +++++++++++++++++++-- Tools/XMLSchema/FrameworkDataElements.xsd | 67 ++++++++++++---- Tools/XMLSchema/FrameworkDataTypes.xsd | 5 +- Tools/XMLSchema/FrameworkHeaders.xsd | 20 +++-- Tools/XMLSchema/NamingConvention.xsd | 8 ++ Tools/XMLSchema/SurfaceArea.xsd | 8 +- 6 files changed, 159 insertions(+), 36 deletions(-) diff --git a/Tools/XMLSchema/FrameworkDataAttributes.xsd b/Tools/XMLSchema/FrameworkDataAttributes.xsd index a699cea199..b74475e207 100644 --- a/Tools/XMLSchema/FrameworkDataAttributes.xsd +++ b/Tools/XMLSchema/FrameworkDataAttributes.xsd @@ -66,11 +66,14 @@ + + + @@ -81,11 +84,15 @@ + + + + @@ -94,19 +101,26 @@ + + + + + + + @@ -115,22 +129,32 @@ + + - + + + + + + + + + @@ -139,10 +163,13 @@ + + + @@ -154,14 +181,24 @@ + + + + + + + + + + @@ -198,9 +235,11 @@ - + + + @@ -226,13 +265,19 @@ + - + + + + + + @@ -251,6 +296,7 @@ + @@ -261,9 +307,11 @@ + + @@ -277,6 +325,7 @@ + @@ -287,11 +336,14 @@ + + + @@ -304,8 +356,10 @@ PcdUsage is only valid for PcdItemTypes = FEATURE_FLAG Only NON FEATURE_FLAG PCDS should have the FeatureFlag attribute set. + + @@ -321,7 +375,7 @@ - + @@ -339,35 +393,43 @@ - + + + - + + + + + + + @@ -379,10 +441,13 @@ + + + @@ -393,6 +458,7 @@ + @@ -406,6 +472,7 @@ + @@ -413,11 +480,15 @@ + + + + @@ -426,11 +497,15 @@ + + + + diff --git a/Tools/XMLSchema/FrameworkDataElements.xsd b/Tools/XMLSchema/FrameworkDataElements.xsd index f38f47211d..8427b73832 100644 --- a/Tools/XMLSchema/FrameworkDataElements.xsd +++ b/Tools/XMLSchema/FrameworkDataElements.xsd @@ -236,7 +236,7 @@ - This is a list of Events + This is a list of MSA Events @@ -246,7 +246,12 @@ - + + + + + + @@ -287,7 +292,12 @@ - + + + + + + @@ -321,8 +331,7 @@ - This is a child of MSA files, both Library and Module. - This is a list of Extern statements, right now, only Driver Binding information is provided. + This is a child of MSA files. @@ -437,7 +446,7 @@ - Describe the valid content of a filename + Describe the valid content of a filename This should extend PathAndFilename - Variable names not allowed here! @@ -543,16 +552,20 @@ - Describe the valid content of a PCD GUID element + Describe the valid content of a GUID element in and MSA file. + + + + @@ -598,7 +611,7 @@ - + @@ -612,8 +625,14 @@ - + + + + + + + @@ -733,7 +752,7 @@ - + @@ -772,7 +791,7 @@ This section defines what Classes of Library that this library supports. A Library may belong to multiple different library classes. - + @@ -949,7 +968,7 @@ - This tag is used in the Package Surface Area Description File to track package dependencies for a module + This tag is used in the Package Surface Area Description File (SPD) to track package dependencies for a module @@ -1020,7 +1039,7 @@ - + @@ -1729,8 +1748,12 @@ - - + + + + + + @@ -1765,7 +1788,7 @@ - A list of EFI Variables described by GUID string pair. + An MSA FILE list of EFI Variables described by string pair. @@ -1775,11 +1798,21 @@ - + + + + + + + + + + + This entry represents the Hex Byte Offset {0x0, 0xn} to where the data starts. diff --git a/Tools/XMLSchema/FrameworkDataTypes.xsd b/Tools/XMLSchema/FrameworkDataTypes.xsd index dae8f8e605..885ab5b77b 100644 --- a/Tools/XMLSchema/FrameworkDataTypes.xsd +++ b/Tools/XMLSchema/FrameworkDataTypes.xsd @@ -228,7 +228,7 @@ - + @@ -453,6 +453,9 @@ + + + diff --git a/Tools/XMLSchema/FrameworkHeaders.xsd b/Tools/XMLSchema/FrameworkHeaders.xsd index a798526839..a68e260df9 100644 --- a/Tools/XMLSchema/FrameworkHeaders.xsd +++ b/Tools/XMLSchema/FrameworkHeaders.xsd @@ -108,32 +108,35 @@ - - + + + - - + + + - + + - - + + @@ -141,8 +144,9 @@ + + - diff --git a/Tools/XMLSchema/NamingConvention.xsd b/Tools/XMLSchema/NamingConvention.xsd index ca19200321..a44d3b6bad 100644 --- a/Tools/XMLSchema/NamingConvention.xsd +++ b/Tools/XMLSchema/NamingConvention.xsd @@ -74,6 +74,14 @@ + + + C_Names must start with either an underscore (_) character followed by one or more alpha characters, followed by any combination of underscore or alphanumeric characters. + + + + + A GUID must contain five different Hexadecimal character sets that are separated by a dash (-) character. diff --git a/Tools/XMLSchema/SurfaceArea.xsd b/Tools/XMLSchema/SurfaceArea.xsd index 796e9b4984..ed47c113c3 100644 --- a/Tools/XMLSchema/SurfaceArea.xsd +++ b/Tools/XMLSchema/SurfaceArea.xsd @@ -140,9 +140,9 @@ - - - + + + @@ -176,7 +176,7 @@ - + -- 2.39.2