mirror_edk2.git
13 years agoremove the unused msa/npsd files
lgao4 [Sat, 20 Sep 2008 06:18:16 +0000 (06:18 +0000)]
remove the unused msa/npsd files

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5936 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoedk2/EdkCompatibilityPkg/EdkCompatibilityPkg.dsc:
jljusten [Fri, 19 Sep 2008 22:34:57 +0000 (22:34 +0000)]
edk2/EdkCompatibilityPkg/EdkCompatibilityPkg.dsc:
* Based on the Sept 11th (r5884) removal of
  EdkCompatibilityPkg/Compatibility/FvInfoToFvHobThunk, it no longer
  makes sense for this .inf to be referenced in this .dsc file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5935 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoCorrect CompareGuid function
lgao4 [Fri, 19 Sep 2008 09:26:18 +0000 (09:26 +0000)]
Correct CompareGuid function

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5933 6f19259b-4bc3-4df7-8a09-765794883524

13 years ago1. Sync Bug:PXE Boot issue- UefiPxeBc driver currently does not follow PXE Spec
vanjeff [Fri, 19 Sep 2008 07:12:23 +0000 (07:12 +0000)]
1. Sync Bug:PXE Boot issue- UefiPxeBc driver currently does not follow PXE Spec
[Root Cause Analysis]
The PXE offer selection in the PXE driver is splitted into two passes and the two passes are required to follow the same flow. However, in current code, there is some difference between the two.
[Solution]
make the second offer selection pass exactly match the first one.

2. Fixed one bug when allocating pool for UDP transmit packet.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5932 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoUpdate these library instances module type to UEFI_DIRVER, because they only depends...
lgao4 [Fri, 19 Sep 2008 06:22:44 +0000 (06:22 +0000)]
Update these library instances module type to UEFI_DIRVER, because they only depends on UEFI spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5931 6f19259b-4bc3-4df7-8a09-765794883524

13 years ago1. Add three sample PCD in HelloWorld application for user reference of PCD usage.
lgao4 [Fri, 19 Sep 2008 05:05:40 +0000 (05:05 +0000)]
1. Add three sample PCD in HelloWorld application for user reference of PCD usage.

2. PeiCore will always build FvHob for the extracted FvImage once it decompresses the new FvImage.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5930 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoUpdate Library description for BaseMemoryLibOptDxe and BaseMemoryLibOptPei.
lgao4 [Fri, 19 Sep 2008 04:38:53 +0000 (04:38 +0000)]
Update Library description for BaseMemoryLibOptDxe and BaseMemoryLibOptPei.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5929 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoBug Fix in DxeSmmDriverEntryLib.
yshang1 [Fri, 19 Sep 2008 03:42:07 +0000 (03:42 +0000)]
Bug Fix in DxeSmmDriverEntryLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5928 6f19259b-4bc3-4df7-8a09-765794883524

13 years ago1. Change 0 == Length style to Length == 0
lgao4 [Thu, 18 Sep 2008 14:27:39 +0000 (14:27 +0000)]
1. Change 0 == Length style to Length == 0
2. Clean BasePeCoff library instance, only keep one copy PeCoffLoaderEx.c file for IA32, X64 and IPF arch
3. Clean the confused comments

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5927 6f19259b-4bc3-4df7-8a09-765794883524

13 years ago1. Correct CopyMem and CompareMem to CopyGuid and CompareGuid for GUID data
lgao4 [Thu, 18 Sep 2008 09:14:00 +0000 (09:14 +0000)]
1. Correct CopyMem and CompareMem to CopyGuid and CompareGuid for GUID data

2. Add the missing processor type in DataHubRecords/DataHubSubClassProcessor.h file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5926 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoRollback change done in 5919: "Remove the status code EFI_ALREADY_STARTED to avoid...
qwang12 [Thu, 18 Sep 2008 09:03:36 +0000 (09:03 +0000)]
Rollback change done in 5919: "Remove the status code EFI_ALREADY_STARTED to avoid confusion since it is not a possible return status from LoadFile() interface." It is accidentally overwritten in last check-in.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5925 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoRemove the GrowBuffer function. Just use the simple way to get the buffer size and...
qwang12 [Thu, 18 Sep 2008 08:42:11 +0000 (08:42 +0000)]
Remove the GrowBuffer function. Just use the simple way to get the buffer size and then read the buffer. This change improve the readability and save 0x60 byte of data for release build according to MAP file generated for X64 arch.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5924 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFixed HSD201555
jwang36 [Thu, 18 Sep 2008 05:59:18 +0000 (05:59 +0000)]
Fixed HSD201555

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5923 6f19259b-4bc3-4df7-8a09-765794883524

13 years agomodify an issue about data off.
eric_tian [Thu, 18 Sep 2008 01:49:46 +0000 (01:49 +0000)]
modify an issue about data off.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5922 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoAdjust the function layout to remove the prototype of internal functions to reduce...
qhuang8 [Wed, 17 Sep 2008 14:20:29 +0000 (14:20 +0000)]
Adjust the function layout to remove the prototype of internal functions to reduce sync efforts.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5921 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoApply HighBitSet() in MDE baseLib to retire the internal function CoreHighestSetBit().
qhuang8 [Wed, 17 Sep 2008 13:35:14 +0000 (13:35 +0000)]
Apply HighBitSet() in MDE baseLib to retire the internal function CoreHighestSetBit().

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5920 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoRemove the status code EFI_ALREADY_STARTED to avoid confusion since it is not a possi...
qhuang8 [Wed, 17 Sep 2008 13:34:18 +0000 (13:34 +0000)]
Remove the status code EFI_ALREADY_STARTED to avoid confusion since it is not a possible return status from LoadFile() interface.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5919 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoAdjust the function layout of Timer.c to remove the prototype to reduce sync efforts.
qhuang8 [Wed, 17 Sep 2008 13:32:52 +0000 (13:32 +0000)]
Adjust the function layout of Timer.c to remove the prototype to reduce sync efforts.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5918 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoRefine code to remove the last entry of mArchProtocol.
qhuang8 [Wed, 17 Sep 2008 13:31:43 +0000 (13:31 +0000)]
Refine code to remove the last entry of mArchProtocol.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5917 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFix several code review minor comments:
qhuang8 [Wed, 17 Sep 2008 13:29:44 +0000 (13:29 +0000)]
Fix several code review minor comments:
1. Line 79:Use the pre-initialized global variable mPoolHeadList = INITIALIZE_LIST_HEAD_VARIABLE (mPoolHeadList) to remove the statement in line 102
2. Line 337: The debug print statement: “Addr = %x” should change to “Addr = %p” since the expected Buffer is VOID *; How about “(len %x) %,d” ? The Size & Pool->Used belong to type UINTN? Cast it to UINT64 and use %lx
3.Line 413, 418, 425, 477: Use “Buffer != NULL” instead of “NULL != Buffer”
4. Line 451: The debug print statement: “FreePool = %x” should change to FreePool = %p” since Head->Data is pointer; How about “(len %x) %,d” ? The Head->Size& Pool->Used belong to type UINTN? Cast it to UINT64 and use %lx

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5916 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFix several code review minor comments:
qhuang8 [Wed, 17 Sep 2008 13:28:05 +0000 (13:28 +0000)]
Fix several code review minor comments:
1.Line 1520, 1525, 1530:Use goto to save Release Lock
2.Line 224: Do not use DEBUG_ERROR, since it is not an error case
3.Scrub the DEBUG () print statement to add DEBUG_PAGE
4.Line 20: Typo of "help cooalese"

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5915 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFixed one bug in consplitter console input Start/Stop functions for those handlers...
vanjeff [Wed, 17 Sep 2008 09:55:05 +0000 (09:55 +0000)]
Fixed one bug in consplitter console input Start/Stop functions for those handlers only produce SimpleTextIn and not produce SimpleTextEx protocol.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5914 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFixed HSD201384 & HSD201375
jwang36 [Wed, 17 Sep 2008 09:42:38 +0000 (09:42 +0000)]
Fixed HSD201384 & HSD201375

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5913 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoremove unnecessary comments introduced by tools.
vanjeff [Wed, 17 Sep 2008 08:00:13 +0000 (08:00 +0000)]
remove unnecessary comments introduced by tools.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5912 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoremove unnecessary comments introduced by tools from MdePkg. The regular express...
vanjeff [Wed, 17 Sep 2008 07:46:17 +0000 (07:46 +0000)]
remove unnecessary comments introduced by tools from MdePkg. The regular express is "//^p//[  ]Include[ ]common[ ]header[ ]file[ ]for[ ]this[ ]module[.]^p//"

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5911 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoUpdate the comments.
qwang12 [Wed, 17 Sep 2008 03:02:04 +0000 (03:02 +0000)]
Update the comments.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5910 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoUpdate the comments.
qwang12 [Wed, 17 Sep 2008 03:01:41 +0000 (03:01 +0000)]
Update the comments.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5909 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoUpdate the comments.
qwang12 [Wed, 17 Sep 2008 03:01:18 +0000 (03:01 +0000)]
Update the comments.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5908 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoAdd VA_END to end the VA_START.
qwang12 [Wed, 17 Sep 2008 02:30:24 +0000 (02:30 +0000)]
Add VA_END to end the VA_START.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5907 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoRemove the unnecessary spin_lock protection around CoreUnloadImage. There is almost...
qwang12 [Wed, 17 Sep 2008 02:20:24 +0000 (02:20 +0000)]
Remove the unnecessary spin_lock protection around CoreUnloadImage. There is almost zero possibility for this reentrancy issue here. With this change, we also keep EDK 2 and EDK core's CoreUnloadImage consistent with each other.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5906 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoMdePkg/Include/Uefi/UefiTcgPlatform.h:
jljusten [Tue, 16 Sep 2008 16:53:12 +0000 (16:53 +0000)]
MdePkg/Include/Uefi/UefiTcgPlatform.h:
MdePkg/Include/Protocol/TcgService.h:
MdePkg/Include/IndustryStandard/Tpm12.h:
* Remove usage of '#pragma push' unsupported usage which is not
  supported by GCC.

MdeModulePkg/Universal/Network/PxeBcDxe/Pxe_bc_dhcp.c:
* Fix a warning encountered with GCC/IPF when Index2 (as a INT8) is
  used as an index to an array on lines 2020 & 2028.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5905 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFix build error
lgao4 [Tue, 16 Sep 2008 12:53:15 +0000 (12:53 +0000)]
Fix build error

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5904 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoCoreHandleProtocol function description should be corrected.
eric_tian [Tue, 16 Sep 2008 08:02:57 +0000 (08:02 +0000)]
CoreHandleProtocol function description should be corrected.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5903 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoOnly generate the random GUID if a package list already exist in the database.
qwang12 [Tue, 16 Sep 2008 07:56:40 +0000 (07:56 +0000)]
Only generate the random GUID if a package list already exist in the database.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5902 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoMerge the global data in ExecData.c to Event.c
eric_tian [Tue, 16 Sep 2008 07:53:15 +0000 (07:53 +0000)]
Merge the global data in ExecData.c to Event.c

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5901 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFix the build bugs for these three files.
lgao4 [Tue, 16 Sep 2008 07:37:57 +0000 (07:37 +0000)]
Fix the build bugs for these three files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5900 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoComments for CoreInitializeMemoryServices should be updated
eric_tian [Tue, 16 Sep 2008 07:35:17 +0000 (07:35 +0000)]
Comments for CoreInitializeMemoryServices should be updated
Comments for CoreInitializeGcdServices should be updated.
Comments for CoreInitializeEventServices should be updated.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5899 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoThe file name Exec.h contains UEFI Event support functions and structure. But its...
eric_tian [Tue, 16 Sep 2008 07:22:44 +0000 (07:22 +0000)]
The file name Exec.h contains UEFI Event support functions and structure. But its file name is not very meaningful and we can consider renaming it.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5898 6f19259b-4bc3-4df7-8a09-765794883524

13 years agomove BUGBUG comments and add some comments to comply with Spec
eric_tian [Tue, 16 Sep 2008 07:13:42 +0000 (07:13 +0000)]
move BUGBUG comments and add some comments to comply with Spec

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5897 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFramework code may call PreparePacckage with NULL GUID and both IFR and String Packages.
qwang12 [Tue, 16 Sep 2008 06:47:08 +0000 (06:47 +0000)]
Framework code may call PreparePacckage with NULL GUID and both IFR and String Packages.
    PackageList = PreparePackages (2, NULL, IfrPack, StringPack);

    mHii->NewPack( mHii, PackageList, &HiiHandle );

Framework HII database make use of the formset GUID as ID to retrieve String using

EFI_STATUS
GetStringFromToken (
  IN  EFI_GUID                  *ProducerGuid,
  IN  STRING_REF                Token,
  OUT CHAR16                    **String
  )

Update the code to cache the Formset GUID too.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5896 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoCorrect module type for library UefiBootServicesTableLib and UefiRuntimeServicesTableLib.
klu2 [Tue, 16 Sep 2008 06:44:15 +0000 (06:44 +0000)]
Correct module type for library UefiBootServicesTableLib and UefiRuntimeServicesTableLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5895 6f19259b-4bc3-4df7-8a09-765794883524

13 years agofollow up code review
eric_tian [Tue, 16 Sep 2008 06:13:42 +0000 (06:13 +0000)]
follow up code review

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5894 6f19259b-4bc3-4df7-8a09-765794883524

13 years agofollow up code review
eric_tian [Tue, 16 Sep 2008 06:01:21 +0000 (06:01 +0000)]
follow up code review

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5893 6f19259b-4bc3-4df7-8a09-765794883524

13 years agofollow up the comments from code review.
eric_tian [Tue, 16 Sep 2008 05:22:09 +0000 (05:22 +0000)]
follow up the comments from code review.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5892 6f19259b-4bc3-4df7-8a09-765794883524

13 years agofollow up the comments from code review.
eric_tian [Tue, 16 Sep 2008 05:19:25 +0000 (05:19 +0000)]
follow up the comments from code review.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5891 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoCode clean up.
klu2 [Tue, 16 Sep 2008 02:12:35 +0000 (02:12 +0000)]
Code clean up.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5890 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFix the bug in GlueLib that we should depend on the gRT revision to use the proper...
qhuang8 [Fri, 12 Sep 2008 07:54:40 +0000 (07:54 +0000)]
Fix the bug in GlueLib that we should depend on the gRT revision to use the proper report status code function.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5889 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoremove duplicated code.
vanjeff [Fri, 12 Sep 2008 06:05:39 +0000 (06:05 +0000)]
remove duplicated code.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5888 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoadd param ImageHandle for MnpFlushServiceData().
vanjeff [Fri, 12 Sep 2008 05:36:21 +0000 (05:36 +0000)]
add param ImageHandle for MnpFlushServiceData().

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5887 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoChange the status code to EFI_NOT_FOUND for Framework Hii's GetGlyph if EFI_WARN_UNKN...
qwang12 [Fri, 12 Sep 2008 03:01:01 +0000 (03:01 +0000)]
Change the status code to EFI_NOT_FOUND for Framework Hii's GetGlyph if EFI_WARN_UNKNOWN_GLYPH is return from GetGlyph i.e. no matching font found and UNKNOWN glyph is returned.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5886 6f19259b-4bc3-4df7-8a09-765794883524

13 years agomove protocol close process from MnpDriverBindingStart() to MnpFlushServiceData().
vanjeff [Fri, 12 Sep 2008 02:45:02 +0000 (02:45 +0000)]
move protocol close process from MnpDriverBindingStart() to MnpFlushServiceData().

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5885 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoDelete the unused PEIMs. EDK 2 PEI core now support this feature by gEfiMdeModulePkgT...
qwang12 [Fri, 12 Sep 2008 01:56:56 +0000 (01:56 +0000)]
Delete the unused PEIMs. EDK 2 PEI core now support this feature by gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkFvHobCompatibilitySupport.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5884 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoRemove the internal CoreCreateProtocolNotifyEvent() in DxeCore, for UefiLib provide...
qhuang8 [Fri, 12 Sep 2008 01:12:31 +0000 (01:12 +0000)]
Remove the internal CoreCreateProtocolNotifyEvent() in DxeCore, for UefiLib provide the similar function EfiCreateProtocolNotifyEvent(). DxeCore can use that library function.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5883 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFix a typo in ReadMe.txt.
qhuang8 [Fri, 12 Sep 2008 01:05:42 +0000 (01:05 +0000)]
Fix a typo in ReadMe.txt.
We should use -p EdkShellPkg\EdkShellPkg.dsc to specify the DSC file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5882 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoremove '../' from Base Library.
vanjeff [Thu, 11 Sep 2008 09:12:14 +0000 (09:12 +0000)]
remove '../' from Base Library.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5878 6f19259b-4bc3-4df7-8a09-765794883524

13 years agomove and rename it
vanjeff [Thu, 11 Sep 2008 09:08:12 +0000 (09:08 +0000)]
move and rename it

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5877 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoClean up BaseIoLibIntrinsic according to review comments.
vanjeff [Thu, 11 Sep 2008 08:59:52 +0000 (08:59 +0000)]
Clean up BaseIoLibIntrinsic according to review comments.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5876 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoPass GCC build.
qwang12 [Thu, 11 Sep 2008 06:54:24 +0000 (06:54 +0000)]
Pass GCC build.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5875 6f19259b-4bc3-4df7-8a09-765794883524

13 years ago// EFI_FORM_BROWSER_PROTOCOL_GUID has been changed from the one defined in Framework...
qwang12 [Thu, 11 Sep 2008 02:25:52 +0000 (02:25 +0000)]
// EFI_FORM_BROWSER_PROTOCOL_GUID has been changed from the one defined in Framework HII 0.92 as the
// Setup Browser protocol produced by HII Thunk Layer support the UEFI IFR and UEF String Package format.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5874 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoGCC clean.
qwang12 [Thu, 11 Sep 2008 02:25:30 +0000 (02:25 +0000)]
GCC clean.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5873 6f19259b-4bc3-4df7-8a09-765794883524

13 years ago// EFI_HII_PROTOCOL_GUID has been changed from the one defined in Framework HII 0...
qwang12 [Thu, 11 Sep 2008 02:23:31 +0000 (02:23 +0000)]
// EFI_HII_PROTOCOL_GUID has been changed from the one defined in Framework HII 0.92 as the
// Framework HII protocol produced by HII Thunk Layer support the UEF IFR and UEFI String Package
// format.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5872 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoAppend the change log for the non-backward compatibility change in Edk r5869.
qhuang8 [Wed, 10 Sep 2008 16:13:07 +0000 (16:13 +0000)]
Append the change log for the non-backward compatibility change in Edk r5869.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5871 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoUpdate the usage of ALIGN_VARIABLE for the interface change.
qhuang8 [Wed, 10 Sep 2008 16:05:24 +0000 (16:05 +0000)]
Update the usage of ALIGN_VARIABLE for the interface change.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5870 6f19259b-4bc3-4df7-8a09-765794883524

13 years ago1. Add new macro: ALIGN_VALUE to round up a value to the next boundary of a given...
qhuang8 [Wed, 10 Sep 2008 16:00:20 +0000 (16:00 +0000)]
1. Add new macro: ALIGN_VALUE to round up a value to the next boundary of a given alignment.
2. Update ALIGN_POINTER to use the new macro
3. Drop the second parameter of ALIGN_VARIABLE for simplicity. It can also directly use the new macro ALIGN_VALUE.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5869 6f19259b-4bc3-4df7-8a09-765794883524

13 years ago1. Rename gRT in GlueLib to avoid collision with EfiDriverLib
qhuang8 [Wed, 10 Sep 2008 12:53:36 +0000 (12:53 +0000)]
1. Rename gRT in GlueLib to avoid collision with EfiDriverLib
2. Add the extra parameter of PciCfg in the new PeiLibPciCfgModify() to keep the parameter list the same as the PciCfg->Modify(). PciCfg is just a place holder.
3. Allow platform develop to set EDKII_GLUE_PciExpressBaseAddress value in build option.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5868 6f19259b-4bc3-4df7-8a09-765794883524

13 years ago1. Add ASM source files directory into its Include path.
lgao4 [Wed, 10 Sep 2008 06:51:00 +0000 (06:51 +0000)]
1. Add ASM source files directory into its Include path.
2. Change the output directory for ASL files to the subdirectory in order to avoid the same file names.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5867 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFix a bug by adding CoreReleaseProtocolLock.
qwang12 [Wed, 10 Sep 2008 06:30:40 +0000 (06:30 +0000)]
Fix a bug by adding CoreReleaseProtocolLock.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5866 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoAdd EFIAPI modifier for all GCD services APIs
qhuang8 [Wed, 10 Sep 2008 03:25:49 +0000 (03:25 +0000)]
Add EFIAPI modifier for all GCD services APIs

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5865 6f19259b-4bc3-4df7-8a09-765794883524

13 years agocleanup some comments.
eric_tian [Tue, 9 Sep 2008 07:11:51 +0000 (07:11 +0000)]
cleanup some comments.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5864 6f19259b-4bc3-4df7-8a09-765794883524

13 years agofix build issue
eric_tian [Tue, 9 Sep 2008 06:45:35 +0000 (06:45 +0000)]
fix build issue

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5863 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFunction description in baselib.h is not clear. change it to comply with Doxgen format.
eric_tian [Tue, 9 Sep 2008 06:22:30 +0000 (06:22 +0000)]
Function description in baselib.h is not clear. change it to comply with Doxgen format.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5862 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoRemove the prototype of internal functions to avoid the sync efforts.
qhuang8 [Tue, 9 Sep 2008 05:36:40 +0000 (05:36 +0000)]
Remove the prototype of internal functions to avoid the sync efforts.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5861 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoRename Hand.h to Handle.h.
qwang12 [Tue, 9 Sep 2008 05:29:23 +0000 (05:29 +0000)]
Rename Hand.h to Handle.h.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5860 6f19259b-4bc3-4df7-8a09-765794883524

13 years agochanged the format when use "=="
vanjeff [Tue, 9 Sep 2008 05:28:47 +0000 (05:28 +0000)]
changed the format when use "=="

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5859 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoAdjust the field position of PROTOCOL_NOTIFY.
qwang12 [Tue, 9 Sep 2008 05:19:46 +0000 (05:19 +0000)]
Adjust the field position of PROTOCOL_NOTIFY.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5858 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFix the wrong fixing for hardcore value 7.
klu2 [Tue, 9 Sep 2008 05:19:30 +0000 (05:19 +0000)]
Fix the wrong fixing for hardcore value 7.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5857 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoCode cleanup for library instances in MdePkg.
klu2 [Tue, 9 Sep 2008 04:41:59 +0000 (04:41 +0000)]
Code cleanup for library instances in MdePkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5856 6f19259b-4bc3-4df7-8a09-765794883524

13 years agofixed typo.
vanjeff [Tue, 9 Sep 2008 03:19:37 +0000 (03:19 +0000)]
fixed typo.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5855 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoRename Nt32 Fd image name to Nt32.Fd
lgao4 [Tue, 9 Sep 2008 02:53:35 +0000 (02:53 +0000)]
Rename Nt32 Fd image name to Nt32.Fd

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5854 6f19259b-4bc3-4df7-8a09-765794883524

13 years ago1) Update some comment.
qwang12 [Tue, 9 Sep 2008 02:39:44 +0000 (02:39 +0000)]
1) Update some comment.
2) Add in handle for the out_of_resource cases
3) Add in Done label to clean up the code.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5853 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoRemove unused global variable.
qhuang8 [Tue, 9 Sep 2008 01:50:38 +0000 (01:50 +0000)]
Remove unused global variable.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5852 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoRemove two obsolete function prototypes.
qhuang8 [Tue, 9 Sep 2008 01:47:33 +0000 (01:47 +0000)]
Remove two obsolete function prototypes.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5851 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFix typo
qhuang8 [Mon, 8 Sep 2008 23:27:26 +0000 (23:27 +0000)]
Fix typo

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5850 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoAdd missing gEfiFirmwareFileSystem2Guid in INF [Guids] section
qhuang8 [Mon, 8 Sep 2008 23:25:14 +0000 (23:25 +0000)]
Add missing gEfiFirmwareFileSystem2Guid in INF [Guids] section

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5849 6f19259b-4bc3-4df7-8a09-765794883524

13 years ago1) Add CONST to the pointer type input parameter.
qwang12 [Mon, 8 Sep 2008 12:54:26 +0000 (12:54 +0000)]
1) Add CONST to the pointer type input parameter.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5848 6f19259b-4bc3-4df7-8a09-765794883524

13 years ago1) Add CONST to the pointer type input parameter.
qwang12 [Mon, 8 Sep 2008 12:53:50 +0000 (12:53 +0000)]
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

13 years agoChange field Handle to type IHANDLE to remove the type casting.
qwang12 [Mon, 8 Sep 2008 12:50:40 +0000 (12:50 +0000)]
Change field Handle to type IHANDLE to remove the type casting.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5846 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoadd incompatbility changes's description about NULL_HANDLE.
qwang12 [Mon, 8 Sep 2008 10:00:24 +0000 (10:00 +0000)]
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

13 years agouse UnicodeVSPrintAsciiFormat, UnicodeSPrintAsciiFormat to simplify code.
klu2 [Mon, 8 Sep 2008 09:08:26 +0000 (09:08 +0000)]
use UnicodeVSPrintAsciiFormat, UnicodeSPrintAsciiFormat to simplify code.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5844 6f19259b-4bc3-4df7-8a09-765794883524

13 years agouse UnicodeVSPrintAsciiFormat, UnicodeSPrintAsciiFormat to simplify code.
klu2 [Mon, 8 Sep 2008 09:08:04 +0000 (09:08 +0000)]
use UnicodeVSPrintAsciiFormat, UnicodeSPrintAsciiFormat to simplify code.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5843 6f19259b-4bc3-4df7-8a09-765794883524

13 years agowrong comment for "Unicode" string.
klu2 [Mon, 8 Sep 2008 08:35:54 +0000 (08:35 +0000)]
wrong comment for "Unicode" string.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5842 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoremove unused library class.
klu2 [Mon, 8 Sep 2008 08:26:45 +0000 (08:26 +0000)]
remove unused library class.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5841 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoremove unused include file for library class.
klu2 [Mon, 8 Sep 2008 08:23:28 +0000 (08:23 +0000)]
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

13 years agoMinor update for PI include files according to code review comments.
xli24 [Mon, 8 Sep 2008 07:55:40 +0000 (07:55 +0000)]
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

13 years agoUpdate UefiScsiLib to add ASSERT comments and define new macros to replace the hard...
lgao4 [Mon, 8 Sep 2008 05:56:40 +0000 (05:56 +0000)]
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

13 years agoAdd in incompatibility note.
qwang12 [Mon, 8 Sep 2008 05:51:14 +0000 (05:51 +0000)]
Add in incompatibility note.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5837 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoRemove NULL_HANDLE. NULL_HANDLE should be replaced with NULL as consistency. For...
qwang12 [Mon, 8 Sep 2008 05:02:38 +0000 (05:02 +0000)]
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@5836 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoRemove NULL_HANDLE. NULL_HANDLE should be replaced with NULL as consistency. For...
qwang12 [Mon, 8 Sep 2008 05:00:44 +0000 (05:00 +0000)]
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

13 years agoAdd Usb Hid class request type into IndustryStandard/Usb.h, and replace the hard...
lgao4 [Mon, 8 Sep 2008 04:59:00 +0000 (04:59 +0000)]
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

13 years agoAdd more comment for EFI_DEP_REPLACE_TRUE
qwang12 [Mon, 8 Sep 2008 02:00:38 +0000 (02:00 +0000)]
Add more comment for EFI_DEP_REPLACE_TRUE

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5833 6f19259b-4bc3-4df7-8a09-765794883524