mirror_edk2.git
11 years agoMove SmmLib from IntelFrameworkPkg to MdePkg because this library is useful to both...
mdkinney [Wed, 27 Jan 2010 23:04:34 +0000 (23:04 +0000)]
Move SmmLib from IntelFrameworkPkg to MdePkg because this library is useful to both Framework SMM and PI SMM implementations.

Add SMM CPU Save State Protocol defined in the Framework SMM CIS 0.91 Specification.

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

11 years agoMove SmmLib from IntelFrameworkPkg to MdePkg because this library is useful to both...
mdkinney [Wed, 27 Jan 2010 22:59:52 +0000 (22:59 +0000)]
Move SmmLib from IntelFrameworkPkg to MdePkg because this library is useful to both Framework SMM and PI SMM implementations.

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

11 years agoFixed GDT load issue in some cases after a reset. Only CS should be used to access...
geekboy15a [Wed, 27 Jan 2010 22:45:14 +0000 (22:45 +0000)]
Fixed GDT load issue in some cases after a reset.  Only CS should be used to access flash prior to entering protected mode.

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

11 years agoFix a security hole in shell binaries:
qhuang8 [Wed, 27 Jan 2010 14:49:47 +0000 (14:49 +0000)]
Fix a security hole in shell binaries:
For gBS->LoadImage() if the return status is EFI_SECURITY_VIOLATION, the image handle may not be NULL.
Shell environment should not have the assumption that the output ImageHandle must be NULL if the error status is returned by gBS->LoadImage().

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

11 years ago1. Fix the potential issue in NetbufGetFragment() when Last is zero in Line 53.
tye1 [Wed, 27 Jan 2010 09:30:35 +0000 (09:30 +0000)]
1. Fix the potential issue in NetbufGetFragment() when Last is zero in Line 53.
2. Comments update.

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

11 years agoUpdate BDS boot option description string to use UNI file string in GenericBdsLib...
gikidy [Wed, 27 Jan 2010 07:18:36 +0000 (07:18 +0000)]
Update BDS boot option description string to use UNI file string in GenericBdsLib for localization.

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

11 years agoFix incorrect array size
qhuang8 [Wed, 27 Jan 2010 04:21:19 +0000 (04:21 +0000)]
Fix incorrect array size

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

11 years agoRemove reference to PCDs of status code value. Use macros introduced in PI1.2 instead.
xli24 [Wed, 27 Jan 2010 04:07:09 +0000 (04:07 +0000)]
Remove reference to PCDs of status code value. Use macros introduced in PI1.2 instead.

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

11 years agoRemove reference to PCDs of status code value. Use macros introduced in PI1.2 instead.
xli24 [Wed, 27 Jan 2010 04:00:58 +0000 (04:00 +0000)]
Remove reference to PCDs of status code value. Use macros introduced in PI1.2 instead.

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

11 years agoClean up MdePkg source to correct some coding style issues, etc.
qhuang8 [Wed, 27 Jan 2010 03:25:28 +0000 (03:25 +0000)]
Clean up MdePkg source to correct some coding style issues, etc.

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

11 years agoFix Xcode bug in template
andrewfish [Wed, 27 Jan 2010 02:50:13 +0000 (02:50 +0000)]
Fix Xcode bug in template

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

11 years agoAdded a library for the default exception handler and started to add a dissasembler...
andrewfish [Wed, 27 Jan 2010 02:47:47 +0000 (02:47 +0000)]
Added a library for the default exception handler and started to add a dissasembler. Cleaned up some issues with BlockIo in BeagleBoard and add some extra info on Ebl devices command to show if a blk device has a file system on it.

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

11 years agoAdd in commented out hooks for Shell and FatPkg.
andrewfish [Wed, 27 Jan 2010 02:05:52 +0000 (02:05 +0000)]
Add in commented out hooks for Shell and FatPkg.

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

11 years agoFix issue where the script assumed tools are in Bin, but they are still in BinWrapper...
andrewfish [Wed, 27 Jan 2010 00:49:19 +0000 (00:49 +0000)]
Fix issue where the script assumed tools are in Bin, but they are still in BinWrappers with binaries in bin dir for all architectures. Make both schemes work.

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

11 years agoFix DUET x64 hang in Video Option ROM.
niruiyu [Tue, 26 Jan 2010 09:23:24 +0000 (09:23 +0000)]
Fix DUET x64 hang in Video Option ROM.

The root cause is EfiLdr module was wrongly loaded to address 0x0 corrupting the BDA(0x400) region. The patch set module base address to 0x10000 which aligns to R8 behavior.

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

11 years agoClean up MtrrLib to remove unnecessary package dependency
qhuang8 [Tue, 26 Jan 2010 06:40:22 +0000 (06:40 +0000)]
Clean up MtrrLib to remove unnecessary package dependency
Add it to the [Components] section of UefiCpuPkg for build validation

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

11 years agoPrint the warning information for the image without relocation only when load it...
lgao4 [Tue, 26 Jan 2010 06:37:15 +0000 (06:37 +0000)]
Print the warning information for the image without relocation only when load it into memory.

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

11 years agoClean up AtaBus driver to not depend on PI IdeControllerInit Protocol definitions
qhuang8 [Tue, 26 Jan 2010 05:21:52 +0000 (05:21 +0000)]
Clean up AtaBus driver to not depend on PI IdeControllerInit Protocol definitions

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

11 years agoUpdate in IdeBus to solve the non-backward compatibility issue by the MdePkg updates...
qhuang8 [Tue, 26 Jan 2010 05:20:49 +0000 (05:20 +0000)]
Update in IdeBus to solve the non-backward compatibility issue by the MdePkg updates in Edk r9817.

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

11 years agoFix incorrect Edk revision number in last commit
qhuang8 [Tue, 26 Jan 2010 05:18:33 +0000 (05:18 +0000)]
Fix incorrect Edk revision number in last commit

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

11 years agoAdd change log for the incompatible changes in MdePkg in Edk r9817.
qhuang8 [Tue, 26 Jan 2010 05:16:13 +0000 (05:16 +0000)]
Add change log for the incompatible changes in MdePkg in Edk r9817.

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

11 years agoScrub EFI_ATA_IDENTIFY_DATA and EFI_ATAPI_IDENTIFY_DATA to strict follow ATA-8 spec...
qhuang8 [Tue, 26 Jan 2010 05:14:54 +0000 (05:14 +0000)]
Scrub EFI_ATA_IDENTIFY_DATA and EFI_ATAPI_IDENTIFY_DATA to strict follow ATA-8 spec in MdePkg

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

11 years agoSet correct workspace when workspace is not set.
lgao4 [Tue, 26 Jan 2010 04:58:56 +0000 (04:58 +0000)]
Set correct workspace when workspace is not set.

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

11 years agoRemove ASSERT() to make AllocatePool() service match PI spec.
klu2 [Tue, 26 Jan 2010 04:28:30 +0000 (04:28 +0000)]
Remove ASSERT() to make AllocatePool() service match PI spec.

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

11 years agoClear EFI_SOURCE and EDK_SOURCE environment when workspace is changed.
lgao4 [Tue, 26 Jan 2010 02:42:37 +0000 (02:42 +0000)]
Clear EFI_SOURCE and EDK_SOURCE environment when workspace is changed.

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

11 years agofix the typo error for the name of BootScriptSaveOnS3SaveStateThunk thunk driver
jchen20 [Tue, 26 Jan 2010 01:15:26 +0000 (01:15 +0000)]
fix the typo error for the  name of BootScriptSaveOnS3SaveStateThunk thunk driver

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

11 years agofix the typo error for the name of BootScriptSaveOnS3SaveStateThunk thunk driver
jchen20 [Tue, 26 Jan 2010 01:09:32 +0000 (01:09 +0000)]
fix the typo error for the  name of BootScriptSaveOnS3SaveStateThunk thunk driver

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

11 years agofix copyright and license block and fix a size issue.
jcarsey [Mon, 25 Jan 2010 20:06:10 +0000 (20:06 +0000)]
fix copyright and license block and fix a size issue.

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

11 years agofixed license header / copyright date on all files.
jcarsey [Mon, 25 Jan 2010 20:05:08 +0000 (20:05 +0000)]
fixed license header / copyright date on all files.

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

11 years agoFix the issue that accessing for unaligned address break IPF
klu2 [Mon, 25 Jan 2010 09:56:20 +0000 (09:56 +0000)]
Fix the issue that accessing for unaligned address break IPF

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

11 years agoAdd BootScriptSaveOnS3SaveStateTunk thunk driver to Integrated S3 thunk code. .
jchen20 [Mon, 25 Jan 2010 09:31:22 +0000 (09:31 +0000)]
Add BootScriptSaveOnS3SaveStateTunk thunk driver to Integrated S3 thunk code. .

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

11 years agoIntegrated S3 thunk implementation: change the PcdDxeIplSwitchToLongMode type from...
jchen20 [Mon, 25 Jan 2010 09:15:21 +0000 (09:15 +0000)]
Integrated S3 thunk implementation: change the PcdDxeIplSwitchToLongMode type from [PcdsFeatureFlag.IA32] to [PcdsFeatureFlag.IA32, PcdsFeatureFlag.X64]

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

11 years agoFix typo in Monotonic Counter GUID macro name
qhuang8 [Mon, 25 Jan 2010 07:49:05 +0000 (07:49 +0000)]
Fix typo in Monotonic Counter GUID macro name

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

11 years agoGenericBdsLib: Remove a un-reasonable ASSERT when BdsLibVariableToOption() returns...
rsun3 [Mon, 25 Jan 2010 05:20:44 +0000 (05:20 +0000)]
GenericBdsLib: Remove a un-reasonable ASSERT when BdsLibVariableToOption() returns NULL because it is possible for BdsLibVariableToOption() to return NULL if the boot option variable does not exist or the boot option is not active.

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

11 years agoFix the issue that the protocol field in IPv4 and IPv6 is does not reflect the RFC170...
qhuang8 [Mon, 25 Jan 2010 03:40:18 +0000 (03:40 +0000)]
Fix the issue that the protocol field in IPv4 and IPv6 is does not reflect the RFC1700 real value: In RFC1700, UDP value is 17 while TCP value is 6.

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

11 years agoUpdate according to two review comments:
tye1 [Mon, 25 Jan 2010 03:29:59 +0000 (03:29 +0000)]
Update according to two review comments:
1. add some comments to clarify AsciiStrDecimalToUintn() can help filtering un-decimal characters.

2. change the condition judgment to “Index < 15” rather than (Index + 1 ) <16.

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

11 years agoDefine EFI_PXE_BASE_CODE_DHCPV6_PACKET and EFI_PXE_BASE_CODE_PACKET for PXE over...
tye1 [Mon, 25 Jan 2010 03:15:50 +0000 (03:15 +0000)]
Define EFI_PXE_BASE_CODE_DHCPV6_PACKET and EFI_PXE_BASE_CODE_PACKET for PXE over IPv6.
It's not consistent with the current UEFI2.3 spec, but it's supposed to updated in the next version.

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

11 years agoFix a bug in Udp4IcmpHandler, it should not add special checking for Icmp message.
tye1 [Mon, 25 Jan 2010 03:11:14 +0000 (03:11 +0000)]
Fix a bug in Udp4IcmpHandler, it should not add special checking for Icmp message.

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

11 years agoFixed a bug in Ip4HandleIcmpError, it should pass over the whole ICMP error message...
tye1 [Mon, 25 Jan 2010 03:07:49 +0000 (03:07 +0000)]
Fixed a bug in Ip4HandleIcmpError, it should pass over the whole ICMP error message if user wants.

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

11 years ago1.Change the behavior of BdsBoot, to enumerate Boot Options by EfiLoadFileProtocol...
tye1 [Mon, 25 Jan 2010 03:05:41 +0000 (03:05 +0000)]
1.Change the behavior of BdsBoot, to enumerate Boot Options by EfiLoadFileProtocol, other than EfiManagedNetworkServiceBindingProtocol.

2.Add MSG_IPv4_DP and MSG_IPv6_DP into boot type of BDS_EFI_MESSAGE_MAC_BOOT.

3.Change the file header format of inf file and remove the MNP dependency.

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

11 years agoAdd StrToIp functions to NetLib.
tye1 [Mon, 25 Jan 2010 02:19:04 +0000 (02:19 +0000)]
Add StrToIp functions to NetLib.

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

11 years agoUse GetFirstGuidHob() instead of GetNextGuidHob() when only the first GUID instance...
mdkinney [Mon, 25 Jan 2010 01:52:31 +0000 (01:52 +0000)]
Use GetFirstGuidHob() instead of GetNextGuidHob() when only the first GUID instance is required
Remove extra references to gEfiHobListGuid in INF files.

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

11 years agoCorrect PeiCore not dispatch the register for shadow image without relocation.
lgao4 [Sun, 24 Jan 2010 12:55:59 +0000 (12:55 +0000)]
Correct PeiCore not dispatch the register for shadow image without relocation.

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

11 years agoSMM driver should link UefiRuntimeLib.
hhtian [Sat, 23 Jan 2010 07:59:34 +0000 (07:59 +0000)]
SMM driver should link UefiRuntimeLib.

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

11 years ago1. update bat file to generate right bootia32.efi/bootx64.efi file according to comma...
eric_tian [Tue, 19 Jan 2010 08:28:28 +0000 (08:28 +0000)]
1. update bat file to generate right bootia32.efi/bootx64.efi file according to command line parameters.
2. fix a print error in which a %x in format string exists but the corresponding variable argument is not present!
3. fix CONSUME_MEMORY too small issue. In X64 arch, cpu may cause the paging table is too big and beyond the pei memory scope between EfiMemoryTop and EfimemoryBottom. for example, a cpu support 44bits addressing memory space may occupied ~64M paging table.

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

11 years agoImprove coding style in MdeModulePkg.
rsun3 [Tue, 19 Jan 2010 06:42:21 +0000 (06:42 +0000)]
Improve coding style in MdeModulePkg.

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

11 years agoMinor code enhancement.
gikidy [Mon, 18 Jan 2010 07:20:22 +0000 (07:20 +0000)]
Minor code enhancement.

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

11 years agoFix RVCT compiler warnings, and a bug in the GdbStub
AJFISH [Sun, 17 Jan 2010 04:44:33 +0000 (04:44 +0000)]
Fix RVCT compiler warnings, and a bug in the GdbStub

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

11 years agoMissed a fix in the Cpu Driver. Added some more debug for Execption handling and...
AJFISH [Sun, 17 Jan 2010 02:54:31 +0000 (02:54 +0000)]
Missed a fix in the Cpu Driver. Added some more debug for Execption handling and clean up some uncached stuff.

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

11 years agoSeems the BiosVideo thunk does not work recently, temporary disable it.
klu2 [Sat, 16 Jan 2010 08:32:38 +0000 (08:32 +0000)]
Seems the BiosVideo thunk does not work recently, temporary disable it.

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

11 years agoAdd SmbiosDxe module that is required by BDS
mdkinney [Fri, 15 Jan 2010 21:11:55 +0000 (21:11 +0000)]
Add SmbiosDxe module that is required by BDS

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

11 years agoMinor update to move array into function to dead strip better on release builds
AJFISH [Fri, 15 Jan 2010 18:33:26 +0000 (18:33 +0000)]
Minor update to move array into function to dead strip better on release builds

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

11 years agoUpdated ARM Exception handler to print out text values for CPSR register
AJFISH [Fri, 15 Jan 2010 17:30:25 +0000 (17:30 +0000)]
Updated ARM Exception handler to print out text values for CPSR register

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

11 years agoFix Duet broken caused by LzmaUefiDecompress's interface is changed in IntelFramework...
klu2 [Fri, 15 Jan 2010 12:39:20 +0000 (12:39 +0000)]
Fix Duet broken caused by LzmaUefiDecompress's interface is changed in IntelFrameworkModulePkg.

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

11 years agoUpdate PeiLoadFilePpi produced by PeiCore to load only images with relocation into...
lgao4 [Fri, 15 Jan 2010 09:48:37 +0000 (09:48 +0000)]
Update PeiLoadFilePpi produced by PeiCore to load only images with relocation into memory.

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

11 years agoFix some coding style issues in MdeModulePkg.
rsun3 [Fri, 15 Jan 2010 08:03:23 +0000 (08:03 +0000)]
Fix some coding style issues in MdeModulePkg.

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

11 years agoCorrect comments to match function declaration.
lgao4 [Fri, 15 Jan 2010 07:12:08 +0000 (07:12 +0000)]
Correct comments to match function declaration.

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

11 years agoRemove the duplicated definitions between Framework AcpiSupport and PI AcpiSystemDesc...
lgao4 [Fri, 15 Jan 2010 03:00:06 +0000 (03:00 +0000)]
Remove the duplicated definitions between Framework AcpiSupport and PI AcpiSystemDescriptionTable.

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

11 years agoCorrect the conflict EFI_ACPI_GET_ACPI_TABLE to EFI_ACPI_GET_ACPI_TABLE2
lgao4 [Fri, 15 Jan 2010 02:59:54 +0000 (02:59 +0000)]
Correct the conflict EFI_ACPI_GET_ACPI_TABLE to EFI_ACPI_GET_ACPI_TABLE2

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

11 years agoFix ICC build break
qhuang8 [Fri, 15 Jan 2010 02:54:46 +0000 (02:54 +0000)]
Fix ICC build break
Fix some typos

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

11 years agoFix ICC build break
qhuang8 [Fri, 15 Jan 2010 02:49:42 +0000 (02:49 +0000)]
Fix ICC build break

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

11 years agoAdd type-cast to fix build break for IA32 arch
qhuang8 [Fri, 15 Jan 2010 02:38:31 +0000 (02:38 +0000)]
Add type-cast to fix build break for IA32 arch

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

11 years agoFix ICC build break
qhuang8 [Fri, 15 Jan 2010 02:11:58 +0000 (02:11 +0000)]
Fix ICC build break

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

11 years agoUpdate scripts to point to edk2 BaseTools now fixes have been checked in
AJFISH [Fri, 15 Jan 2010 00:27:47 +0000 (00:27 +0000)]
Update scripts to point to edk2 BaseTools now fixes have been checked in

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

11 years agoFix gcc warning
AJFISH [Fri, 15 Jan 2010 00:01:20 +0000 (00:01 +0000)]
Fix gcc warning

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

11 years agoAdd generic CpuIoPei module that produces the CPU I/O PPU using the services of the...
mdkinney [Thu, 14 Jan 2010 23:47:50 +0000 (23:47 +0000)]
Add generic CpuIoPei module that produces the CPU I/O PPU using the services of the MdePkg IoLib

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

11 years agoAdded new PeCoffGetEntryPoint lib function to get size of PE/COFF header. This is...
AJFISH [Thu, 14 Jan 2010 23:39:29 +0000 (23:39 +0000)]
Added new PeCoffGetEntryPoint lib function to get size of PE/COFF header. This is needed for debug prints with PE/COFF images that started as ELF or Mach-O. Moved and debugged ARM semihosting lib for RVD that prints out the debugger symbol load commands in a window on the debugger. Trying to write a script file, but that crashes RVD. Added debug print to BeagleBoard Sec that prints out RVD debugger command to load symbols for the Sec. Synced the rest of the code.

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

11 years agoClean up format of comments
mdkinney [Thu, 14 Jan 2010 22:57:30 +0000 (22:57 +0000)]
Clean up format of comments

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

11 years agoUpdate CpuIo2Dxe to also support IPF
mdkinney [Thu, 14 Jan 2010 22:14:50 +0000 (22:14 +0000)]
Update CpuIo2Dxe to also support IPF
Clean up CpuIo2Dxe to follow the same design as the IntelFrameworkModulePlg module CpuIoDxe and the UefiCpuPkg module CpuIo2Smm

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

11 years agoClean up file header comments to match CPU I/O Protocol .h file.
mdkinney [Thu, 14 Jan 2010 22:12:32 +0000 (22:12 +0000)]
Clean up file header comments to match CPU I/O Protocol .h file.
Add check to make sure the Address parameter passed in is properly aligned for the requested operation.

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

11 years agoClean up comments
mdkinney [Thu, 14 Jan 2010 21:45:28 +0000 (21:45 +0000)]
Clean up comments

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

11 years agogit-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9758 6f19259b...
jcarsey [Thu, 14 Jan 2010 20:26:39 +0000 (20:26 +0000)]
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9758 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoClean up function header comments to match SMM CPU I/O 2 Protocol definition in the...
mdkinney [Thu, 14 Jan 2010 20:15:14 +0000 (20:15 +0000)]
Clean up function header comments to match SMM CPU I/O 2 Protocol definition in the MdePkg.

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

11 years agoRemove duplicate typedef of EFI_SMM_CPU_IO_INTERFACE
mdkinney [Thu, 14 Jan 2010 19:23:56 +0000 (19:23 +0000)]
Remove duplicate typedef of EFI_SMM_CPU_IO_INTERFACE

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

11 years agoAdd generic module that produces the Framework CPU I/O Protocol using the services...
mdkinney [Thu, 14 Jan 2010 18:57:44 +0000 (18:57 +0000)]
Add generic module that produces the Framework CPU I/O Protocol using the services from the MdePkg IoLib

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

11 years agoUpdate Width check for < 0.
mdkinney [Thu, 14 Jan 2010 18:14:39 +0000 (18:14 +0000)]
Update Width check for < 0.

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

11 years agoAccording to PI 1.2 spec Vol 3 chapter 8 PCD, if the PCD service determined that...
klu2 [Thu, 14 Jan 2010 16:29:29 +0000 (16:29 +0000)]
According to PI 1.2 spec Vol 3 chapter 8 PCD, if the PCD service determined that the size of the data being set was
incompatible with a call to this function, PCD_PPI/PROTOCOL's SetXEx interfaces should be return EFI_INVALID_PARAEMTER instead of ASSERT().

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

11 years agoFix GCC build bug and add a debug library to dump load and unload commands into the...
AJFISH [Thu, 14 Jan 2010 16:18:02 +0000 (16:18 +0000)]
Fix GCC build bug and add a debug library to dump load and unload commands into the RVI debugger window.

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

11 years agoFix the issue in MdeModulePkg that mismatch between PCD type and the PCD Lib API...
rsun3 [Thu, 14 Jan 2010 09:46:12 +0000 (09:46 +0000)]
Fix the issue in MdeModulePkg that mismatch between PCD type and the PCD Lib API to get the PCD.

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

11 years agoFix parameter checking for CPU I/O 2 Protocol on NT32 platform.
xli24 [Thu, 14 Jan 2010 09:07:47 +0000 (09:07 +0000)]
Fix parameter checking for CPU I/O 2 Protocol on NT32 platform.

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

11 years agoadd france language support on DeviceManager of BDS.
eric_tian [Thu, 14 Jan 2010 07:32:36 +0000 (07:32 +0000)]
add france language support on DeviceManager of BDS.

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

11 years agoadd DataSize check to avoid PlatformLang/Lang variable is auto-mapped when try to...
eric_tian [Thu, 14 Jan 2010 07:25:27 +0000 (07:25 +0000)]
add DataSize check to avoid PlatformLang/Lang variable is auto-mapped when try to delete these variables.

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

11 years agoEnsure there is only one instance of Status Code PPI in system.
xli24 [Thu, 14 Jan 2010 07:23:10 +0000 (07:23 +0000)]
Ensure there is only one instance of Status Code PPI in system.

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

11 years agoadd DataSize check to avoid PlatformLang/Lang variable is auto-mapped when try to...
eric_tian [Thu, 14 Jan 2010 07:16:22 +0000 (07:16 +0000)]
add DataSize check to avoid PlatformLang/Lang variable is auto-mapped when try to delete these variables.

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

11 years agofixed one bug that old rsp was calculate incorrectly.
vanjeff [Thu, 14 Jan 2010 05:49:16 +0000 (05:49 +0000)]
fixed one bug that old rsp was calculate incorrectly.

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

11 years agoSome HII related definitions change. Note these changes are inconsistent with current...
rsun3 [Thu, 14 Jan 2010 05:38:29 +0000 (05:38 +0000)]
Some HII related definitions change. Note these changes are inconsistent with current UEFI 2.3 spec. They are supposed to be in later errata document.

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

11 years agoSome HII related definitions change. Note these changes are inconsistent with current...
rsun3 [Thu, 14 Jan 2010 05:38:04 +0000 (05:38 +0000)]
Some HII related definitions change. Note these changes are inconsistent with current UEFI 2.3 spec. They are supposed to be in later errata document.

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

11 years agoWhen found the file according to given file name guid, PeiFfs2FvPpiFindFileByName...
klu2 [Thu, 14 Jan 2010 05:31:07 +0000 (05:31 +0000)]
When found the file according to given file name guid, PeiFfs2FvPpiFindFileByName() should break the searching loop and return success.

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

11 years agoFix file header
mdkinney [Thu, 14 Jan 2010 05:18:07 +0000 (05:18 +0000)]
Fix file header

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

11 years agoFix formatting
mdkinney [Thu, 14 Jan 2010 04:48:36 +0000 (04:48 +0000)]
Fix formatting

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

11 years agoClean up .h files for the CPU I/O PPI and the CPU I/O 2 Protocol
mdkinney [Thu, 14 Jan 2010 04:43:31 +0000 (04:43 +0000)]
Clean up .h files for the CPU I/O PPI and the CPU I/O 2 Protocol
Minor clean up to PeiIoLibCpuIo.inf

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

11 years agoFix Boot Option appear twice while add a new boot option in some specific steps.
gikidy [Thu, 14 Jan 2010 04:42:45 +0000 (04:42 +0000)]
Fix Boot Option appear twice while add a new boot option in some specific steps.

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

11 years agoAdd module that produces the SMM CPU I/O 2 Protocol
mdkinney [Thu, 14 Jan 2010 04:24:00 +0000 (04:24 +0000)]
Add module that produces the SMM CPU I/O 2 Protocol

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

11 years agoPut Framework SMM CPU I/O Protocol into its own .h file and add the GUID for this...
mdkinney [Thu, 14 Jan 2010 04:22:06 +0000 (04:22 +0000)]
Put Framework SMM CPU I/O Protocol into its own .h file and add the GUID for this protocol to the DEC file.

Some definitions are shared between the Framework SMM CPU I/O Protocol and the PI SMM CPU I/O 2 Protocol, so SmmCpuIo.h include SmmCpuIo2.h from the MdePkg

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

11 years agoChange SMM CPU I/O to SMM CPU I/O 2
mdkinney [Thu, 14 Jan 2010 04:20:04 +0000 (04:20 +0000)]
Change SMM CPU I/O to SMM CPU I/O 2

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

11 years agoAdded support for L2 (4K) page tables and made the CPU driver change cachability...
AJFISH [Thu, 14 Jan 2010 03:25:08 +0000 (03:25 +0000)]
Added support for L2 (4K) page tables and made the CPU driver change cachability attributes on request. Also got the DebugUncache infrastructure working for the first time. Looks like it works for the simple case. Checking in so we can get more eyes looking at the code.

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

11 years agoRemove extra reference to SmmCpuIo.h
mdkinney [Thu, 14 Jan 2010 02:25:24 +0000 (02:25 +0000)]
Remove extra reference to SmmCpuIo.h
Minor clean ups to INF

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

11 years agoUpdate INF file to properly declare which PCDs must be Fixed, and update PCD usage...
mdkinney [Thu, 14 Jan 2010 01:59:30 +0000 (01:59 +0000)]
Update INF file to properly declare which PCDs must be Fixed, and update PCD usage that does not require the FixedPcdGetxx() access method.

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

11 years agoCleanup INF file for PEI Core
mdkinney [Thu, 14 Jan 2010 01:40:51 +0000 (01:40 +0000)]
Cleanup INF file for PEI Core
1) Remove references to CPU I/O PPI and PCI CFG2 PPI.  The PEI Core does have the PEI Services Table that caches a copy of these, but the PEI Core never produces a real version of these PPIs.  Instead, the PEI Core only has a null implementation of the APIs so we can catch PIEMs that call these services before they are properly installed.

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

11 years agoClean up INF. Remove dependency on CPU I/O 2 Protocol and the IntelFrameworkPkg...
mdkinney [Thu, 14 Jan 2010 01:00:18 +0000 (01:00 +0000)]
Clean up INF.  Remove dependency on CPU I/O 2 Protocol and the IntelFrameworkPkg.  The dependency will be inherited in the IoLib used uses the CPU I/O 2 Protocol.

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