]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
15 years agoupdating the doc
jcarsey [Thu, 25 Sep 2008 23:13:48 +0000 (23:13 +0000)]
updating the doc

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

15 years agoremove unnecessary comments introduced by tools.
vanjeff [Thu, 25 Sep 2008 06:51:16 +0000 (06:51 +0000)]
remove unnecessary comments introduced by tools.

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

15 years agoClean up code according to code review.
vanjeff [Thu, 25 Sep 2008 04:56:53 +0000 (04:56 +0000)]
Clean up code according to code review.

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

15 years agorename filename to match actual ones.
vanjeff [Thu, 25 Sep 2008 03:24:17 +0000 (03:24 +0000)]
rename filename to match actual ones.

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

15 years agoRename
vanjeff [Thu, 25 Sep 2008 03:16:01 +0000 (03:16 +0000)]
Rename

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

15 years agoRename
vanjeff [Thu, 25 Sep 2008 03:15:26 +0000 (03:15 +0000)]
Rename

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

15 years agoRename
vanjeff [Thu, 25 Sep 2008 03:14:50 +0000 (03:14 +0000)]
Rename

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

15 years agoChange name.
vanjeff [Thu, 25 Sep 2008 03:13:50 +0000 (03:13 +0000)]
Change name.

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

15 years ago1. Changing filename to match actual ones.
vanjeff [Thu, 25 Sep 2008 02:41:00 +0000 (02:41 +0000)]
1. Changing filename to match actual ones.
2. add MSFT and ICC family flag for Thunk16.asm and EnablePaging64.asm.

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

15 years agoChange name.
vanjeff [Thu, 25 Sep 2008 02:30:14 +0000 (02:30 +0000)]
Change name.

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

15 years agoChange name.
vanjeff [Thu, 25 Sep 2008 02:29:53 +0000 (02:29 +0000)]
Change name.

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

15 years agoChange name.
vanjeff [Thu, 25 Sep 2008 02:29:34 +0000 (02:29 +0000)]
Change name.

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

15 years agoChange name.
vanjeff [Thu, 25 Sep 2008 02:29:15 +0000 (02:29 +0000)]
Change name.

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

15 years agoChange name.
vanjeff [Thu, 25 Sep 2008 02:28:53 +0000 (02:28 +0000)]
Change name.

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

15 years agoChange name.
vanjeff [Thu, 25 Sep 2008 02:28:31 +0000 (02:28 +0000)]
Change name.

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

15 years agoChange name.
vanjeff [Thu, 25 Sep 2008 02:28:09 +0000 (02:28 +0000)]
Change name.

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

15 years agoChange name.
vanjeff [Thu, 25 Sep 2008 02:27:50 +0000 (02:27 +0000)]
Change name.

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

15 years agoChange name.
vanjeff [Thu, 25 Sep 2008 02:27:28 +0000 (02:27 +0000)]
Change name.

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

15 years agoChange name.
vanjeff [Thu, 25 Sep 2008 02:25:24 +0000 (02:25 +0000)]
Change name.

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

15 years agoChange name.
vanjeff [Thu, 25 Sep 2008 02:25:04 +0000 (02:25 +0000)]
Change name.

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

15 years agoChange name.
vanjeff [Thu, 25 Sep 2008 02:24:43 +0000 (02:24 +0000)]
Change name.

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

15 years agoChange name.
vanjeff [Thu, 25 Sep 2008 02:24:20 +0000 (02:24 +0000)]
Change name.

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

15 years agoChange name.
vanjeff [Thu, 25 Sep 2008 02:23:58 +0000 (02:23 +0000)]
Change name.

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

15 years agoClean up code according to code review.
vanjeff [Thu, 25 Sep 2008 02:14:25 +0000 (02:14 +0000)]
Clean up code according to code review.

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

15 years agoSet PcdPlatformBootTimeOutDefault to 10 to enable test automation.
qhuang8 [Wed, 24 Sep 2008 14:40:40 +0000 (14:40 +0000)]
Set PcdPlatformBootTimeOutDefault to 10 to enable test automation.

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

15 years agoUpdate the default value of PcdPlatformBootTimeOutDefault to be 0xffff to be complian...
qhuang8 [Wed, 24 Sep 2008 14:39:46 +0000 (14:39 +0000)]
Update the default value of PcdPlatformBootTimeOutDefault to be 0xffff to be compliant to UEFI spec: If L"Timeout" variable is absent, we treat it as if it were 0xffff and wait for user key.

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

15 years agoUpdate function comments HiiLibListPackageLists
qwang12 [Wed, 24 Sep 2008 12:38:44 +0000 (12:38 +0000)]
Update function comments HiiLibListPackageLists

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

15 years agoUpdate function comments HiiLibListPackageLists
qwang12 [Wed, 24 Sep 2008 12:38:21 +0000 (12:38 +0000)]
Update function comments HiiLibListPackageLists

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

15 years agoChanging unsigned int into UINTN according to code review comments.
vanjeff [Wed, 24 Sep 2008 08:31:38 +0000 (08:31 +0000)]
Changing unsigned int into UINTN according to code review comments.

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

15 years agoRevert back the change. For now, ECP only support build mode with EFI_SPECIFICATION_V...
qwang12 [Wed, 24 Sep 2008 07:00:59 +0000 (07:00 +0000)]
Revert back the change. For now, ECP only support build mode with EFI_SPECIFICATION_VERSION = 0x00020000 and PI_SPECIFICATION_VERSION = 0x00000009.

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

15 years agoclean up baselib according to review comments.
vanjeff [Wed, 24 Sep 2008 05:30:40 +0000 (05:30 +0000)]
clean up baselib according to review comments.

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

15 years agofix a issue caused by code review follow up
eric_tian [Wed, 24 Sep 2008 05:01:24 +0000 (05:01 +0000)]
fix a issue caused by code review follow up

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

15 years agoUpdate BaseLib according to code review comments.
xli24 [Wed, 24 Sep 2008 04:17:16 +0000 (04:17 +0000)]
Update BaseLib according to code review comments.

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

15 years agoAdd an ASSERT to make sure this thunk module can only be used together with a PI...
qwang12 [Wed, 24 Sep 2008 02:54:40 +0000 (02:54 +0000)]
Add an ASSERT to make sure this thunk module can only be used together with a PI PEI core, as we
assume PeiServices Pointer Table can be located in a standard way defined in PI spec.

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

15 years agoadd detail comments on the complicated code segment.
eric_tian [Tue, 23 Sep 2008 14:49:45 +0000 (14:49 +0000)]
add detail comments on the complicated code segment.

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

15 years agoGenFds fix two UI sections error.
jlin16 [Tue, 23 Sep 2008 09:28:11 +0000 (09:28 +0000)]
GenFds fix two UI sections error.

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

15 years agoAdd assert check to make sure new stack size larger than old stack size.
lgao4 [Tue, 23 Sep 2008 09:11:12 +0000 (09:11 +0000)]
Add assert check to make sure new stack size larger than old stack size.

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

15 years agoRefine code for MdePkg/Include/Ppi according to code review comments.
xli24 [Tue, 23 Sep 2008 07:55:57 +0000 (07:55 +0000)]
Refine code for MdePkg/Include/Ppi according to code review comments.

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

15 years agoRefine code for PiPeiCis.h according to code review comments.
xli24 [Tue, 23 Sep 2008 07:52:06 +0000 (07:52 +0000)]
Refine code for PiPeiCis.h according to code review comments.

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

15 years agomove header files in MdeModulePkg\Core\Dxe except DxeMain.h into their corresponding...
eric_tian [Tue, 23 Sep 2008 07:35:34 +0000 (07:35 +0000)]
move header files in MdeModulePkg\Core\Dxe except DxeMain.h into their corresponding sub-module directories. It is used to provide good modularity.

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

15 years agoDon't align image address for TeImage, because TeImage section alignment is undefined.
lgao4 [Tue, 23 Sep 2008 07:16:46 +0000 (07:16 +0000)]
Don't align image address for TeImage, because TeImage section alignment is undefined.

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

15 years agoUpdate EfiLibReportStatusCode in ECP EfiDriverLib and EfiRuntimeLib libraries to...
lgao4 [Tue, 23 Sep 2008 07:16:03 +0000 (07:16 +0000)]
Update EfiLibReportStatusCode in ECP EfiDriverLib and EfiRuntimeLib libraries to check uefi version in runtime not in build time.

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

15 years agoAdd gEfiHiiFontProtocolGuid AND gEfiFormBrowser2ProtocolGuid into depex as they...
qwang12 [Mon, 22 Sep 2008 10:37:05 +0000 (10:37 +0000)]
Add  gEfiHiiFontProtocolGuid AND gEfiFormBrowser2ProtocolGuid into depex as they are quired for this module to work.

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

15 years ago1) Replace mBS with gBS from UefiBootServicesTablePointer Lib to avoid library instan...
qwang12 [Mon, 22 Sep 2008 10:20:41 +0000 (10:20 +0000)]
1) Replace mBS with gBS from UefiBootServicesTablePointer Lib to avoid library instance to cache too many copies of Boot Service Pointer.
2) Check gBS before make call using it.

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

15 years agoReplace mBS with gBS from UefiBootServicesTablePointer Lib to avoid library instance...
qwang12 [Mon, 22 Sep 2008 09:41:40 +0000 (09:41 +0000)]
Replace mBS with gBS from UefiBootServicesTablePointer Lib to avoid library instance to cache too many copies of Boot Service Pointer.

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

15 years agoCleanup "Tiano" word.
klu2 [Mon, 22 Sep 2008 05:22:41 +0000 (05:22 +0000)]
Cleanup "Tiano" word.

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

15 years agoCode clean up
klu2 [Mon, 22 Sep 2008 02:48:13 +0000 (02:48 +0000)]
Code clean up

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

15 years agoupdated the incompatible list.
qwang12 [Sun, 21 Sep 2008 08:59:01 +0000 (08:59 +0000)]
updated the incompatible list.

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

15 years agoHiiLibGetCurrentLanguage returns the current UEFI variable "PlatformLang" (if this...
qwang12 [Sun, 21 Sep 2008 08:51:15 +0000 (08:51 +0000)]
HiiLibGetCurrentLanguage returns the current UEFI variable "PlatformLang" (if this variable does not exist, a default value is returned). This function is called by HiiDatabase itself. Now, HiiLibGetCurrentLanguage is in HiiLib. Because of this, we can't add location of Hii protoocol in the library constructor of HiiLib. This cause Hii Database driver never get loaded (circular dependency).

By moving HiiLibGetCurrentLanguage to UefiLib, library constructor (depex) can be added back to HiiLib to make sure the execution order is correct.

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

15 years agoHiiLibGetCurrentLanguage returns the current UEFI variable "PlatformLang" (if this...
qwang12 [Sun, 21 Sep 2008 08:50:52 +0000 (08:50 +0000)]
HiiLibGetCurrentLanguage returns the current UEFI variable "PlatformLang" (if this variable does not exist, a default value is returned). This function is called by HiiDatabase itself. Now, HiiLibGetCurrentLanguage is in HiiLib. Because of this, we can't add location of Hii protoocol in the library constructor of HiiLib. This cause Hii Database driver never get loaded (circular dependency).

By moving HiiLibGetCurrentLanguage to UefiLib, library constructor (depex) can be added back to HiiLib to make sure the execution order is correct.

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

15 years agoCloseEvent in ReportStatusCodeLibDestruct can only be called when the library instanc...
qwang12 [Sun, 21 Sep 2008 08:18:48 +0000 (08:18 +0000)]
CloseEvent in ReportStatusCodeLibDestruct can only be called when the library instance is not linked with a SMM driver (for example a boot dirver or EFI Runtime capable driver).

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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