Commit Graph

1032 Commits

Author SHA1 Message Date
klu2 bb347ec275 Add more comments for DxeServicesTableLib library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5788 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 07:50:48 +00:00
xli24 201c76681b Fix 2 flaws in MdePkg/Include/Library/UefiRuntimeLib.h:
1. Add OPTIONAL modifier for parameter Attributes of EfiGetVariable()
2. Add EFIAPI modifier for EfiResetSystem()


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5775 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-02 05:54:48 +00:00
lgao4 60c93673b3 The driver and library in MdePkg, MdeModulePkg and Nt32Pkg that don't depend on PI spec should include Uefi.h not PiDxe.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5758 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-30 14:09:38 +00:00
jljusten ed300ce2a6 edk2/MdePkg/Include/Ia32/ProcessorBind.h:
* Add mask for ICC warning when a parameter is not referenced in a
  function.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5757 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-29 23:04:44 +00:00
qwang12 4386f14350 Fix a bug in the assert condition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5754 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-29 05:35:16 +00:00
qwang12 0276b838a1 Fix a bug in the assert condition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5753 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-29 05:34:35 +00:00
qhuang8 660b246ac5 Remove the supported module type of DXE_CORE to avoid that this library instanced by misused by DxeCore.
DxeCore should link the instance in MdeModulePkg for MemoryAllocationLib class.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5743 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-27 14:30:52 +00:00
klu2 c0105686a1 Remove duplication definition for PcdUefiVariableDefaultLangCodes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5733 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-27 09:10:09 +00:00
klu2 4ca0802e08 Refine the code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5729 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-25 05:36:08 +00:00
lgao4 340499ce6e Add comments for several library class and declare PCD PcdMaximumGuidedExtractHandler as the PcdsFixedAtBuild and PcdsPatchableInModule type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5728 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-25 05:09:01 +00:00
lgao4 14bcde689e remove the unused msa files in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5725 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-25 05:00:23 +00:00
lgao4 9e6fa6d245 Clean up DxeMemoryAllocationLib and PeiMemoryAllocationLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5722 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-24 05:00:30 +00:00
qwang12 8cf43dd722 1) Add in ASSERT conditions
2) Add GUID and Library Class in INF file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5712 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-22 13:44:57 +00:00
qwang12 ff197efbbc 1) Update comments for API in DxePiLib.h
2) Fix a bug that SectionInstance is not referenced in the function GetSectionFromFv
3) Some minor cleanup.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5711 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-22 09:09:24 +00:00
lgao4 6812ef9fea Update Hob Instance to remove the unused InternalHobLib.h file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5710 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-22 07:06:49 +00:00
vanjeff bb8fb476e1 remove unnecessary IN OUT.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5703 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-21 03:08:04 +00:00
jljusten 44f5e74f28 edk2/MdePkg/Library/BaseLib/BaseLib.inf:
edk2/MdePkg/Library/BaseLib/Ipf/AsmCpuMisc.s:
* Add GCC IPF implementation of CpuBreakpoint, MemoryFence,
  DisableInterrupts, EnableInterrupts, and EnableDisableInterrupts.
  (Thanks Vara!)


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5701 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-20 22:19:25 +00:00
qhuang8 dd1245006f Remove allocate aligned pool services.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5696 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-20 09:39:43 +00:00
lgao4 e6bcee8713 Remove the duplicated comments for function header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5695 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-20 09:19:54 +00:00
lgao4 a8ff971524 Cleanup Cpu library class and CpuLib instance and BaseLib instance; and add comments for the confused logic in IfrSupportLib instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5694 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-20 09:15:34 +00:00
klu2 4882bfdc7e Add missing library instance to MdePkg.dsc
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5693 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-20 04:58:29 +00:00
lgao4 b911d09f55 Code Clean up for IfrSupportLib, HiiLib, PeiExtractGuidedSectionLib and DxeExtractGuidedSectionLib,
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5687 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-18 12:11:37 +00:00
qhuang8 25366245f5 Add Pcd Protocol in [Depex] section and add back the constructor since PCD protocol must have been available when the entrypoint is executed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5680 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-18 09:24:07 +00:00
qhuang8 2ef5636ff3 Add Pcd Ppi dependency in [depex] section in PeiPcdLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5679 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-18 09:22:36 +00:00
qhuang8 6c39b801bb Add comments for some language related PCDs in MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5678 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-18 09:21:47 +00:00
qwang12 55a9663bde Add IfrLibCreatePopUp2 and HiiLibExportPackageLists.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5663 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-18 07:47:51 +00:00
klu2 d00afc4ef8 Add missing library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5662 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-18 07:38:14 +00:00
klu2 f2084bda3d Add CpuDeadLoop() for PeiCore entry, that means PeiCore should not return.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5661 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-18 07:32:34 +00:00
klu2 e310a27b5e Remove msa file and add more comments for DXE core entry
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5660 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-18 07:20:14 +00:00
klu2 0514e9c3c9 refine code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5658 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-18 05:48:39 +00:00
klu2 a3fdf4ac93 Remove unused module type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5657 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-18 05:47:51 +00:00
klu2 a72bd1ec5f refine code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5656 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-18 05:43:42 +00:00
klu2 c36659905b Add PCD_MAX_SKU_ID.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5655 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-18 05:36:10 +00:00
klu2 ef64f703e2 Refine the code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5654 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-18 05:11:21 +00:00
klu2 eba7c22246 Remove unused internal header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5653 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-18 04:27:07 +00:00
klu2 fb5148a0d8 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5650 6f19259b-4bc3-4df7-8a09-765794883524 2008-08-14 04:30:49 +00:00
klu2 99e8ed219f Use doxygen comment style for document entity such as struct, enum, variable that use /// but not //
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5649 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-14 04:29:48 +00:00
klu2 0688984231 Use doxygen comment style for document entity such as struct, enum, variable that use /// but not //
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5648 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-14 04:11:35 +00:00
klu2 fc30687f39 Use doxygen comment style for document entity such as struct, enum, variable that use /// but not //
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5647 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-14 03:30:12 +00:00
klu2 ec8432e515 Use doxygen comment style for document entity such as struct, enum, variable that use /// but not //
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5646 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-14 03:22:55 +00:00
klu2 1bc5d0217a Use doxygen comment style for document entity such as struct, enum, variable that use /// but not //
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5645 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-14 03:21:03 +00:00
klu2 3566565aa4 Use doxygen comment style for document entity such as struct, enum, variable that use /// but not //
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5644 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-14 02:56:09 +00:00
klu2 55d473ba15 Use doxygen comment style for document entity such as struct, enum, variable that use /// but not //
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5643 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-14 02:54:46 +00:00
klu2 d484d12067 Use doxygen comment style for document entity such as struct, enum, variable that use /// but not //
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5642 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-14 02:53:43 +00:00
jljusten 6f5cf7595f edk2/MdePkg/Library/SerialPortLibNull/SerialPortLibNull.c:
* Remove trailing whitespace in file to fix warning/error from the
  Intel compiler: "last line of file ends without a newline"


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5638 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-13 21:02:24 +00:00
eric_tian 584125bcba code review's result.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5633 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-12 07:20:10 +00:00
qwang12 4a9cfab5a4 Remove the unncessary assignment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5632 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-12 06:21:35 +00:00
lgao4 a2ddd00bfe Add SerialPortPoll Api in SerialPortLib to Poll the serial device to see if there is any data waiting.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5624 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-10 05:39:21 +00:00
mdkinney 7fd58cbc7e Use ReadUnaligned32() instead of CopyMem()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5604 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-01 23:21:07 +00:00
jljusten 0e0c422d4c MdePkg/Library/BaseLib/X64/ReadCr2.S:
MdePkg/Library/BaseLib/X64/ReadMm0.S:
* Fix syntax error for X64 gcc assembly files.  (Missing parenthesis.)


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5597 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-31 16:23:36 +00:00
klu2 9810cdd88c Remove blank for function typedef, it will break generating doxygen document.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5596 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-31 08:53:34 +00:00
klu2 78bf8f2dbf remove blank for function typedef, it will break generating doxygen document.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5593 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-31 08:22:39 +00:00
eric_tian 6a28ac4441 Gcc cleanup
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5589 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-31 06:56:12 +00:00
eric_tian 12b2b6c416 Gcc cleanup for CpuLib in mdepkg/library/
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5588 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-31 06:51:00 +00:00
eric_tian 85c25283ed Gcc cleanup for baselib & basememorylib in mdepkg/library/
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5587 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-31 06:23:32 +00:00
yshang1 dca1cc5989 Code Scrub for MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5584 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-29 03:29:01 +00:00
jljusten c28a55549a edk2/MdePkg/Include/Protocol/TcgService.h:
* Fix error from GCC:
   > redefinition of typedef 'EFI_TCG_PROTOCOL'


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5583 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-28 18:42:42 +00:00
klu2 78112aa556 Add more comments for PCD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5577 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-28 03:10:35 +00:00
xli24 e7b1b5963c Refine function header comments of PalCallLib.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5574 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-27 11:46:08 +00:00
xli24 69e0c59656 Fix typo in PalCallLib.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5573 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-27 09:16:04 +00:00
yshang1 42eedea958 Code Scrub for MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5567 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-25 12:21:57 +00:00
lgao4 0f82bd5514 Code Scrub for Protocol Definition
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5566 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-25 10:50:50 +00:00
lgao4 1a09f6f6ac Update CopyRight to 2008
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5565 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-25 10:41:27 +00:00
lgao4 4ca9b6c4e7 Code Scrub for Protocol and Ppi Definition
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5564 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-25 10:37:15 +00:00
eric_tian d0b494edf2 modify coding style to pass ecc tool
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5544 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-22 03:10:13 +00:00
eric_tian 2c8547ab2d modify coding style to pass ecc tool
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5543 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-22 03:04:38 +00:00
qwang12 7acc6db7c8 Correct the comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5539 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-21 12:53:53 +00:00
qwang12 ccac388d13 Add in more comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5538 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-21 12:13:37 +00:00
klu2 1646bcd553 Update function header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5535 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-21 07:53:14 +00:00
klu2 fb287b565f Update function header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5534 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-21 07:42:51 +00:00
yshang1 9199040cb2 Code Scrub of MdePkg/Inlcude/Library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5533 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-21 07:26:20 +00:00
yshang1 3e7b340f87 Avoid the name collision.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5530 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-21 02:46:21 +00:00
qhuang8 555a6f4536 Remove INF/MSA file name to align with directory name
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5524 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-19 01:35:35 +00:00
qhuang8 0eeb6d1fb8 Remove directory DxeDebugLibSerialPort to BaseDebugLibSerialPort since this instance is EFI agnostic.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5523 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-19 01:32:53 +00:00
lgao4 19bee90c32 Correct ECC Error for MdePkg/Include/Protocol and Correct PeCofferLib bug to set ImageContext->EntryPoint after relocate when the destination address is specified.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5514 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-17 08:45:10 +00:00
xli24 4cb0344efe Refine code for BasePalCallLibNull & PeiPalCallLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5506 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 14:36:38 +00:00
lgao4 d713251286 Code Scrub for header files in MdePkg/Include/Ppi and Uefi directory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5500 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 10:44:37 +00:00
klu2 63e4dba96a Fix function comment to follows doxygen format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5497 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 09:29:20 +00:00
yshang1 373b5cf97c Code Scrub the common includes in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5493 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 06:31:22 +00:00
qwang12 1db1f6adb4 Clean up IfrSupportLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5487 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 03:06:59 +00:00
qwang12 29870c8d61 Clean up HiiLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5481 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 01:22:51 +00:00
lgao4 eceb3a4cb9 Code scrub for the Debug library, PostCode library, Print library, and ExtractGuidedSection library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5478 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-15 11:12:43 +00:00
vanjeff 7d9333a9a7 code scrub
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5473 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-15 08:59:29 +00:00
klu2 23a36779f8 Fix function comment to follows doxygen format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5470 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-15 07:34:07 +00:00
lgao4 3afce7336e Roll back 1 == Var to Var == 1 for save size.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5466 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-15 04:26:14 +00:00
qhuang8 1654531a31 Add CONST modifier to align with the global array of mUnicodeWidthTable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5465 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-14 13:27:59 +00:00
yshang1 f80b0830db Code scrub:
MdePkg/Library/BaseCacheMaintenanceLib
MdePkg/Library/BaseDebugLibNull
MdePkg/Library/BaseIoLibIntrinsic
MdePkg/Library/BaseLib
MdePkg/Library/BasePeCoffLib
MdePkg/Library/CpuLib
MdePkg/Library/DxeMemoryLib
MdePkg/Library/DxePiLib
MdePkg/Library/PeiIoLib
MdePkg/Library/PeiMemoryLib
MdePkg/Library/UefiBootServicesTableLib
MdePkg/Library/UefiLib
MdePkg/Library/UefiRuntimeLib


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5464 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-14 09:01:34 +00:00
qwang12 ad1b36195a Clean up ExtendedHiiLib, HiiLib, IfrSupportLib, ExtendedIfrSupportLib for Doxygen comments requirement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5458 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-14 05:29:49 +00:00
eric_tian 7687d3a835 modify coding style to pass ecc tool and provide comments that complied with Doxgen.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5452 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-11 07:06:56 +00:00
vanjeff 4ad9b09e88 To meet actual filenames
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5434 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-09 07:30:33 +00:00
vanjeff 05346dbbb9 rename filename to PciCf8Lib.c. it will match its library name and avoid confusion with Pci Library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5433 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-09 07:27:04 +00:00
vanjeff c26a4ca15f rename filename to PciExpressLib.c. it will match its library name and avoid confusion with Pci Library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5432 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-09 07:25:28 +00:00
vanjeff 5c57f3eaea 1. Update files header.
2. Added missing libraries in inf files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5431 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-09 07:21:21 +00:00
eric_tian cbc1082c98 modify coding style to pass ecc tool and provide comments that complied with Doxgen.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5430 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-09 01:52:13 +00:00
yshang1 38bbd3d91c Code scrub:
MdePkg/Library/BaseCacheMaintenanceLib
MdePkg/Library/BaseDebugLibNull
MdePkg/Library/BaseIoLibIntrinsic
MdePkg/Library/BaseLib
MdePkg/Library/BaseMemoryLib
MdePkg/Library/BaseMemoryLibMmx
MdePkg/Library/BaseMemoryLibOptDxe
MdePkg/Library/BaseMemoryLibOptPei
MdePkg/Library/BaseMemoryLibRepStr
MdePkg/Library/BaseMemoryLibSse2
MdePkg/Library/BasePeCoffGetEntryPointLib


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5426 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-08 09:38:43 +00:00
vanjeff 65e3009ce3 fixed one typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5424 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-08 08:18:31 +00:00
vanjeff 2f50ef835c 1. Enabled UGA Draw consuming in GraphicsLib of MdemodulePkg.
2. ECC clean.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5422 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-08 08:15:20 +00:00
vanjeff 94646ec0e3 Ecc clean.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5415 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-08 05:18:46 +00:00
qhuang8 1a24918483 Remove duplicated PCD entires in the same section
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5407 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-04 01:41:29 +00:00
eric_tian ed0b86b183 make change to support UnixPkg build. The changes are listed as follows:
1. change ASM_PFX() macro, the underscore preceding to function symbol don't be added in Linux.
2. move some illegal characters in .S file.
3. change ELFGCC flag in tools_def.template to support Linux&ELFGCC build

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5381 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-30 05:50:49 +00:00
qwang12 27d55a2d56 Boolean values and variable type BOOLEAN should not use explicit comparisons to TRUE or FALSE
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5379 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-30 02:22:16 +00:00
qwang12 877a3c7bb2 add a PCI_CLASS_MASS_STORAGE_AHCI alias.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5372 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-26 03:24:27 +00:00
qwang12 2a10d87453 Remove the OPTIONAL modifier as HiiHandle is a compulsory para.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5369 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-25 05:44:42 +00:00
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
qhuang8 5f3fdf9832 Minor update to follow coding style.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5321 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-04 04:33:35 +00:00
qhuang8 e8a99c0881 Remove orphan files: R8Lib.c & R8Lib.h have already been removed from module INF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5320 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-04 04:16:14 +00:00
qhuang8 f1d0652e4e Remove two duplicated GUIDs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5318 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-04 01:18:56 +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
qhuang8 d2e6d78887 1. Add comments about reserve space on space according to x64 calling convention
2. Fix comments in SwitchStack as for the x64 calling convention.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5315 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-30 02:03:15 +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 2d81bfb983 Add in ConvertIso639LanguageToRfc3066Language API.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5268 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-22 00:59:42 +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 ccb3cad09f Wrong check-in, library instance should not support DXE_RUNTIME_DRIVER, for DUET's runtime driver, DuetPkg should provide self's TimerLib for Duet's fake runtime driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5161 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-05 06:59:01 +00:00
klu2 af3977b1de Add DXE_RUNTIME_DRIVER type support SecPeiDxeTimeLibCpu driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5160 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-05 06:54:05 +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
klu2 d6b69c1afe Add missing library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5099 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-21 03:39:31 +00:00
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