13 years agoUpdate filename case of X64 binary to match the IA32 and IPF binary filenames.
mdkinney [Fri, 25 Jun 2010 18:01:28 +0000 (18:01 +0000)]
Update filename case of X64 binary to match the IA32 and IPF binary filenames.

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

13 years agoAdd binary of the shell back with proper case in filename.
mdkinney [Fri, 25 Jun 2010 18:00:37 +0000 (18:00 +0000)]
Add binary of the shell back with proper case in filename.

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

13 years agoRemove shell binary with incorrect case in filename.
mdkinney [Fri, 25 Jun 2010 17:59:49 +0000 (17:59 +0000)]
Remove shell binary with incorrect case in filename.

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

13 years agoUpdate BASE_NAME to match the file names of the shell binaries so the INF files can...
mdkinney [Fri, 25 Jun 2010 17:53:08 +0000 (17:53 +0000)]
Update BASE_NAME to match the file names of the shell binaries so the INF files can be used from a DSC/FDF file to include the binary of the shell in a platform.

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

13 years agoFix minor spec compliance issue: "EFI_DEVICE_PATH_CREATE_NODE" should be "EFI_DEVICE_...
qhuang8 [Fri, 25 Jun 2010 03:38:18 +0000 (03:38 +0000)]
Fix minor spec compliance issue: "EFI_DEVICE_PATH_CREATE_NODE" should be "EFI_DEVICE_PATH_UTILS_CREATE_NODE" according to UEFI spec.

As it is unlikely for any user code to directly use this definition, this update should not cause any build break issue.

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

13 years agoMinor grammatical work--mostly adding periods. Items with ONLY period added did...
myronporter [Thu, 24 Jun 2010 20:11:34 +0000 (20:11 +0000)]
Minor grammatical work--mostly adding periods.  Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated.  Sending  separately a list of files missing Doxygen @param and @return information. (PENDING)

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

13 years agoMinor grammatical work--mostly adding periods. Items with ONLY period added did...
myronporter [Thu, 24 Jun 2010 00:20:35 +0000 (00:20 +0000)]
Minor grammatical work--mostly adding periods.  Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated.  Sending  separately a list of files missing Doxygen @param and @return information. (PENDING)

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

13 years agoAdd back the removed pair of "#ifndef VA_START" and "#endif" in recent check-in to...
rsun3 [Wed, 23 Jun 2010 06:55:56 +0000 (06:55 +0000)]
Add back the removed pair of "#ifndef VA_START" and "#endif" in recent check-in to avoid macro redefinition.

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

13 years agoMinor grammatical work--mostly adding periods. Items with ONLY period added did...
myronporter [Tue, 22 Jun 2010 23:56:19 +0000 (23:56 +0000)]
Minor grammatical work--mostly adding periods.  Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated.  Sending  separately a list of files missing Doxygen @param and @return information. (PENDING)

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

13 years agoMinor grammatical work--mostly adding periods. Items with ONLY period added did...
MyronPorter [Tue, 22 Jun 2010 22:59:38 +0000 (22:59 +0000)]
Minor grammatical work--mostly adding periods.  Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated.  Sending  separately a list of files missing Doxygen @param and @return information. (PENDING)

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

13 years agoPcAtChipsetPkg PciHostBridgeDxe: Fix build warning with GCC
jljusten [Sat, 19 Jun 2010 06:08:07 +0000 (06:08 +0000)]
PcAtChipsetPkg PciHostBridgeDxe: Fix build warning with GCC

Add default case to switch blocks to remove GCC compiler warning.
The default case code path should never be taken.

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

13 years agoUpdate PcAtChipsetPkg PciRootBridgeIo to consume IoLib&PciLib.
rsun3 [Fri, 18 Jun 2010 09:21:47 +0000 (09:21 +0000)]
Update PcAtChipsetPkg PciRootBridgeIo to consume IoLib&PciLib.

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

13 years agoRemove some unnecessary clear screen from console drivers.
li-elvin [Fri, 18 Jun 2010 09:19:29 +0000 (09:19 +0000)]
Remove some unnecessary clear screen from console drivers.

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

13 years agoAdd a missing parameter description in the function header for CoreFindFreePagesI().
rsun3 [Thu, 17 Jun 2010 07:18:53 +0000 (07:18 +0000)]
Add a missing parameter description in the function header for CoreFindFreePagesI().

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

13 years agoFix the bug that definition of EFI_DISPATCH_OPROM_TABLE does not follow Framework...
xli24 [Thu, 17 Jun 2010 05:51:31 +0000 (05:51 +0000)]
Fix the bug that definition of EFI_DISPATCH_OPROM_TABLE does not follow Framework CSM Spec v0.97.

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

13 years agoEdkCompatibilityPkg: Fix EFIAPI usage inconsistencies
jljusten [Tue, 15 Jun 2010 02:46:49 +0000 (02:46 +0000)]
EdkCompatibilityPkg: Fix EFIAPI usage inconsistencies

These inconsistencies cause a build error for GCC 4.4 X64.

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

13 years agoECP MpServicesOnFrameworkMpServicesThunk: Fix build with GCC
jljusten [Tue, 15 Jun 2010 02:46:22 +0000 (02:46 +0000)]
ECP MpServicesOnFrameworkMpServicesThunk: Fix build with GCC

Add definitions for IdtrProfile (IA32) and IdtrLocation (X64) into
GCC assembly code files.

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

13 years agoEdkCompatibilityPkg VA_LIST: Fix build issue with GCC 4.4
jljusten [Tue, 15 Jun 2010 02:46:03 +0000 (02:46 +0000)]
EdkCompatibilityPkg VA_LIST: Fix build issue with GCC 4.4

Merge from MdePkg/Include/Base.h to fix build issues with GCC 4.4.

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

13 years agoEdkCompatibilityPkg IA32 EfiBind.h: Do not include stdint.h
jljusten [Tue, 15 Jun 2010 02:45:51 +0000 (02:45 +0000)]
EdkCompatibilityPkg IA32 EfiBind.h: Do not include stdint.h

Merge from MdePkg/Include/Ia32/ProcessorBind.h.  Do not include
stdint.h.  Instead define the basic types ourselves.

This fixes a build issue with GCC on X64 Linux.

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

13 years agoSync FrameworkUefiLib with the MdePkg UefiLib
mdkinney [Mon, 14 Jun 2010 23:32:07 +0000 (23:32 +0000)]
Sync FrameworkUefiLib with the MdePkg UefiLib

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

13 years agoUpdate NT32 to produce the gEfiMemoryTypeInformation HOB
mdkinney [Mon, 14 Jun 2010 23:29:06 +0000 (23:29 +0000)]
Update NT32 to produce the gEfiMemoryTypeInformation HOB

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

13 years agoUpdate NT32 BDS Library to call GenericBdsLib function to save gEfiMemoryTypeInformation
mdkinney [Mon, 14 Jun 2010 23:28:21 +0000 (23:28 +0000)]
Update NT32 BDS Library to call GenericBdsLib function to save gEfiMemoryTypeInformation

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

13 years agoAllow gEfiMemoryTypeInformation bins to shrink if boot mode is BOOT_WITH_DEFAULT_SETT...
mdkinney [Mon, 14 Jun 2010 23:23:58 +0000 (23:23 +0000)]
Allow gEfiMemoryTypeInformation bins to shrink if boot mode is BOOT_WITH_DEFAULT_SETTINGS or the gEfiMemoryTypeInformation variable does not exist.
Update BdsSetMemoryTypeInformationVariable() to use DEBUG() prints to show the Previous, Current, and Next sizes of each memory bin type.

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

13 years ago1) Improve how memory usage is tracked in DXE Core
mdkinney [Mon, 14 Jun 2010 23:21:26 +0000 (23:21 +0000)]
1) Improve how memory usage is tracked in DXE Core
2) Update GetMemoryMap() to merge adjacent memory descriptors with identical types and attributes.

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

13 years agoAdd a UNION definition (IP_IO_IP_PROTOOCL) for EFI_IP4/6_PROTOCOL and change IP_IO...
qianouyang [Sun, 13 Jun 2010 08:18:10 +0000 (08:18 +0000)]
Add a UNION definition (IP_IO_IP_PROTOOCL) for EFI_IP4/6_PROTOCOL and change IP_IO structure using this UNION to point the special IP Protocol.

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

13 years agoInitialize the local variable before refer to them.
lgao4 [Sat, 12 Jun 2010 03:14:26 +0000 (03:14 +0000)]
Initialize the local variable before refer to them.

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

13 years agoAdd ASSERT() conditions to UEFI Library Print() and AsciiPrint() functions if gST...
mdkinney [Fri, 11 Jun 2010 19:11:20 +0000 (19:11 +0000)]
Add ASSERT() conditions to UEFI Library Print() and AsciiPrint() functions if gST->ConOut is NULL.
Add ASSERT() conditions to UEFI Library ErrorPrint() and AsciiErrorPrint() functions if gST->StdErr is NULL.
Add ASSERT() conditions to UEFI Library PrintXY() and AsciiPrintXY() gST->ConsoleOutputHandle is NULL.
Update Print(), AsciiPrint(), ErrorPrint(), AsciiErrorPrint() to return 0 if the Simple Text Output Protocol OutputString() call returns an error.

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

13 years ago1.Restore BSP IDT table to AP when AP wakeup.
vanjeff [Fri, 11 Jun 2010 08:24:01 +0000 (08:24 +0000)]
1.Restore BSP IDT table to AP when AP wakeup.
2.Restore Virtual wire mode on AP when AP wakeup.

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

13 years agoAdd more check to make sure code run safely.
lgao4 [Fri, 11 Jun 2010 07:47:06 +0000 (07:47 +0000)]
Add more check to make sure code run safely.

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

13 years agoSkip restoration of DRx registers to support in-circuit emualators or debuggers set...
rsun3 [Fri, 11 Jun 2010 03:22:15 +0000 (03:22 +0000)]
Skip restoration of DRx registers to support in-circuit emualators or debuggers set breakpoint in interrupt/exception context.

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

13 years agoMinor grammatical work--mostly adding periods. Sending separately a list of files...
myronporter [Fri, 11 Jun 2010 00:02:51 +0000 (00:02 +0000)]
Minor grammatical work--mostly adding periods.  Sending  separately a list of files missing Doxygen @param and @return information.

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

13 years agoremove --image-base option EfiLdr.inf, and use GenFw to do image base relocation
klu2 [Thu, 10 Jun 2010 08:54:18 +0000 (08:54 +0000)]
remove --image-base option EfiLdr.inf, and use GenFw to do image base relocation

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

13 years agoUpdate Shell binaries to integrate recent updates in EDK shell project and integrate...
qhuang8 [Wed, 9 Jun 2010 02:07:34 +0000 (02:07 +0000)]
Update Shell binaries to integrate recent updates in EDK shell project and integrate one hot fix in hexedit.

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

13 years agoFix the issue that if OEM SMBIOS data includes string, it will cause SmbiosFldMiscTyp...
li-elvin [Wed, 9 Jun 2010 02:04:12 +0000 (02:04 +0000)]
Fix the issue that if OEM SMBIOS data includes string, it will cause SmbiosFldMiscTypeOEM buffer overflow.

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

13 years agofix GCC X64 build broken
klu2 [Sat, 5 Jun 2010 11:06:17 +0000 (11:06 +0000)]
fix GCC X64 build broken

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

13 years agofix X64 build broken
klu2 [Sat, 5 Jun 2010 11:01:28 +0000 (11:01 +0000)]
fix X64 build broken

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

13 years agoChange MaxBlock to HEX value to avoid GCC build failure.
li-elvin [Fri, 4 Jun 2010 05:27:03 +0000 (05:27 +0000)]
Change MaxBlock to HEX value to avoid GCC build failure.

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

13 years agoDo the following fix up in SetupBrowser driver:
lgao4 [Fri, 4 Jun 2010 01:29:03 +0000 (01:29 +0000)]
Do the following fix up in SetupBrowser driver:
  1)  Check whether ConfigAccess is NULL before use it.
  2)  Don't do call back for UI_ACTION_REFRESH_FORMSET action.
  3)  Release resource before leave SetupBrowser() function.
  4)  Use the unified check method (HiiHandle, FormsetGuid and FormId) to check FORM is open or close.

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

13 years agoFix the issue that ASSERT() at line 1391 incorrectly asserts when order list variable...
xli24 [Thu, 3 Jun 2010 08:49:46 +0000 (08:49 +0000)]
Fix the issue that ASSERT() at line 1391 incorrectly asserts when order list variable is empty.

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

13 years agoConvert some C-style comments to Doxygen style for coding standard compliance.
darylm503 [Thu, 3 Jun 2010 02:15:55 +0000 (02:15 +0000)]
Convert some C-style comments to Doxygen style for coding standard compliance.

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

13 years agoFixed tracker #203752, Dhcp4 assert issue.
hhuan13 [Wed, 2 Jun 2010 07:55:14 +0000 (07:55 +0000)]
Fixed tracker #203752, Dhcp4 assert issue.

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

13 years agoPer UEFI spec, FORM_OPEN/FORM_CLOSE Callback function should be called for each quest...
lgao4 [Wed, 2 Jun 2010 02:06:01 +0000 (02:06 +0000)]
Per UEFI spec, FORM_OPEN/FORM_CLOSE Callback function should be called for each question in the form when this form opens or closes.

Update all EDKII HII drivers to correctly handle FORM_OPEN and FORM_CLOSE call back.

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

13 years agoPer UEFI spec, FORM_OPEN/FORM_CLOSE Callback function should be called for each quest...
lgao4 [Wed, 2 Jun 2010 02:05:47 +0000 (02:05 +0000)]
Per UEFI spec, FORM_OPEN/FORM_CLOSE Callback function should be called for each question in the form when this form opens or closes.

Update SetupBrowser driver to call Callback function (FORM_OPEN/FORM_CLOSE) based on UEFI spec, and update all EDKII HII drivers to correctly handle FORM_OPEN and FORM_CLOSE call back.

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

13 years agoFixed issue with InternalX86ReadIdtr referencing LDT read and not IDT read operation.
geekboy15a [Tue, 1 Jun 2010 22:46:53 +0000 (22:46 +0000)]
Fixed issue with InternalX86ReadIdtr referencing LDT read and not IDT read operation.

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

13 years agoUpdate EdkShellPkg.dsc read me to add a note to remind developers to update platform...
qhuang8 [Tue, 1 Jun 2010 00:56:57 +0000 (00:56 +0000)]
Update EdkShellPkg.dsc read me to add a note to remind developers to update platform FDF files when they want to debug shell package to replace binaries from EdkShellBinPkg

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

13 years agoCorrect the svn repository link
klu2 [Mon, 31 May 2010 13:17:51 +0000 (13:17 +0000)]
Correct the svn repository link

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

13 years agoAdd DMA Lib for generic ARM cache coherency model.
andrewfish [Sat, 29 May 2010 00:34:43 +0000 (00:34 +0000)]
Add DMA Lib for generic ARM cache coherency model.

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

13 years agoClean up OMAP DMA lib and split into generic DMA lib based on PCI_IO DMA abstractions...
andrewfish [Sat, 29 May 2010 00:21:30 +0000 (00:21 +0000)]
Clean up OMAP DMA lib and split into generic DMA lib based on PCI_IO DMA abstractions and  make OMAP DMA lib about channel programming only.

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

13 years agoNullDmaLib:DmaMap() function needs to return valid DeviceAddress.
andrewfish [Fri, 28 May 2010 22:50:59 +0000 (22:50 +0000)]
NullDmaLib:DmaMap() function needs to return valid DeviceAddress.

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

13 years agoMake the [BuildOption] match the others for GCC.
andrewfish [Fri, 28 May 2010 22:39:53 +0000 (22:39 +0000)]
Make the [BuildOption] match the others for GCC.

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

13 years agoSet the default compilers arch flags for these packages
andrewfish [Fri, 28 May 2010 22:37:55 +0000 (22:37 +0000)]
Set the default compilers arch flags for these packages

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

13 years agoAdd a DMA lib that works like PCI_IO protocl. Add a NULL version that would work...
andrewfish [Fri, 28 May 2010 12:44:36 +0000 (12:44 +0000)]
Add a DMA lib that works like PCI_IO protocl. Add a NULL version that would work with Intel (DMA is coherent no matter what you do).

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

13 years agoIf SCSI version support Read/Write (16) command, use both commands to access disk...
li-elvin [Fri, 28 May 2010 06:58:59 +0000 (06:58 +0000)]
If SCSI version support Read/Write (16) command, use both commands to access disk especially for above 2TB.

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

13 years agoAdd Read/Write (16) command to SCSI library.
li-elvin [Fri, 28 May 2010 06:57:15 +0000 (06:57 +0000)]
Add Read/Write (16) command to SCSI library.

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

13 years agoremove unnecessary EFI64_SHADOW_ALL_LEGACY_ROM in GenericBdsLib.
niruiyu [Fri, 28 May 2010 01:59:30 +0000 (01:59 +0000)]
remove unnecessary EFI64_SHADOW_ALL_LEGACY_ROM in GenericBdsLib.

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

13 years agoFix line ending issue. Update DMA Map primatives to double buffer if buffer does...
andrewfish [Fri, 28 May 2010 00:31:53 +0000 (00:31 +0000)]
Fix line ending issue. Update DMA Map primatives to double buffer if buffer does not start on cache line boundary. If buffer is not a multiple of a cache line only whole cache lines will be allowed in the buffer. This is part of the MAP API.

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

13 years agoAdd a little more code for SD Card DMA, but make sure it is turned off until it...
andrewfish [Fri, 28 May 2010 00:29:31 +0000 (00:29 +0000)]
Add a little more code  for SD Card DMA, but make sure it is turned off until it is debugged.

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

13 years agoRemove references to a package that does not exist.
andrewfish [Thu, 27 May 2010 23:12:27 +0000 (23:12 +0000)]
Remove references to a package that does not exist.

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

13 years agoAdd three HiiLib APIs: HiiCreateTextOpCode, HiiCreateDateOpCode and HiiCreateTimeOpCode
lgao4 [Thu, 27 May 2010 02:54:25 +0000 (02:54 +0000)]
Add three HiiLib APIs: HiiCreateTextOpCode, HiiCreateDateOpCode and HiiCreateTimeOpCode

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

13 years agosynchronize interget type definition from MdePkg's processbinding.h to make build...
klu2 [Wed, 26 May 2010 05:29:33 +0000 (05:29 +0000)]
synchronize interget type definition from MdePkg's processbinding.h to make build pass under GCC44 tool chain

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

13 years agoLibrary interface should be declared as EFIAPI
klu2 [Tue, 25 May 2010 06:26:28 +0000 (06:26 +0000)]
Library interface should be declared as EFIAPI

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

13 years agoStatus code handler callback should be declared as EFIAPI
klu2 [Tue, 25 May 2010 06:17:51 +0000 (06:17 +0000)]
Status code handler callback should be declared as EFIAPI

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

13 years agoUse the ASSERT() for parameter checking as the 4th parameter of internal worker funct...
lgao4 [Mon, 24 May 2010 02:45:17 +0000 (02:45 +0000)]
Use the ASSERT() for parameter checking as the 4th parameter of internal worker function of MakeTable() must be <= 16.

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

13 years agoAdd the missing PalLib NULL instance.
lgao4 [Mon, 24 May 2010 01:35:52 +0000 (01:35 +0000)]
Add the missing PalLib NULL instance.

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

13 years agoAdd the missing PalLib NULL instance.
lgao4 [Sun, 23 May 2010 09:42:29 +0000 (09:42 +0000)]
Add the missing PalLib NULL instance.

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

13 years agoFixed the issue of that IP4driver can’t correctly reassemble the Out of Sequence...
qianouyang [Fri, 21 May 2010 09:39:26 +0000 (09:39 +0000)]
Fixed the issue of that IP4driver can’t correctly reassemble the Out of Sequence Fragments.

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

13 years agoFor BdsDxe module,
xli24 [Fri, 21 May 2010 07:40:24 +0000 (07:40 +0000)]
For BdsDxe module,
1. Fix the risk that local variable is pointed by global pointer, which may be used outside the variable scope.
2. Add more checking for pointers.

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

13 years agoClean up package/platform DSC files by the following steps:
lgao4 [Fri, 21 May 2010 02:49:52 +0000 (02:49 +0000)]
Clean up package/platform DSC files by the following steps:
  1. Remove PCDs those use the default values/types from the DEC file.
  2. Remove the unused library instances.
  3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules.

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

13 years agoClean up package/platform DSC files by the following steps:
lgao4 [Fri, 21 May 2010 02:49:45 +0000 (02:49 +0000)]
Clean up package/platform DSC files by the following steps:
  1. Remove PCDs those use the default values/types from the DEC file.
  2. Remove the unused library instances.
  3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules.

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

13 years agoClean up package/platform DSC files by the following steps:
lgao4 [Fri, 21 May 2010 02:49:42 +0000 (02:49 +0000)]
Clean up package/platform DSC files by the following steps:
  1. Remove PCDs those use the default values/types from the DEC file.
  2. Remove the unused library instances.
  3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules.

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

13 years agoClean up package/platform DSC files by the following steps:
lgao4 [Fri, 21 May 2010 02:49:38 +0000 (02:49 +0000)]
Clean up package/platform DSC files by the following steps:
  1. Remove PCDs those use the default values/types from the DEC file.
  2. Remove the unused library instances.
  3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules.

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

13 years agoClean up package/platform DSC files by the following steps:
lgao4 [Fri, 21 May 2010 02:49:33 +0000 (02:49 +0000)]
Clean up package/platform DSC files by the following steps:
  1. Remove PCDs those use the default values/types from the DEC file.
  2. Remove the unused library instances.
  3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules.

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

13 years agoClean up package/platform DSC files by the following steps:
lgao4 [Fri, 21 May 2010 02:49:29 +0000 (02:49 +0000)]
Clean up package/platform DSC files by the following steps:
  1. Remove PCDs those use the default values/types from the DEC file.
  2. Remove the unused library instances.
  3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules.

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

13 years agoClean up package/platform DSC files by the following steps:
lgao4 [Fri, 21 May 2010 02:49:26 +0000 (02:49 +0000)]
Clean up package/platform DSC files by the following steps:
  1. Remove PCDs those use the default values/types from the DEC file.
  2. Remove the unused library instances.
  3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules.

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

13 years agoClean up package/platform DSC files by the following steps:
lgao4 [Fri, 21 May 2010 02:49:25 +0000 (02:49 +0000)]
Clean up package/platform DSC files by the following steps:
  1. Remove PCDs those use the default values/types from the DEC file.
  2. Remove the unused library instances.
  3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules.

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

13 years agoClean up package/platform DSC files by the following steps:
lgao4 [Fri, 21 May 2010 02:49:16 +0000 (02:49 +0000)]
Clean up package/platform DSC files by the following steps:
  1. Remove PCDs those use the default values/types from the DEC file.
  2. Remove the unused library instances.
  3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules.

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

13 years agoMdeModulePkg AcpiTableDxe: Fix GCC build warning
jljusten [Thu, 20 May 2010 21:12:27 +0000 (21:12 +0000)]
MdeModulePkg AcpiTableDxe: Fix GCC build warning

Initialize MaxSize variable to prevent GCC warning.

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

13 years agoMdePkg BaseLib: Fix GCC build break
jljusten [Thu, 20 May 2010 21:12:18 +0000 (21:12 +0000)]
MdePkg BaseLib: Fix GCC build break

Only use X86MemoryFence.c for INTEL and MSFT.  MemoryFence is defined
in GccInline.c for GCC.

This change is the same as r10522, but for X64.

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

13 years agofix a bug that FindVariable() may set GoneThrough flag wrongly when a >64K variable...
erictian [Thu, 20 May 2010 09:12:12 +0000 (09:12 +0000)]
fix a bug that FindVariable() may set GoneThrough flag wrongly when a >64K variable exists.

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

13 years agoWaiting for redeye so I added some memory map comments to ArmEb.h. Also fixed assembl...
andrewfish [Thu, 20 May 2010 05:36:46 +0000 (05:36 +0000)]
Waiting for redeye so I added some memory map comments to ArmEb.h. Also fixed assembly syntax issue with GCC.

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

13 years agoFix GCC build break as MemoryFence() API has already been included in GccInline.c...
qhuang8 [Thu, 20 May 2010 05:30:55 +0000 (05:30 +0000)]
Fix GCC build break as MemoryFence() API has already been included in GccInline.c in BaseLib.

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

13 years agoFix some typos
qhuang8 [Thu, 20 May 2010 05:23:50 +0000 (05:23 +0000)]
Fix some typos

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

13 years agoRefine function comment to follow doxygen format.
klu2 [Thu, 20 May 2010 03:29:26 +0000 (03:29 +0000)]
Refine function comment to follow doxygen format.

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

13 years agoTemporarily remove build-in __sync_val_compare_and_swap() in the implementation of...
qhuang8 [Wed, 19 May 2010 06:06:40 +0000 (06:06 +0000)]
Temporarily remove build-in __sync_val_compare_and_swap() in the implementation of sync functions.

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

13 years agoFix VS2003 build error
jyao1 [Wed, 19 May 2010 06:02:17 +0000 (06:02 +0000)]
Fix VS2003 build error

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

13 years agoFix GCC build issue
andrewfish [Wed, 19 May 2010 04:49:40 +0000 (04:49 +0000)]
Fix GCC build issue

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

13 years agoMove TscTimerLib library to correct CPU ARCH as it depends on BaseLib API AsmReadTsc...
qhuang8 [Wed, 19 May 2010 03:33:07 +0000 (03:33 +0000)]
Move TscTimerLib library to correct CPU ARCH as it depends on BaseLib API AsmReadTsc(), which is only available for Ia32 & x64 CPU.

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

13 years agoRemove unicode code in source code.
qhuang8 [Wed, 19 May 2010 03:30:22 +0000 (03:30 +0000)]
Remove unicode code in source code.

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

13 years agoUpdate QueryCapsuleCapabilities interface.
li-elvin [Wed, 19 May 2010 02:31:41 +0000 (02:31 +0000)]
Update QueryCapsuleCapabilities interface.
1. Check all capsules to decide reset type instead of only checking the first capsule.
2. One purpose of MaxiumCapsuleSize is to ensure platform memory size is enough to handle capsule with reset type in PEI. Max capsule size should be returned for with/without reset flag cases.

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

13 years agoadd security check.
vanjeff [Wed, 19 May 2010 01:49:34 +0000 (01:49 +0000)]
add security check.

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

13 years agoFix GCC error
andrewfish [Wed, 19 May 2010 01:47:25 +0000 (01:47 +0000)]
Fix GCC error

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

13 years agoFixup to point to real RAM and NOR addressess.
andrewfish [Wed, 19 May 2010 01:44:13 +0000 (01:44 +0000)]
Fixup to point to real RAM and NOR addressess.

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

13 years agoFix GCC buid issue.
andrewfish [Tue, 18 May 2010 21:32:49 +0000 (21:32 +0000)]
Fix GCC buid issue.

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

13 years agoAdded stub RTC lib, turned on option of building debug agent (GDB STUB) into SEC...
andrewfish [Tue, 18 May 2010 21:04:30 +0000 (21:04 +0000)]
Added stub RTC lib, turned on option of building debug agent (GDB STUB) into SEC. Added the platform library template needed to break into GDB stub with ctrl-c. Cleaned up PCDs for selecting serial ports for Console or GDB usage. Filled in GDB Serial Port lib.

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

13 years agoFix newline at end of file issue.
andrewfish [Tue, 18 May 2010 21:01:12 +0000 (21:01 +0000)]
Fix newline at end of file issue.

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

13 years agoFix grammer in comment
andrewfish [Tue, 18 May 2010 20:31:03 +0000 (20:31 +0000)]
Fix grammer in comment

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

13 years agoUpdate copyright format
hhtian [Tue, 18 May 2010 11:40:39 +0000 (11:40 +0000)]
Update copyright format

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

13 years agoUpdate copyright format
hhtian [Tue, 18 May 2010 11:39:46 +0000 (11:39 +0000)]
Update copyright format

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

13 years agoSetting svn:executable property on applications that do not have it set at this time
lgao4 [Tue, 18 May 2010 09:39:47 +0000 (09:39 +0000)]
Setting svn:executable property on applications that do not have it set at this time

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

13 years ago1. Restore the inline C implementation of GCC assembly files that was temporarily...
qhuang8 [Tue, 18 May 2010 05:37:58 +0000 (05:37 +0000)]
1. Restore the inline C implementation of GCC assembly files that was temporarily removed in Svn r10045.
2. Remove 139 GCC assembly files whose functionality have been covered in the inline C implementation.

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