Commit Graph

969 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
qwang12 7c80ae1b31 add incompatbility changes's description about NULL_HANDLE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5845 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 10:00:24 +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
xli24 4b503a775e Minor update for PI include files according to code review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5839 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 07:55:40 +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
qwang12 fe21b1a6c1 Add in incompatibility note.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5837 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 05:51:14 +00:00
qwang12 681b5c23c4 Remove NULL_HANDLE. NULL_HANDLE should be replaced with NULL as consistency. For now, only DXE core is using this macro.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5835 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-08 05:00:44 +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
xli24 f1b420aa4e Make prototype of EFI_PEI_STALL comply with PI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5828 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-05 05:10:54 +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
jljusten 9e11702c33 edk2/MdePkg/MdePkg.dec:
* Change filename case from x64=>X64 to match move in r5811.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5824 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 16:01:24 +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
xli24 dafa11b191 Update MdePkg/Include/Ppi according to code review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5818 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 09:15:21 +00:00
qhuang8 ca65d1057a Fix a typo in Pcd name
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5814 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 08:06:31 +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
vanjeff 81c749f767 Changed x64 into X64.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5811 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 06:20:32 +00:00
vanjeff 7b1bf9f61b added additional comments and fixed some typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5810 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 06:16:14 +00:00
vanjeff 11227adb14 1. Remove unnecessary CONST.
2. Remove Unnecessarily including <ProcessorBind.h>.
3. Add comments for struct definition.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5806 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 03:15:52 +00:00
jljusten 1fb24cc445 edk2/MdePkg/Include/x64/ProcessorBind.h:
edk2/MdePkg/Include/Ipf/ProcessorBind.h:
* Merge ICC warning ignores from Ia32/ProcessorBind.h.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5805 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 23:20:24 +00:00
jljusten 427c6c737e edk2/MdePkg/Include/Ia32/ProcessorBind.h:
* Disable ICC warning for: "LocalVariable" was set but never used


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5804 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 21:07:42 +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
vanjeff 4ba967e79a 1.Updated EFI_FVB_ATTRIBUTES to EFI_FVB_ATTRIBUTES_2 to follow PI spec.
2.Changed parameter FvHeader into DriverName to follow PI spec.
3.Updated DXE services functions header to follow PI spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5796 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 08:34:34 +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 e6dedf514f Remove MigrateIDT interface from PeiServiceTableLib library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5791 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 07:56:04 +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
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