Commit Graph

367 Commits

Author SHA1 Message Date
klu2 8b13229b46 Fix doxygen issue:
1) comment for structure should be in doxygen format, such as /// , /**, /*!
2) comment for data field of structure should in doxygen format.
3) should not exist blank between ") (" when declaring a type of function point.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5364 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-24 07:14:18 +00:00
klu2 dc53faa3a2 Fix doxygen issue:
1) comment for structure should be in doxygen format, such as /// , /**, /*!
2) comment for data field of structure should in doxygen format.
3) should not exist blank between ") (" when declaring a type of function point.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5363 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-24 04:37:24 +00:00
klu2 6de794cd4a Fix issue broken doxygen parsing. The issue is that when declaring a function pointer type, the "(" for parameter should follows ")" of function type name without any blank, for example:
Bad: "typedef EFI_STATUS (EFIAPI name) (parameter list)"
GOOD: "typedef EFI_STATUS (EFIAPI name)(parameter list)"

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5362 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-24 04:01:35 +00:00
qwang12 54cf87805f Merged in the following trackers from EDK:
EDK1145 Cursor mising in shell in some case 
EDK1099: Dell - [HII] HiiGetFontInfo() not retrieve the system font by FoFontInfoMask
EDK1127: [UEFI 2.10] Keyboard layout support 
EDK1129: [UEFI HII] GUID is represented wrongly in Config String
And some other fixes such as
*[UEFI HII] HiiGetAltCfg is generating "Name=" sub string in the wrong format 
*UEFI HII: GetUnicodeStringTextOrSize() doesn't handle NULL StringDest properly
*GetFontInfo() need be updated to avoid iteration 
*HIIStringProtocolTest failed on multiple platform
*[Uefi 2.1] Comply with latest Hii ECR 
* GetFontInfo() need be updated to avoid iteration


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5360 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-23 09:38:38 +00:00
qwang12 7d0db9ceb5 CHAR8 is defined as "1-byte Character" in UEFI spec, but not "unsigned Character". Most compiler treats "char" as signed unless overide by compiler options. Most compiler generate warnings for statement like "CHAR8 *S = "Hello"". In addition, we have defined CHAR8 as char for processor arch such as IA32, X64 and IPF in EDK II.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5329 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-05 01:57:08 +00:00
qwang12 1b2afeaacd Remove the tailing ',' and redudant ';' to ensure the code pass EBC's -Za option (Enforces strict conformance to the ANSI standard for C).
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5326 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-04 10:06:19 +00:00
klu2 86b2b825c4 Use #if...#else to not confuse some lint tools for definition of EFIAPI
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5316 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-02 02:22:31 +00:00
mdkinney fbbe00ad9d Add ACPI_ADR_DISPLAY() macros to DevicePath.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5314 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-29 23:14:40 +00:00
qhuang8 ac64461468 De-unicode in comment for all source files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5302 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-27 03:24:01 +00:00
qhuang8 bc88c688e4 Make #ifndef the first statement in header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5295 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-27 01:34:11 +00:00
qwang12 d9e5c1fffb 1) Add BufToHexString, HexStringToBuf and IsHexDigit to BaseLib.
2) Remove the duplicated functions implementation  from the modules that reference these APIs 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5282 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-23 05:25:44 +00:00
qwang12 6fd5fbe3ec Add in ConvertIso639LanguageToRfc3066Language API.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5267 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-22 00:58:21 +00:00
klu2 464674999b Fix the bug about comparing with mismatched integrate type
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5147 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-29 04:22:16 +00:00
klu2 01aef47bbe Fix missing include header file and fix typo in comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5110 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-22 06:12:08 +00:00
klu2 2a254b9046 Fix typo in comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5108 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-22 05:16:14 +00:00
klu2 7dd8b919e8 Fix comment typo
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5107 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-22 03:03:02 +00:00
klu2 d1057d4ec5 Fix comment typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5106 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-22 02:33:49 +00:00
klu2 3f748e529c Fix missing include file which break doxygen parsing.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5105 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-21 08:20:21 +00:00
klu2 0c7f62f82d Fix missing include file which break doxygen parsing.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5104 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-21 07:08:15 +00:00
klu2 0b3cac32f3 Fix missing include file which break doxygen parsing.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5103 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-21 06:56:45 +00:00
klu2 ec0ccddace Fix missing include file which break doxygen parsing.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5102 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-21 06:45:44 +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
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
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
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
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
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 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
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 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
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
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
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
eric_tian e3b1115ed8 add iSCSI protocol
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4422 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-24 02:15:46 +00:00
klu2 61ce5861e4 Add all smbios record structure definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4414 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-21 07:19:54 +00:00
qwang12 3d5c59747e Sync HII and Setupbrowser related header files with UEFI 2.1 spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4379 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-10 07:29:15 +00:00
qwang12 5a1fc2219b Sync HII and Setupbrowser related header files with UEFI 2.1 spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4378 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-10 07:28:15 +00:00
klu2 797a9d6791 MdeModule cleanup for PI:
1) PeiMain:
   - Use PCD for bundle of status code which definitions are put into MdePkg.dec file.
2) DxeMain:
   - Use PCD for bundle of status code which definitions are put into MdePkg.dec file.
   - Do not produce SectionExtraction protocol which is belong to IntelFramework specification.
   - Update many macro for PI specifications.
3) DxeIpl
   - Use PCD for bundle of status code which definitions are put into MdePkg.dec file.
4) Add SectionExtractionDxe module (IntelFrameworkModulePkg)
   - This module will produce EFI_SECTION_EXTRACTION_PROTOCOL defined in framework specification. If a old platform want to use this protocol, then this platform need dispatch this DXE driver.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4376 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-10 03:47:56 +00:00
qhuang8 0c9d739571 1. Move some status code related PCDs to MdePkg
2. Let DxeIpl PEIM to enable IDT table by default.
3. Fix spelling typo in UefiLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4368 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-07 02:06:52 +00:00
lgao4 176a6bb358 Add Capsule image Table entry in Uefi/UefiSpec.h according to UEFI2.1 spec definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4332 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-27 07:06:01 +00:00
mdkinney 24a7505cef Add FUNCTION_ENTRY_POINT macro
Update DxeDebugLibSerialPort to have a module type of BASE



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4328 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-27 02:48:59 +00:00