Commit Graph

575 Commits

Author SHA1 Message Date
qwang12 23a2150bcf 1) Add CONST to the pointer type input parameter.
2) Use global variable and AllocateCopyPool to save the size of generated binary.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5847 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 12:53:50 +00:00
klu2 6cff95cd69 use UnicodeVSPrintAsciiFormat, UnicodeSPrintAsciiFormat to simplify code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5844 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 09:08:26 +00:00
klu2 7c6d32a564 use UnicodeVSPrintAsciiFormat, UnicodeSPrintAsciiFormat to simplify code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5843 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 09:08:04 +00:00
klu2 7c366ec9ca wrong comment for "Unicode" string.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5842 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 08:35:54 +00:00
klu2 2cb3369a49 remove unused library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5841 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 08:26:45 +00:00
klu2 802b8312a2 remove unused include file for library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5840 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 08:23:28 +00:00
lgao4 52cd71dca9 Update UefiScsiLib to add ASSERT comments and define new macros to replace the hard code value.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5838 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 05:56:40 +00:00
lgao4 11ceade4ba Add Usb Hid class request type into IndustryStandard/Usb.h, and replace the hard value in UefiUsbLib by them.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5834 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 04:59:00 +00:00
lgao4 cc4e048504 Correct the wrong '?' character to '-', and add check DestinationBuffer == SourceBuffer for CompareMem functions in all BaseMemory library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5831 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 01:24:16 +00:00
jljusten fe7fd57806 edk2/MdePkg/Library/PeiIoLibCpuIo/IoLib.c:
* Align code with changes to CONST usage on function
  parameters made in edk2-r5818.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5825 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 18:12:57 +00:00
xli24 ad400b07b8 Update MDE Library instances according to code review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5823 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 13:39:18 +00:00
vanjeff ed66e1bc0d clean up the un-suitable ';' location when declaring the functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5820 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 09:37:28 +00:00
vanjeff 9eb7382f73 1. remove EFI_EVENT_ alias, replace them with EVT_
2. remove definitions of EFI_DESCRIPTION_STRING and EFI_DESCRIPTION_STRING_BUNDLE.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5812 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 07:38:10 +00:00
klu2 f36a7bf58c Add more comment for library instance and remove unused internal header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5799 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 08:44:12 +00:00
klu2 bf295af27c Add more comment for library instance and remove unused internal header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5798 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 08:42:16 +00:00
klu2 ce02b0b901 Add more file comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5797 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 08:35:20 +00:00
klu2 d667c17cd4 Fix wrong comment for SetPeiServiceTable
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5795 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 08:23:38 +00:00
klu2 9971f94329 remove internal header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5794 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 08:05:39 +00:00
klu2 5dd39dc655 1, remove MigrateIdt interface, 2, remove unused library class
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5793 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 08:04:48 +00:00
vanjeff 22e6fe86ba fixed one typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5792 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 07:56:47 +00:00
klu2 7292888e44 Add more file comments for PeiServiceTableLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5790 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 07:55:15 +00:00
vanjeff afa223265a clean the codes according to review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5789 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 07:54:27 +00:00
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
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
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
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 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 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
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
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
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 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
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