Commit Graph

800 Commits

Author SHA1 Message Date
klu2 d16fc3dbb3 Add missing file in INF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5078 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-17 07:32:48 +00:00
qwang12 c344685c0c add in a new API HiiLibGetSupportedSecondaryLanguages
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5063 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-14 06:29:03 +00:00
qwang12 33b3b83219 add in a new API HiiLibGetSupportedSecondaryLanguages
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5062 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-14 06:26:44 +00:00
yshang1 c311f86b23 [Description]
Scrub MdePkg:
  - Add file description with doxygen format.
  - Add calling convention of library class in MdePkg.
  - Add function descriptions of public protocol/library class.

[Impaction]
  It should be backward-compatible.

[Ref Info]
  N/A
 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4985 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-03 04:56:34 +00:00
eric_tian b6f968f559 [Description]
add the PCIe ASPM control definition to comply with ACPI3.0 spec
[Impaction]
modify the Acpi3_0.h file in MdePkg/Include/IndustryStandard dir
[Reference Info]
The PCIe ASPM control definition is newly defined in ACPI3.0b spec.  


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4861 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 09:13:38 +00:00
qwang12 c67896b19f [Description]:
1) Remove HiiLibAddFontPackageToHiiDatabase as it is not properly defined API. It only cover Simplified Font. User is recomended to use Hii Font Protocol API to add various font into HII database.

[Impaction]:
All modules that may reference HiiLibAddFontPackageToHiiDatabase function.
[Reference Info]:
No.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4855 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-15 05:03:33 +00:00
qhuang8 c8c92c8d2f Add WDAT ACPI table
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4823 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 03:32:23 +00:00
jljusten 14f7d6c89a Rename file to use recommended file naming conventions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4822 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 23:32:40 +00:00
jljusten 9e9f636f37 Rename file to use recommended file naming conventions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4821 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 23:32:26 +00:00
qhuang8 9e77c2c3b7 Replace "addr16" with other instructions.
Thunk16.S was merely "translated" from Thunk16.asm to ensure of the binary equivalence.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4812 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 05:57:03 +00:00
klu2 fcb577f458 Fix GCC building warning.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4811 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 05:49:39 +00:00
qhuang8 a05f22fa36 Short term fix to pass some GCC warning.
(It should be able to remove R8Lib.c & R8Lib.h with APIs in BaseLib & PrintLib.)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4810 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 05:47:27 +00:00
lgao4 c020e37c21 Correct EFI_IMAGE_NT_HEADERS to EFI_IMAGE_NT_HEADERS64 for 64bit PeImage.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4800 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-07 05:28:19 +00:00
qhuang8 9521b669f8 Fix a typo to pass ICC build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4789 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-04 11:29:23 +00:00
lgao4 5397fc66b3 Correct input parameter aligned to TCG spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4788 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-04 09:33:30 +00:00
klu2 58dcdada56 Merge Temporary Ram support patch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4782 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-29 18:24:43 +00:00
lgao4 306431f76a Fix build failure by adding DebugLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4752 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-25 14:22:11 +00:00
lgao4 8069d49e9a update comments and add assert for these files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4750 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-25 07:01:44 +00:00
vanjeff 06bab62254 changed to match filename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4741 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-21 06:22:14 +00:00
vanjeff 753cb9dcbb remove duplicated one.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4738 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 08:34:21 +00:00
vanjeff ce821dff82 rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4737 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 08:33:51 +00:00
jljusten 168f423376 MdePkg/Library/IfrSupportLib/UefiIfrForm.c:
Removed (put inside #if 0) unreferenced STATIC function
  (GetPackageDataFromPackageList)


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4682 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-11 19:55:23 +00:00
jljusten 65a8ca8c17 MdePkg/Include/IndustryStandard/Tpm12.h:
Removed duplicate definition (TPM_CHOSENID_HASH)


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4681 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-11 19:52:22 +00:00
qwang12 e52c5a9fdc 1) Cleanup HiiLib, IfrSupportLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4661 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-02 13:11:49 +00:00
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 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
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 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
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
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
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 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
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
qwang12 7d582d6b49 UEFI HII: Merge UEFI HII support changes from branch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4600 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-21 14:41:31 +00:00
jwang36 0ca3bcbc90 Added necessary support module type
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4593 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-21 09:32:58 +00:00
xli24 ab9a4f1638 Fix bugs in GNU assembly files for writing CR and DR registers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4590 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-21 03:34:55 +00:00
lgao4 2a722ccb5b Add TCG protocol
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4462 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-02 06:45:55 +00:00
lgao4 267669ba60 Add TPM related definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4461 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-02 06:43:26 +00:00
yshang1 af2bb549ad Update the PciXXXReadBuffer() for better coding style.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4449 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-29 06:11:52 +00:00
yshang1 0c62737d38 Since PciXXXReadBuffer/PciXXXWriteBuffer does not check the alignment of user buffer, if the alignment of user buffer is different than the PCI Address on IPF, the library would generate the Alignment Fault.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4447 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-29 02:26:26 +00:00
yshang1 73e88b4a24 Fix typo of Library Class Declaration.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4431 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-25 03:50:25 +00:00