Commit Graph

4173 Commits

Author SHA1 Message Date
qhuang8 634aa59d20 Fix a bug in LookupUnicodeStringTable2() to mismatch invalid language code like "enus" with "en"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4655 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-01 15:06:59 +00:00
qhuang8 41c7f55141 Remove the DivU64x64Remainder.c (embedded asm version)for IA32 architecture. It cannot handle the case when divisor is less than 4G.
Make MSFT tool chain uses the ASM version, which can handle the case in an size efficient way. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4654 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-01 15:05:08 +00:00
qhuang8 4df26661c7 1. Add conformance checking to ensure the input & output string are well-defined.
2. Adjust the return value of UnicodeStrToAsciiStr() & AsciiStrToUnicodeStr () to be the original destination string to follow MdeLib spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4653 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-01 15:02:05 +00:00
qhuang8 8fd567c6f1 Add alignment checking for IoLib functions to conform to MdeLib spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4652 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-01 14:57:29 +00:00
qhuang8 d7e5a9f9ac Adjust BASE_LIBRARY_JUMP_BUFFER_ALIGNMENT for IA32 to be 4 (nature alignment)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4651 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-01 14:56:12 +00:00
qhuang8 1e3ee53678 Fix the asserting error for SetJump().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4650 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-01 14:54:52 +00:00
qhuang8 f9cea76b15 Fix the issues about the loop count for checksum 16,32,64. The input parameters are the buffer size according to Mde Lib spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4649 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-01 14:53:33 +00:00
zliu3 3e3c809fc1 Roll back the updating of 4646 as it will cause the Richford SoftSDV boot failure
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4648 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-31 11:38:47 +00:00
zliu3 3431f36337 Sync with the PO-2 release branch (version: EDK 4645 and R9 3897)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4647 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-31 09:30:11 +00:00
klu2 1eabd8e747 Make sure the base address of stack base and base address of hob start is in page alignment in InstallPeiMemory() interface.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4646 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-31 08:41:14 +00:00
vanjeff 6be065d4be remove the wrong comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4645 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-31 08:11:35 +00:00
lgao4 e2591cb297 Fix bug in function EfiFvbEraseBlock()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4644 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-31 06:17:03 +00:00
lgao4 00d00b6dfd Fix bug in CustomErashFlashRange function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4643 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-31 06:10:38 +00:00
qhuang8 07220da0c0 Merge Ia32/Fvb.c & X64/Fvb.c, for these two files are identical.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4642 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-29 12:26:51 +00:00
vanjeff 4f6e31e47b Sync the bug that list node is free before it is removed from the list. That made the list invalid.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4641 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-29 08:47:42 +00:00
qhuang8 7a372cf045 Remove the EDK build infrastructure, which was the temp solution when EDKII build tool did not support build EDK module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4640 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-25 03:33:55 +00:00
qhuang8 970e4d2bcc Update the instruction for the customization build of EDK Shell binaries since EDKII build tool now support build EDK module with EDK compatibility package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4639 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-25 03:28:25 +00:00
qhuang8 6248cde76f Update Shell binaries to 1.04 version to support UEFI 2.1 HII.
These binaries are generated with EDKII build tool and EDK Compatibility package 1.04.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4638 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-25 03:25:20 +00:00
qhuang8 a97b4915b8 Add EDKII DSC file to build EDK shell source with Edk Compatibility package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4637 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-25 03:19:47 +00:00
qhuang8 6577541d25 Zero all the field so that caller does not need to be concerned about the reserved field.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4636 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-25 03:17:56 +00:00
qhuang8 372285d1fc Fix two issues:
1. The default with of hex value is 0 according to MdeLib spec. If we expect it to be 16, we need to state it in the format string explicitly.
2. For UnicodeSPrint, the output buffer size of 0 will not print anything to the buffer according to MdeLib spec. We need to specify the maximum possible buffer size.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4635 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-25 03:14:35 +00:00
qhuang8 0c0e0a041d Fix a bug in print library "%a" should not print anything if the var argument points to a null string.
The default precision for string should be set to 0 according to MdeLib spec. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4634 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-25 03:10:15 +00:00
qhuang8 d02d144f4b Add new protocol definitions:
Efi Dirver Family Override protocol, Efi Driver Health protocol & Efi Loaded Image Protocol

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4633 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-25 03:08:14 +00:00
qhuang8 9166ece0da Update device path type value for PI Firmware volume device & Firmware file device path.
This used to be a conflict between UEFI spec & PI spec and was fixed by UEFI errata.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4632 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-25 03:05:30 +00:00
jwang36 1fcf530c94 Fixed an unicode file parser issue which will remove the "\r\n" in the string.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4631 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-25 02:23:42 +00:00
qwang12 808bfde224 Update memcpy.c and memset.c to support both /Ox and /Os of MSFT IPF toolchain. Without this change, MSFT /Ox will report "can't define intrinsic" error.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4630 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-24 09:35:36 +00:00
jwang36 4bd97476a9 Rollback to last revision. No need to enforce the ARCH for 'CompilerStub' library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4629 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-24 08:50:03 +00:00
jwang36 354a7e2065 Enforced "CompilerStub" for IA32 and X64 arch only
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4628 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-24 08:35:57 +00:00
qwang12 cb7cd5b0d9 add back the ReadKeyStroke which is removed wrongly during ICC cleanup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4627 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-24 08:27:44 +00:00
qwang12 958536baab 1) Sync EdkCompatibilityPkg with EDK 1.04. The changes includes:
1.1) Bug fixes. (For details, please check  Documents & files: Snapshot/Release Notes at https://edk.tianocore.org/servlets/ProjectDocumentList?folderID=43&expandFolder=43&folderID=6)
  1.2) Add new UEFI protocol definitions for AbsolutePointer, FormBrowser2, HiiConfigAccess, HiiConfigRouting, HiiDatabase, HiiFont, HiiImage, HiiString, SimpleTextInputEx, DPC protocol.
  1.3) Add Smbios 2.5, 2.6 supports.

  Incompatible changes hilighted:
  1) EFI_MANAGED_NETWORK_PROTOCOL_GUID changed.
  2) EFI_IP4_IPCONFIG_DATA changed.

2) Add in EdkCompatibilityPkg/EdkCompatibilityPkg.dsc to build all libraries in this package.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4626 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-24 07:32:23 +00:00
qwang12 565cfeeaba 1) Sync EdkCompatibilityPkg with EDK 1.04. The changes includes:
1.1) Bug fixes. (For details, please check  Documents & files: Snapshot/Release Notes at https://edk.tianocore.org/servlets/ProjectDocumentList?folderID=43&expandFolder=43&folderID=6)
  1.2) Add new UEFI protocol definitions for AbsolutePointer, FormBrowser2, HiiConfigAccess, HiiConfigRouting, HiiDatabase, HiiFont, HiiImage, HiiString, SimpleTextInputEx, DPC protocol.
  1.3) Add Smbios 2.5, 2.6 supports.

  Incompatible changes hilighted:
  1) EFI_MANAGED_NETWORK_PROTOCOL_GUID changed.
  2) EFI_IP4_IPCONFIG_DATA changed.

2) Add in EdkCompatibilityPkg/EdkCompatibilityPkg.dsc to build all libraries in this package.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4625 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-24 07:30:57 +00:00
qwang12 95d675b527 1) Sync EdkCompatibilityPkg with EDK 1.04. The changes includes:
1.1) Bug fixes. (For details, please check  Documents & files: Snapshot/Release Notes at https://edk.tianocore.org/servlets/ProjectDocumentList?folderID=43&expandFolder=43&folderID=6)
  1.2) Add new UEFI protocol definitions for AbsolutePointer, FormBrowser2, HiiConfigAccess, HiiConfigRouting, HiiDatabase, HiiFont, HiiImage, HiiString, SimpleTextInputEx, DPC protocol.
  1.3) Add Smbios 2.5, 2.6 supports.

  Incompatible changes hilighted:
  1) EFI_MANAGED_NETWORK_PROTOCOL_GUID changed.
  2) EFI_IP4_IPCONFIG_DATA changed.

2) Add in EdkCompatibilityPkg/EdkCompatibilityPkg.dsc to build all libraries in this package.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4624 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-24 07:29:31 +00:00
qwang12 c7f33ca424 1) Sync EdkCompatibilityPkg with EDK 1.04. The changes includes:
1.1) Bug fixes. (For details, please check  Documents & files: Snapshot/Release Notes at https://edk.tianocore.org/servlets/ProjectDocumentList?folderID=43&expandFolder=43&folderID=6)
  1.2) Add new UEFI protocol definitions for AbsolutePointer, FormBrowser2, HiiConfigAccess, HiiConfigRouting, HiiDatabase, HiiFont, HiiImage, HiiString, SimpleTextInputEx, DPC protocol.
  1.3) Add Smbios 2.5, 2.6 supports.

  Incompatible changes hilighted:
  1) EFI_MANAGED_NETWORK_PROTOCOL_GUID changed.
  2) EFI_IP4_IPCONFIG_DATA changed.

2) Add in EdkCompatibilityPkg/EdkCompatibilityPkg.dsc to build all libraries in this package.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4623 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-24 07:10:05 +00:00
qwang12 2c40a813fc 1) Sync EdkCompatibilityPkg with EDK 1.04. The changes includes:
1.1) Bug fixes. (For details, please check  Documents & files: Snapshot/Release Notes at https://edk.tianocore.org/servlets/ProjectDocumentList?folderID=43&expandFolder=43&folderID=6)
  1.2) Add new UEFI protocol definitions for AbsolutePointer, FormBrowser2, HiiConfigAccess, HiiConfigRouting, HiiDatabase, HiiFont, HiiImage, HiiString, SimpleTextInputEx, DPC protocol.
  1.3) Add Smbios 2.5, 2.6 supports.

  Incompatible changes hilighted:
  1) EFI_MANAGED_NETWORK_PROTOCOL_GUID changed.
  2) EFI_IP4_IPCONFIG_DATA changed.

2) Add in EdkCompatibilityPkg/EdkCompatibilityPkg.dsc to build all libraries in this package.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4622 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-24 06:37:35 +00:00
xli24 8336fd87df Add a new line at the end of CpuLib.h for GCC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4621 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-24 05:28:11 +00:00
xli24 57069be8fb Update Thunk16.S of X64 for BaseLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4620 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-24 02:59:28 +00:00
vanjeff 392d56cf4e fixed comments problem.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4619 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-24 02:38:23 +00:00
qhuang8 3549724b39 Add DXE_CORE to supported module type. This library instance is able to support DxeCore for non-dynamic PCDs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4618 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-24 02:27:08 +00:00
vanjeff ea5632e56d 1. Remove USB HC Protocol installing from Uhci module. It only installs USB2 HC protocol.
2. Restore Incompatible Pci Device Support Protocol in PciBus module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4617 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-23 09:41:04 +00:00
jlin16 7113867d54 using R8 component type when choosing rule for INF in FDF.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4616 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-23 08:35:52 +00:00
jlin16 8997292fb8 Support R8 modules in GenFds.exe
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4615 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-23 05:40:47 +00:00
xli24 de0419128f Check in implementation in GNU assembly for Thunk16.S in BaseLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4614 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-22 08:54:44 +00:00
eric_tian 758cc0cf7e update
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4613 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-22 08:10:49 +00:00
eric_tian 7a444476b4 move iscsi driver into network directory, and change its name to comply with name convention.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4612 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-22 08:07:35 +00:00
qwang12 08a4be3b45 Comment out the IntelFrameworkModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf as VfrCompilor does not support the Framework VFR format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4611 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-22 07:25:16 +00:00
eric_tian 83e6e9d548 delete a unwanted semicolon sign.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4610 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-22 07:17:16 +00:00
eric_tian 69b0882d3e fixed icc build bug
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4609 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-22 07:14:48 +00:00
qhuang8 e19c2c4a5f Suppress the divide-by-zero warning for package validation of MdeModulePkg. The APIs in this library should not be invoked by real platforms.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4608 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-22 07:12:05 +00:00
jwang36 db9c42383f Rollback.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4607 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-22 03:18:50 +00:00
jwang36 bb447e1891 Fixed the incorrect library instance setting for "PerformanceLib" library class
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4606 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-22 03:09:21 +00:00