11 years agoArmPlatformPkg/ArmRealViewEbPkg: Use NorFlashDxe and enable variables services
oliviermartin [Fri, 3 Jun 2011 09:39:00 +0000 (09:39 +0000)]
ArmPlatformPkg/ArmRealViewEbPkg: Use NorFlashDxe and enable variables services

The ARM RealView EB (hardware and RTSM) supports the same NOR Flash controller
as the ARM Versatile Express.
Add the implementation of the NorFlashPlatformLib for ArmRealViewEb.

Remove the Firmware Volume Block raw data used to enable environment variables on
ARM RealView EB from the FDF file to use the NOR Flash driver.

Replace the variable service emulation by the version using Firmware Volume Block.

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

11 years agoArmPlatformPkg/NorFlashDxe: Move NorFlash driver from ArmVExpressPkg to ArmPlatformPkg
oliviermartin [Fri, 3 Jun 2011 09:35:57 +0000 (09:35 +0000)]
ArmPlatformPkg/NorFlashDxe: Move NorFlash driver from ArmVExpressPkg to ArmPlatformPkg

This NOR Flash driver can be reused for other platform (eg: ARM Realview EB).

To make this driver reusable on other platforms the NorFlashPlatformLib library
has been created to abstract the platform specific bits such as the pre-requirements
steps to the initialization and the geometry of the NOR Flash regions.

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

11 years agoArmPlatformPkg/SP804Timer: Introduce gArmPlatformTokenSpaceGuid.PcdSP804FrequencyInMHz
oliviermartin [Fri, 3 Jun 2011 09:33:35 +0000 (09:33 +0000)]
ArmPlatformPkg/SP804Timer: Introduce gArmPlatformTokenSpaceGuid.PcdSP804FrequencyInMHz

This PCD defines the speed of the SP804 timer. The default value is 1MHz.

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

11 years agoArmPlatformPkg/SP804Timer: Remove the SP810 System Controller dependency
oliviermartin [Fri, 3 Jun 2011 09:32:39 +0000 (09:32 +0000)]
ArmPlatformPkg/SP804Timer: Remove the SP810 System Controller dependency

The SP804 drivers must not consider the presence of the SP810 System Controller
on the platform. The SP810 was used to enable the SP804 Dual Timers on ArmVExpress.
It is the role of the Platform specific driver to enable to the SP804 dual timers
if required.

The former SP810 initialization code has moved to ArmPlatformLib for ArmRealViewEb
and ArmVersatileExpress.

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

11 years agoArmPlatformPkg/PL011Uart: Create PL011 UART driver
oliviermartin [Fri, 3 Jun 2011 09:31:02 +0000 (09:31 +0000)]
ArmPlatformPkg/PL011Uart: Create PL011 UART driver

This library makes the interface with the PL011 UART controller.
This library can be linked to different types of driver (Serial Console,
debugger, etc) using PL011 UART controller.

ArmPlatformPkg/PL011SerialPortLib: Use Drivers/PL011Uart

Remove the direct accesses to the PL011 UART controller to use the PL011Uart

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

11 years agoArmPkg/CompilerIntrinsincsLib: Add div and mullu functions to ARMGCC
oliviermartin [Fri, 3 Jun 2011 09:28:40 +0000 (09:28 +0000)]
ArmPkg/CompilerIntrinsincsLib: Add div and mullu functions to ARMGCC

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

11 years agoArmPkg/PeCoffExtraActionLib: Add the return carriage character after printing the...
oliviermartin [Fri, 3 Jun 2011 09:26:44 +0000 (09:26 +0000)]
ArmPkg/PeCoffExtraActionLib: Add the return carriage character after printing the debugger command lines

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

11 years agoArmPkg: Add comments to ArmEnableVFP
oliviermartin [Fri, 3 Jun 2011 09:25:51 +0000 (09:25 +0000)]
ArmPkg: Add comments to ArmEnableVFP

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

11 years agoArmPkg: Introduce ArmSetLowVectors/ArmSetHighVectors functions
oliviermartin [Fri, 3 Jun 2011 09:25:01 +0000 (09:25 +0000)]
ArmPkg: Introduce ArmSetLowVectors/ArmSetHighVectors functions

These functions set/clear the SCTLR.V bit that controls the location
of the Vector Table.
This commit also forces the SCTLR.V to be clear when the VBAR register
is set.

Note: The original fix has been proposed by Eugene Cohen (HP).

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

11 years agoArmPkg: Renamed PL354SmcSecLib into PL354SmcLib
oliviermartin [Fri, 3 Jun 2011 09:23:19 +0000 (09:23 +0000)]
ArmPkg: Renamed PL354SmcSecLib into PL354SmcLib

There is no requirement to initialize the SMC in secure world.

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

11 years agoArmPkg: Fix the default value of PcdCpuVectorBaseAddress
oliviermartin [Fri, 3 Jun 2011 09:22:32 +0000 (09:22 +0000)]
ArmPkg: Fix the default value of PcdCpuVectorBaseAddress

The High Vector Table base address is 0xFFFF0000 (was 0xFFF00000).

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

11 years agoArmPkg/PL34xDmc: Remove magic values in PL310L2Cache and clean the code
oliviermartin [Fri, 3 Jun 2011 09:21:30 +0000 (09:21 +0000)]
ArmPkg/PL34xDmc: Remove magic values in PL310L2Cache and clean the code

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

11 years agoArmPkg/PL310L2Cache: Remove magic values in PL310L2Cache and clean the code
oliviermartin [Fri, 3 Jun 2011 09:20:30 +0000 (09:20 +0000)]
ArmPkg/PL310L2Cache: Remove magic values in PL310L2Cache and clean the code

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

11 years agoArmkg: Fix EDK2 coding style
oliviermartin [Fri, 3 Jun 2011 09:18:48 +0000 (09:18 +0000)]
Armkg: Fix EDK2 coding style

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

11 years agoArmPkg: Introduce the PCD PcdDebuggerExceptionSupport
oliviermartin [Fri, 3 Jun 2011 09:18:00 +0000 (09:18 +0000)]
ArmPkg: Introduce the PCD PcdDebuggerExceptionSupport

The Exception Vector can be set before installing the CPU DXE driver to add
debugger support at the early stage of the firmware initialization.
If no one has touched the exception vector prior to the CPU DXE then the Vector
might contain non zero data.

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

11 years agoArmPlatformPkg/ArmRealViewEbPkg: Use PL390 GIC on RTSM
oliviermartin [Fri, 3 Jun 2011 09:17:04 +0000 (09:17 +0000)]
ArmPlatformPkg/ArmRealViewEbPkg: Use PL390 GIC on RTSM

ArmRealViewEb model (RTSM) use the PL390 Generic Interrupt Controller
as interrupt controller.

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

11 years agoArmPlatformPkg/ArmRealViewEbPkg: Remove unused PCD
oliviermartin [Fri, 3 Jun 2011 09:15:14 +0000 (09:15 +0000)]
ArmPlatformPkg/ArmRealViewEbPkg: Remove unused PCD

gArmRealViewEbPkgTokenSpaceGuid.PcdPeiServicePtrAddr is not used.

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

11 years agoEmbeddedPkg/SerialDxe: Only read Serial Port if data available
oliviermartin [Fri, 3 Jun 2011 09:14:16 +0000 (09:14 +0000)]
EmbeddedPkg/SerialDxe: Only read Serial Port if data available

Poll the Serial Port to ensure data are available.

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

11 years agoEmbeddedPkg/SerialDxe: Fix SIMPLE_TEXT_OUT_DEVICE_PATH Device Path
oliviermartin [Fri, 3 Jun 2011 09:12:55 +0000 (09:12 +0000)]
EmbeddedPkg/SerialDxe: Fix SIMPLE_TEXT_OUT_DEVICE_PATH Device Path

The UART device type and subtype were inccorect.

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

11 years agoEmbeddedPkg/SimpleTextInOutSerial: Update the cursor position
oliviermartin [Fri, 3 Jun 2011 09:11:55 +0000 (09:11 +0000)]
EmbeddedPkg/SimpleTextInOutSerial: Update the cursor position

It is a UEFI requirement to update the cursor position infomation for each
string displayed using calls to EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL->OutputString().

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

11 years agoEmbeddedPkg/MmcDxe: Fix coding style
oliviermartin [Fri, 3 Jun 2011 09:10:26 +0000 (09:10 +0000)]
EmbeddedPkg/MmcDxe: Fix coding style

Make the coding style more compliant with the EDK2 coding convention.

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

11 years agoEmbeddedPkg/MmcDxe: Wait for the MMC controller to be in Transfer Mode
oliviermartin [Fri, 3 Jun 2011 09:09:18 +0000 (09:09 +0000)]
EmbeddedPkg/MmcDxe: Wait for the MMC controller to be in Transfer Mode

The MMC controller might be ready for data but not be in a 'ready' state
to send or receive commands.
This fix waits for the MMC controller to be in the correct state.

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

11 years agoEmbeddedPkg: Move Universal/MmcDxe from ArmPkg to EmbeddedPkg
oliviermartin [Fri, 3 Jun 2011 09:07:31 +0000 (09:07 +0000)]
EmbeddedPkg: Move Universal/MmcDxe from ArmPkg to EmbeddedPkg

The MmcDxe is not ARM architecture specific.

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

11 years agoGet BlockIo mapping interfaces working. Still need to work on detecting block size...
andrewfish [Fri, 3 Jun 2011 03:31:32 +0000 (03:31 +0000)]
Get BlockIo mapping interfaces working. Still need to work on detecting block size of devices, but you can map a .dmg file no problem at this point.

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

11 years agoFix the issue when checking the value of KeyDescriptor->Modifier to see if it was...
vanjeff [Thu, 2 Jun 2011 06:51:59 +0000 (06:51 +0000)]
Fix the issue when checking the value of KeyDescriptor->Modifier to see if it was out of bounds.

Signed-off-by: vanjeff
Reviewed-by: rsun3
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11723 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd return status check for SetVariable.
niruiyu [Thu, 2 Jun 2011 01:48:33 +0000 (01:48 +0000)]
Add return status check for SetVariable.

Signed-off-by: niruiyu
Reviewed-by: jljusten
Reviewed-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11722 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd new definition for XHCI support
erictian [Wed, 1 Jun 2011 05:12:19 +0000 (05:12 +0000)]
Add new definition for XHCI support

Signed-off-by: erictian
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11721 6f19259b-4bc3-4df7-8a09-765794883524

11 years ago1. Add error handling for PXE-IPV6.
hhuan13 [Wed, 1 Jun 2011 03:30:05 +0000 (03:30 +0000)]
1. Add error handling for PXE-IPV6.

Signed-off-by: hhuan13
Reviewed-by: tye
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11720 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoMake shell not ASSERT on older versions of EFI. On a Mac if you soft load Hii, Device...
andrewfish [Wed, 1 Jun 2011 02:27:02 +0000 (02:27 +0000)]
Make shell not ASSERT on older versions of EFI. On a Mac if you soft load Hii, DevicePathToText, and ComponentName drivers from edk2, then with this patch the new Shell will run.

Reviewed by: jcarsey

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

11 years agoAdd BlockIO support to the emulator, still needs testing. Also update Emulator start...
andrewfish [Tue, 31 May 2011 20:23:36 +0000 (20:23 +0000)]
Add BlockIO support to the emulator, still needs testing. Also update Emulator start code to only pass 2 args in place of 3. The 3rd argument is not needed. Still need a function as the BaseLib functoin does not have the correct calling conventions. Cleanup build script for binary shell case.

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

11 years agoFix the bug that WinNtBlockIo fails to properly allocate a buffer.
niruiyu [Tue, 31 May 2011 05:56:20 +0000 (05:56 +0000)]
Fix the bug that WinNtBlockIo fails to properly allocate a buffer.

Signed-off-by: niruiyu
Reviewed-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11717 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate the comments of InstallConfigurationTable to follow UEFI Spec.
niruiyu [Tue, 31 May 2011 03:15:58 +0000 (03:15 +0000)]
Update the comments of InstallConfigurationTable to follow UEFI Spec.

Signed-off-by: niruiyu
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11716 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate the comments of InstallConfigurationTable to follow UEFI Spec.
niruiyu [Tue, 31 May 2011 03:14:30 +0000 (03:14 +0000)]
Update the comments of InstallConfigurationTable to follow UEFI Spec.

Signed-off-by: niruiyu
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11715 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate the IPsec driver to check in invalid parameter of ProcessExt() according to...
qianouyang [Tue, 31 May 2011 02:03:57 +0000 (02:03 +0000)]
Update the IPsec driver to check in invalid parameter of ProcessExt() according to UEFI Spec.

Signed-off-by: qianouyang
Reviewed-by: jjin9
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11714 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd new call back return value; also add some sample code to use it.
ydong10 [Tue, 31 May 2011 00:59:15 +0000 (00:59 +0000)]
Add new call back return value; also add some sample code to use it.

Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11713 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate code to pass packaging tool.
lzeng14 [Mon, 30 May 2011 09:56:57 +0000 (09:56 +0000)]
Update code to pass packaging tool.

Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11712 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoMdeModulePkg: Fixed memory corruption when BlockIo2 is not present
geekboy15a [Fri, 27 May 2011 20:04:45 +0000 (20:04 +0000)]
MdeModulePkg: Fixed memory corruption when BlockIo2 is not present

Fixed NULL pointer reference of BlockIo2.Media in partition code.  This resulted
in the interrupt vector table being corrupted in a legacy (CSM) based system.

Signed-off-by: geekboy15a
Reviewed-by: mdkinney
Reviewed-by: niruiyu
Reviewed-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11711 6f19259b-4bc3-4df7-8a09-765794883524

11 years ago1. Setting cursor position to (0, 0) and flushing cursor directly instead of calling...
vanjeff [Fri, 27 May 2011 05:30:30 +0000 (05:30 +0000)]
1. Setting cursor position to (0, 0) and flushing cursor directly instead of calling GraphicConSoleConOutSetPosition().
2. Rename the internal function name EraseCursor() to FlushCursor() to remove the confusion on this function name. And add detailed function description for it.

Signed-off-by: vanjeff
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11710 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate the comments to describe the purpose of Removable array.
niruiyu [Fri, 27 May 2011 03:24:34 +0000 (03:24 +0000)]
Update the comments to describe the purpose of Removable array.

Signed-off-by: niruiyu
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11709 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoSync BaseTools Branch (version r2161) to EDKII main trunk.
lgao4 [Thu, 26 May 2011 07:35:18 +0000 (07:35 +0000)]
Sync BaseTools Branch (version r2161) to EDKII main trunk.

  BaseTool Branch:

Signed-off-by: lgao4
Reviewed-by: gikidy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11708 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoOriginally BDS only creates boot options for removable media, the patch creates boot...
niruiyu [Thu, 26 May 2011 06:34:07 +0000 (06:34 +0000)]
Originally BDS only creates boot options for removable media, the patch creates boot options for fixed media as well.

Signed-off-by: niruiyu
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11707 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd more status code in drivers.
li-elvin [Thu, 26 May 2011 06:29:30 +0000 (06:29 +0000)]
Add more status code in drivers.

Signed-off-by: li-elvin
Reviewed-by: jyao1
Reviewed-by: lgao4
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11706 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd more status code in drivers.
li-elvin [Thu, 26 May 2011 06:28:21 +0000 (06:28 +0000)]
Add more status code in drivers.

Signed-off-by: li-elvin
Reviewed-by: jyao1
Reviewed-by: lgao4
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11705 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix ICC build break.
lgao4 [Thu, 26 May 2011 04:53:24 +0000 (04:53 +0000)]
Fix ICC build break.
Signed-off-by: lgao4
Reviewed-by: rsun3
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11704 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoRemove ASSERT within Ls for RTC error and associated changes.
jcarsey [Wed, 25 May 2011 22:29:40 +0000 (22:29 +0000)]
Remove ASSERT within Ls for RTC error and associated changes.

TimeDate.c: replace magic number with constant.
Ls.c: use new warning printout string and remove an ASSERT.  also replace magic number with constant.
The UNI file: add new warning printout string.

Signed-off-by: jcarsey
Reviewed-by: geekboy15a
Reviewed-by: lgrosenb
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11703 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoSync BaseTools Branch (version r2157) to EDKII main trunk.
lgao4 [Wed, 25 May 2011 10:45:15 +0000 (10:45 +0000)]
Sync BaseTools Branch (version r2157) to EDKII main trunk.

  BaseTool Branch:

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

11 years agoFix ICC build break.
ydong10 [Wed, 25 May 2011 08:15:05 +0000 (08:15 +0000)]
Fix ICC build break.

Signed-off-by: ydong10

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

11 years agoMake sure the return value of MapKey is correct by moving the assignment into memory...
erictian [Wed, 25 May 2011 03:04:31 +0000 (03:04 +0000)]
Make sure the return value of MapKey is correct by moving the assignment into memory lock protection region

Signed-off-by: erictian
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11700 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoCpuDxe entry point () only register exception handlers unassigned before.
vanjeff [Wed, 25 May 2011 02:35:34 +0000 (02:35 +0000)]
CpuDxe entry point () only register exception handlers unassigned before.

Signed-off-by: vanjeff
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11699 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd the DriverFamilyOverride support in DxeCore.
niruiyu [Tue, 24 May 2011 03:32:42 +0000 (03:32 +0000)]
Add the DriverFamilyOverride support in DxeCore.

Signed-off-by: niruiyu
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11698 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate BasePrintLib to handle the unaligned GUID.
lgao4 [Tue, 24 May 2011 02:08:31 +0000 (02:08 +0000)]
Update BasePrintLib to handle the unaligned GUID.

Signed-off-by: lgao4
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11697 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoPer PI 1.2 errata B spec, for SetMemoryAttributes() service of CPU Architecture Proto...
rsun3 [Tue, 24 May 2011 01:56:29 +0000 (01:56 +0000)]
Per PI 1.2 errata B spec, for SetMemoryAttributes() service of CPU Architecture Protocol, EFI_INVALID_PARAMETER should be returned for cases:
If Attributes specifies a combination of memory attributes that cannot be set together, then EFI_INVALID_PARAMETER is returned. For example, if both EFI_MEMORY_UC and EFI_MEMORY_WT are set.

Signed-off-by: rsun3
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11694 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFixed SCT test failed caused by driver sample.
ydong10 [Mon, 23 May 2011 14:13:08 +0000 (14:13 +0000)]
Fixed SCT test failed caused by driver sample.

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

11 years agoChange Partition/ScsiDxe driver to produce Block IO revision 3.
niruiyu [Mon, 23 May 2011 07:47:19 +0000 (07:47 +0000)]
Change Partition/ScsiDxe driver to produce Block IO revision 3.

Signed-off-by: niruiyu
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11692 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd BlockIO revision 3 definition. Add new API ScsiInquiryCommandEx to UefiScsiLib.
niruiyu [Mon, 23 May 2011 07:45:40 +0000 (07:45 +0000)]
Add BlockIO revision 3 definition. Add new API ScsiInquiryCommandEx to UefiScsiLib.

Signed-off-by: niruiyu
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11691 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd core SMBIOS 2.7.0 and 2.7.1 support.
lzeng14 [Mon, 23 May 2011 04:24:51 +0000 (04:24 +0000)]
Add core SMBIOS 2.7.0 and 2.7.1 support.

Signed-off-by: lzeng14
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11690 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd core SMBIOS 2.7.0 and 2.7.1 support.
lzeng14 [Mon, 23 May 2011 03:24:12 +0000 (03:24 +0000)]
Add core SMBIOS 2.7.0 and 2.7.1 support.

Signed-off-by: lzeng14
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11689 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd two new methods to get default value, also add sample code in sample driver.
ydong10 [Fri, 20 May 2011 02:58:35 +0000 (02:58 +0000)]
Add two new methods to get default value, also add sample code in sample driver.
Add sample code to use time opcode

Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11688 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd new definition used for new call back return type and new action type.
ydong10 [Fri, 20 May 2011 02:56:26 +0000 (02:56 +0000)]
Add new definition used for new call back return type and new action type.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11687 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoRefine some call back function to return EFI_UNSUPPORTED for all unsupported call...
ydong10 [Fri, 20 May 2011 02:48:59 +0000 (02:48 +0000)]
Refine some call back function to return EFI_UNSUPPORTED for all unsupported call back type.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11686 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoOrder sections as [Defines], [Includes], [LibraryClasses], [Guids], [Ppis], [Protocol...
lzeng14 [Fri, 20 May 2011 02:25:12 +0000 (02:25 +0000)]
Order sections as [Defines], [Includes], [LibraryClasses], [Guids], [Ppis], [Protocols], [PcdsFeatureFlag], [PcdsFixedAtBuild], [PcdsPatchableInModule], [PcdsDynamic] and [PcdsDynamicEx].

Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11685 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoOrder sections as [Defines], [Includes], [LibraryClasses], [Guids], [Ppis], [Protocol...
lzeng14 [Fri, 20 May 2011 02:21:35 +0000 (02:21 +0000)]
Order sections as [Defines], [Includes], [LibraryClasses], [Guids], [Ppis], [Protocols], [PcdsFeatureFlag], [PcdsFixedAtBuild], [PcdsPatchableInModule], [PcdsDynamic] and [PcdsDynamicEx].

Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11684 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoOrder sections as [Defines], [Includes], [LibraryClasses], [Guids], [Ppis], [Protocol...
lzeng14 [Fri, 20 May 2011 02:14:48 +0000 (02:14 +0000)]
Order sections as [Defines], [Includes], [LibraryClasses], [Guids], [Ppis], [Protocols], [PcdsFeatureFlag], [PcdsFixedAtBuild], [PcdsPatchableInModule], [PcdsDynamic] and [PcdsDynamicEx].

Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11683 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoRefine all R9 call back function to return EFI_UNSUPPORTED for all unsupported call...
ydong10 [Fri, 20 May 2011 01:58:48 +0000 (01:58 +0000)]
Refine all R9 call back function to return EFI_UNSUPPORTED for all unsupported call back type.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11682 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoRefine all R9 call back function to return EFI_UNSUPPORTED for all unsupported call...
ydong10 [Fri, 20 May 2011 01:33:42 +0000 (01:33 +0000)]
Refine all R9 call back function to return EFI_UNSUPPORTED for all unsupported call back type.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11681 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoRefine all R9 call back function to return EFI_UNSUPPORTED for all unsupported call...
ydong10 [Fri, 20 May 2011 01:28:17 +0000 (01:28 +0000)]
Refine all R9 call back function to return EFI_UNSUPPORTED for all unsupported call back type.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11680 6f19259b-4bc3-4df7-8a09-765794883524

11 years agofix memory leak at AccessAtaDevice() of AtaBus.
erictian [Thu, 19 May 2011 09:40:42 +0000 (09:40 +0000)]
fix memory leak at AccessAtaDevice() of AtaBus.

Signed-off-by: ftian
Reviewed-by: qouyang
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11679 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate the function's descriptions (which is in AtaBus, AtaAtapiPassThru, Partition...
qianouyang [Thu, 19 May 2011 06:12:58 +0000 (06:12 +0000)]
Update the function's descriptions (which is in AtaBus, AtaAtapiPassThru, Partition drivers) to make them be consistent with the code.

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

11 years agoupdate due to a DSC error.
jcarsey [Tue, 17 May 2011 20:55:57 +0000 (20:55 +0000)]
update due to a DSC error.

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

11 years agoClarify an error in Map command.
jcarsey [Tue, 17 May 2011 20:32:47 +0000 (20:32 +0000)]
Clarify an error in Map command.
Revert a change in Map command that affected some consistent map names being printed correctly.
Fix a library instance mapping in DSC.

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

11 years agoCalculateSum8() and CalculateSum16() defined in BaseLib are used to calculate checksum.
lzeng14 [Tue, 17 May 2011 12:13:35 +0000 (12:13 +0000)]
CalculateSum8() and CalculateSum16() defined in BaseLib are used to calculate checksum.

Signed-off-by: lzeng14
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11674 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoChange the type of the IoData field of EFI_SMM_SAVE_STATE_IO_INFO from UINTN to UINT6...
rsun3 [Tue, 17 May 2011 10:04:08 +0000 (10:04 +0000)]
Change the type of the IoData field of EFI_SMM_SAVE_STATE_IO_INFO from UINTN to UINT64 to follow the PI spec.

Signed-off-by: rsun3
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11673 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAccording to PI_1_2_Errata_B, EFI_FFS_INTEGRITY_CHECK.Checksum.File should be 8-bit...
lzeng14 [Tue, 17 May 2011 08:56:03 +0000 (08:56 +0000)]
According to PI_1_2_Errata_B, EFI_FFS_INTEGRITY_CHECK.Checksum.File should be 8-bit checksum of the file data, not the entire file, correct the comments.

Signed-off-by: lzeng14
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11672 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoA complement fix for revision 11664 to update GCC assembly files : clear the directio...
rsun3 [Tue, 17 May 2011 08:35:20 +0000 (08:35 +0000)]
A complement fix for revision 11664 to update GCC assembly files : clear the direction flag in interrupt/exception handlers' assembly entry code before calling C functions to follow the UEFI calling convention.

Signed-off-by: rsun3
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11670 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoCleanup MpService interface. Still needs more testing, but now it is much closer...
andrewfish [Tue, 17 May 2011 03:48:27 +0000 (03:48 +0000)]
Cleanup MpService interface. Still needs more testing, but now it is much closer to PI spec.

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

11 years agoFixed an error when parse time opcode.
ydong10 [Tue, 17 May 2011 01:27:05 +0000 (01:27 +0000)]
Fixed an error when parse time opcode.

Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11668 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoadd required 'profiles.txt' file to the binary releases.
jcarsey [Mon, 16 May 2011 22:20:11 +0000 (22:20 +0000)]
add required 'profiles.txt' file to the binary releases.
add 'minimal' version of the shell (without any profiles).
update to current ShellPkg tip version.

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

11 years agoadd support to easily remove profiles and shell levels. the libraries will not do...
jcarsey [Mon, 16 May 2011 22:12:20 +0000 (22:12 +0000)]
add support to easily remove profiles and shell levels.  the libraries will not do anything (but no longer fail), if the PCDs are changed to remove their functionality.

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

11 years agoadded support for -i and -o for HII based configurations.
jcarsey [Mon, 16 May 2011 21:08:34 +0000 (21:08 +0000)]
added support for -i and -o for HII based configurations.
added support for all EFI_DRIVER_CONFIGURATION(2) based configurations.
added support for display of all configurable handles.

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

11 years agoClear the direction flag in interrupt/exception handlers' assembly entry code before...
rsun3 [Mon, 16 May 2011 06:10:42 +0000 (06:10 +0000)]
Clear the direction flag in interrupt/exception handlers' assembly entry code before calling C functions to follow the UEFI calling convention.

Signed-off-by: rsun3
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11664 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoInOsEmuPkg/Unix: Return scan code for Pause key
jljusten [Mon, 16 May 2011 04:47:53 +0000 (04:47 +0000)]
InOsEmuPkg/Unix: Return scan code for Pause key

Port of UnixPkg r11659 change.

Signed-off-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11663 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoInOsEmuPkg: Rename EmuPthreadThunk to EmuThreadThunk
jljusten [Mon, 16 May 2011 04:47:40 +0000 (04:47 +0000)]
InOsEmuPkg: Rename EmuPthreadThunk to EmuThreadThunk

This reflects that the threading system may vary in the
OS/thunk layer.

Signed-off-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11662 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoInOsEmuPkg PcdEmuFileSystem: Set to architecture independent path
jljusten [Mon, 16 May 2011 04:47:14 +0000 (04:47 +0000)]
InOsEmuPkg PcdEmuFileSystem: Set to architecture independent path

Signed-off-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11661 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoInOsEmuPkg PosixFileSystem: Fix memory corruption issue
jljusten [Mon, 16 May 2011 04:47:00 +0000 (04:47 +0000)]
InOsEmuPkg PosixFileSystem: Fix memory corruption issue

Signed-off-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11660 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoReturn scan code for Pause key.
vanjeff [Mon, 16 May 2011 02:56:43 +0000 (02:56 +0000)]
Return scan code for Pause key.

Signed-off-by: vanjeff
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11659 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoReturn scan code for Pause key.
vanjeff [Mon, 16 May 2011 02:04:16 +0000 (02:04 +0000)]
Return scan code for Pause key.

Signed-off-by: vanjeff
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11658 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate PS/2 keyboard driver to return scan code for Pause key.
vanjeff [Mon, 16 May 2011 02:00:34 +0000 (02:00 +0000)]
Update PS/2 keyboard driver to return scan code for Pause key.

Signed-off-by: vanjeff
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11657 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate USB keyboard driver to return scan code for Pause key.
vanjeff [Mon, 16 May 2011 01:51:53 +0000 (01:51 +0000)]
Update USB keyboard driver to return scan code for Pause key.

Signed-off-by: vanjeff
Reviewed-by: erictian
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11656 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd definition of SCAN_PAUSE for EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL.
vanjeff [Mon, 16 May 2011 01:49:42 +0000 (01:49 +0000)]

Signed-off-by: vanjeff
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11655 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix minor clang build issue.
andrewfish [Sun, 15 May 2011 17:34:49 +0000 (17:34 +0000)]
Fix minor clang build issue.

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

11 years agoInOsEmuPkg PcdEmuFileSystem: Match current setting in UnixPkg
jljusten [Sun, 15 May 2011 17:23:46 +0000 (17:23 +0000)]
InOsEmuPkg PcdEmuFileSystem: Match current setting in UnixPkg

The emulated filesystem support will crash
if a non-existent path is specified.

Signed-off-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11653 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoInOsEmuPkg: Use EdkShellBinPkg by default
jljusten [Sun, 15 May 2011 17:23:33 +0000 (17:23 +0000)]
InOsEmuPkg: Use EdkShellBinPkg by default

The following can be defined on the build command line:
* BUILD_NEW_SHELL: Build & run the UefiShell
* USE_NEW_SHELL: Use the pre-build UefiShell binary
* BUILD_OLD_SHELL: Use the GCC shell binary previously built

For the FAT driver:
* BUILD_FAT: Build the fat driver from source

Signed-off-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11652 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoInOsEmuPkg/Sec: Update assembly code when calling EFIAPI functions
jljusten [Sun, 15 May 2011 17:23:17 +0000 (17:23 +0000)]
InOsEmuPkg/Sec: Update assembly code when calling EFIAPI functions

For X64 the stack should be 16-byte aligned before calling a
function, and a register spill area should be reserved.

Signed-off-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11651 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoInOsEmuPkg/Unix: Rebase firmware SEC image
jljusten [Sun, 15 May 2011 17:23:04 +0000 (17:23 +0000)]
InOsEmuPkg/Unix: Rebase firmware SEC image

Apply PE/COFF relocation to SEC image within the firmware
volume so it will be able to run at the address that
it was loaded.

Signed-off-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11650 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoInOsEmuPkg: Match filename case of the generate FD file
jljusten [Sun, 15 May 2011 17:22:50 +0000 (17:22 +0000)]
InOsEmuPkg: Match filename case of the generate FD file

On systems with a case sensetive filesystem, this change
will allow the FD to be loaded.

Signed-off-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11649 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoInOsEmuPkg: Fix warnings with GCC44 toolchain
jljusten [Sun, 15 May 2011 17:22:37 +0000 (17:22 +0000)]
InOsEmuPkg: Fix warnings with GCC44 toolchain

Signed-off-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11648 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoInOsEmuPkg/Unix: Link to pthread library
jljusten [Sun, 15 May 2011 17:22:15 +0000 (17:22 +0000)]
InOsEmuPkg/Unix: Link to pthread library

Signed-off-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11647 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdded generic EFIABI SEC to InOsEmuPkg. Add library to abstract FV cracking and remov...
andrewfish [Sat, 14 May 2011 16:00:22 +0000 (16:00 +0000)]
Added generic EFIABI SEC to InOsEmuPkg. Add library to abstract FV cracking and remove code from original Sec/OS App. Add a PeiServicesLib wrapper for SEC that uses passed in PEI list and can abstract FV reading. Don't load images for XIP code and just run from FV directly on Mac OS X, or from dlopen on Linux. Moved temp ram switch code into generic SEC. Fixed design issue with PeiServiceTablePointerLib.

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

11 years agoadd those missing device path nodes into the union structure of EFI_DEV_PATH and...
erictian [Fri, 13 May 2011 06:17:10 +0000 (06:17 +0000)]
add those missing device path nodes into the union structure of EFI_DEV_PATH and EFI_DEV_PTR

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

11 years agoAdd MP support. Based on PcdEmuApCount APs (Application Processors) are created in...
andrewfish [Fri, 13 May 2011 00:03:26 +0000 (00:03 +0000)]
Add MP support. Based on PcdEmuApCount APs (Application Processors) are created in the CpuRuntimeDxe driver. If PcdEmuApCount > 0 then the MpServices protocol is created on top of pthreads and the APs are availible to use vis the MpService protocol.

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