Fix some bugs for EdkFatPkg

1) Remove FatFileSystem.c from Fat.msa
2) Use HighBitSet64 instead of GetPowerOfTwo64 for log2 macro
3) Add PCD entries in EdkNt32Pkg/Nt32.fpd for FAT module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@420 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2 2006-06-05 04:02:54 +00:00
parent df1f678a0e
commit 3547bb9f9f
2 changed files with 138 additions and 2 deletions

View File

@ -10882,6 +10882,144 @@
<ModuleSA Arch="IA32" FvBinding="FV_RECOVERY" ModuleName="Shell">
</ModuleSA>
<ModuleSA Arch="IA32" FvBinding="FV_RECOVERY" ModuleName="Fat">
<PcdBuildDeclarations>
<PcdBuildData ItemType="FIXED_AT_BUILD">
<C_Name>PcdMaximumUnicodeStringLength</C_Name>
<Token>0x00000001</Token>
<DatumType>UINT32</DatumType>
<HiiEnable>false</HiiEnable>
<VpdEnable>false</VpdEnable>
<AlternateNameSpaceEnable>false</AlternateNameSpaceEnable>
<SkuEnable>false</SkuEnable>
<SkuDataArrayEnable>false</SkuDataArrayEnable>
<MaxSku>0x00</MaxSku>
<SkuId>0x00</SkuId>
<DatumSize>4</DatumSize>
<VariableGuid>0</VariableGuid>
<VariableName>L""</VariableName>
<DataOffset>0</DataOffset>
<DefaultValue>1000000</DefaultValue>
</PcdBuildData>
<PcdBuildData ItemType="FIXED_AT_BUILD">
<C_Name>PcdMaximumAsciiStringLength</C_Name>
<Token>0x00000002</Token>
<DatumType>UINT32</DatumType>
<HiiEnable>false</HiiEnable>
<VpdEnable>false</VpdEnable>
<AlternateNameSpaceEnable>false</AlternateNameSpaceEnable>
<SkuEnable>false</SkuEnable>
<SkuDataArrayEnable>false</SkuDataArrayEnable>
<MaxSku>0x00</MaxSku>
<SkuId>0x00</SkuId>
<DatumSize>4</DatumSize>
<VariableGuid>0</VariableGuid>
<VariableName>L""</VariableName>
<DataOffset>0</DataOffset>
<DefaultValue>1000000</DefaultValue>
</PcdBuildData>
<PcdBuildData ItemType="FIXED_AT_BUILD">
<C_Name>PcdDebugPropertyMask</C_Name>
<Token>0x00000005</Token>
<DatumType>UINT8</DatumType>
<HiiEnable>false</HiiEnable>
<VpdEnable>false</VpdEnable>
<AlternateNameSpaceEnable>false</AlternateNameSpaceEnable>
<SkuEnable>false</SkuEnable>
<SkuDataArrayEnable>false</SkuDataArrayEnable>
<MaxSku>0x00</MaxSku>
<SkuId>0x00</SkuId>
<DatumSize>4</DatumSize>
<VariableGuid>0</VariableGuid>
<VariableName>L""</VariableName>
<DataOffset>0</DataOffset>
<DefaultValue>0x1f</DefaultValue>
</PcdBuildData>
<PcdBuildData ItemType="FIXED_AT_BUILD">
<C_Name>PcdSpinLockTimeout</C_Name>
<Token>0x00000004</Token>
<DatumType>UINT32</DatumType>
<HiiEnable>false</HiiEnable>
<VpdEnable>false</VpdEnable>
<AlternateNameSpaceEnable>false</AlternateNameSpaceEnable>
<SkuEnable>false</SkuEnable>
<SkuDataArrayEnable>false</SkuDataArrayEnable>
<MaxSku>0x00</MaxSku>
<SkuId>0x00</SkuId>
<DatumSize>4</DatumSize>
<VariableGuid>0</VariableGuid>
<VariableName>L""</VariableName>
<DataOffset>0</DataOffset>
<DefaultValue>10000000</DefaultValue>
</PcdBuildData>
<PcdBuildData ItemType="PATCHABLE_IN_MODULE">
<C_Name>PcdDebugPrintErrorLevel</C_Name>
<Token>0x00000006</Token>
<DatumType>UINT32</DatumType>
<HiiEnable>false</HiiEnable>
<VpdEnable>false</VpdEnable>
<AlternateNameSpaceEnable>false</AlternateNameSpaceEnable>
<SkuEnable>false</SkuEnable>
<SkuDataArrayEnable>false</SkuDataArrayEnable>
<MaxSku>0x00</MaxSku>
<SkuId>0x00</SkuId>
<DatumSize>4</DatumSize>
<VariableGuid>0</VariableGuid>
<VariableName>L""</VariableName>
<DataOffset>0</DataOffset>
<DefaultValue>0x80000000</DefaultValue>
</PcdBuildData>
<PcdBuildData ItemType="FIXED_AT_BUILD">
<C_Name>PcdReportStatusCodePropertyMask</C_Name>
<Token>0x00000007</Token>
<DatumType>UINT8</DatumType>
<HiiEnable>false</HiiEnable>
<VpdEnable>false</VpdEnable>
<AlternateNameSpaceEnable>false</AlternateNameSpaceEnable>
<SkuEnable>false</SkuEnable>
<SkuDataArrayEnable>false</SkuDataArrayEnable>
<MaxSku>0x00</MaxSku>
<SkuId>0x00</SkuId>
<DatumSize>1</DatumSize>
<VariableGuid>0</VariableGuid>
<VariableName>L""</VariableName>
<DataOffset>0</DataOffset>
<DefaultValue>0x07</DefaultValue>
</PcdBuildData>
<PcdBuildData ItemType="FIXED_AT_BUILD">
<C_Name>PcdMaximumLinkedListLength</C_Name>
<Token>0x00000003</Token>
<DatumType>UINT32</DatumType>
<HiiEnable>false</HiiEnable>
<VpdEnable>false</VpdEnable>
<AlternateNameSpaceEnable>false</AlternateNameSpaceEnable>
<SkuEnable>false</SkuEnable>
<SkuDataArrayEnable>false</SkuDataArrayEnable>
<MaxSku>0x00</MaxSku>
<SkuId>0x00</SkuId>
<DatumSize>4</DatumSize>
<VariableGuid>0</VariableGuid>
<VariableName>L""</VariableName>
<DataOffset>0</DataOffset>
<DefaultValue>1000000</DefaultValue>
</PcdBuildData>
<PcdBuildData ItemType="FIXED_AT_BUILD">
<C_Name>PcdDebugClearMemoryValue</C_Name>
<Token>0x00000008</Token>
<DatumType>UINT8</DatumType>
<HiiEnable>false</HiiEnable>
<VpdEnable>false</VpdEnable>
<AlternateNameSpaceEnable>false</AlternateNameSpaceEnable>
<SkuEnable>false</SkuEnable>
<SkuDataArrayEnable>false</SkuDataArrayEnable>
<MaxSku>0</MaxSku>
<SkuId>0</SkuId>
<DatumSize>1</DatumSize>
<VariableGuid>0</VariableGuid>
<VariableName>L""</VariableName>
<DataOffset>0</DataOffset>
<DefaultValue>0xAF</DefaultValue>
</PcdBuildData>
</PcdBuildDeclarations>
</ModuleSA>
<ModuleSA Arch="IA32" FvBinding="FV_RECOVERY" ModuleName="HelloWorld">
<PcdBuildDeclarations>

View File

@ -62,7 +62,6 @@
<Path>Tools/</Path>
<InstalledDate>2006-02-24 14:49</InstalledDate>
</Package>
<!--
<Package>
<PackageName>EdkFatPkg</PackageName>
<Guid>0x8EA68A2C, 0x99CB, 0x4332, 0x85, 0xc6, 0xdd, 0x58, 0x64, 0xea, 0xa6, 0x74</Guid>
@ -70,7 +69,6 @@
<Path>EdkFatPkg/</Path>
<InstalledDate>2006-03-05 09:49</InstalledDate>
</Package>
-->
</PackageList>
<PlatformList>
<Platform PlatformName="NT32" PlatformGuid="eb216561-961f-47ee-9ef9-ca426ef547c2" PlatformVersion="0.3">