mirror_edk2.git
10 years agoOmap35xxPkg/Library/RealTimeClockLib: Add RTC Support
oliviermartin [Thu, 18 Aug 2011 10:02:15 +0000 (10:02 +0000)]
Omap35xxPkg/Library/RealTimeClockLib: Add RTC Support

Omap35xxPkg/MmcHostDxe: Implement MmcHost protocol for Omap35xx

BeagleBoardPkg: Use Omap35xx RTC and MmcHost drivers

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

10 years agoOmap35xxPkg/MMCHSDxe: Fixed initialization when started from gBS->ConnectController()
oliviermartin [Thu, 18 Aug 2011 09:20:17 +0000 (09:20 +0000)]
Omap35xxPkg/MMCHSDxe: Fixed initialization when started from gBS->ConnectController()

As soon as the MMCHSDxe is initialized is reinstalled its protocol.
It was crashing when the PartitionDxe was scanning for partition headers and the the MMC driver
reinstalls its protocols in the same time. The initial DiskIo and BlockIo instances used
by PartitionDxe were not valid after this reinstallation.

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

10 years agoAdded 3 new EFI Resources Attributes defined in PI 1.2 Specification, Errata B.
vanjeff [Thu, 18 Aug 2011 02:54:57 +0000 (02:54 +0000)]
Added 3 new EFI Resources Attributes defined in PI 1.2 Specification, Errata B.

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

10 years agoUpdated GCD implementation to consume the correct EFI Resources Attributes(Capabiliti...
vanjeff [Thu, 18 Aug 2011 02:05:46 +0000 (02:05 +0000)]
Updated GCD implementation to consume the correct EFI Resources Attributes(Capabilities) instead of the wrong EFI Resources Attributes(Settings).
ASSERT() if memory resource HOB includes protect memory setting but not included the corresponding protect memory capabilities

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

10 years agoFix mismatch between the declaration and definition of fwrite.
darylm503 [Thu, 18 Aug 2011 02:05:30 +0000 (02:05 +0000)]
Fix mismatch between the declaration and definition of fwrite.
The first parameter should be const void * instead of void *.

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

10 years agoAdded 3 new EFI Resources Attributes defined in PI 1.2 Specification, Errata B.
vanjeff [Thu, 18 Aug 2011 02:01:51 +0000 (02:01 +0000)]
Added 3 new EFI Resources Attributes defined in PI 1.2 Specification, Errata B.

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

10 years agoRe-enable the declaration for ftello.
darylm503 [Thu, 18 Aug 2011 01:56:05 +0000 (01:56 +0000)]
Re-enable the declaration for ftello.

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

10 years agoOvmfPkg/SmbiosPlatformDxe: Fix Visual Studio build issue
jljusten [Wed, 17 Aug 2011 23:30:34 +0000 (23:30 +0000)]
OvmfPkg/SmbiosPlatformDxe: Fix Visual Studio build issue

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

10 years agoUpdate or add comments to files and functions for use by Doxygen.
darylm503 [Wed, 17 Aug 2011 22:54:56 +0000 (22:54 +0000)]
Update or add comments to files and functions for use by Doxygen.

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

10 years agoAllocate memory buffer to store TscFrequency, and InstallConfigurationTable with...
lzeng14 [Wed, 17 Aug 2011 07:30:34 +0000 (07:30 +0000)]
Allocate memory buffer to store TscFrequency, and InstallConfigurationTable with the pointer to this buffer.

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

10 years agoRemove the blank line.
lgao4 [Wed, 17 Aug 2011 05:04:33 +0000 (05:04 +0000)]
Remove the blank line.

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

10 years agoAdd IScsiDxe driver to NetworkPkg in order to support iSCSI over IPv6 stack and iSCSI...
tye1 [Wed, 17 Aug 2011 02:38:08 +0000 (02:38 +0000)]
Add IScsiDxe driver to NetworkPkg in order to support iSCSI over IPv6 stack and iSCSI MPIO.

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

10 years ago1. Add Uefi231 secure boot related definitions
hhuan13 [Tue, 16 Aug 2011 07:16:02 +0000 (07:16 +0000)]
1. Add Uefi231 secure boot related definitions

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

10 years agoAdd new interfaces to support PKCS7#7 signed data and authenticode signature. Update...
tye1 [Tue, 16 Aug 2011 06:46:52 +0000 (06:46 +0000)]
Add new interfaces to support PKCS7#7 signed data and authenticode signature. Update Cryptest to validate functionality of new interfaces.

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

10 years ago1.Fix a icc build break
hhuan13 [Tue, 16 Aug 2011 06:25:47 +0000 (06:25 +0000)]
1.Fix a icc build break

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

10 years ago1. Add two performance measurement points for SMM performance measurement;
rsun3 [Tue, 16 Aug 2011 02:58:20 +0000 (02:58 +0000)]
1. Add two performance measurement points for SMM performance measurement;
2. Introduce SmmCorePlatformHookLib library class defining two platform hook points. Update PI Smm Core to call the hook points before and after invoking registered SMI handlers. A NULL instance of this library class is implemented.

Note that after this check in, DSC files consuming the PiSmmCore.inf need to be updated to add a library instance for SmmCorePlatformHookLib library class.

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

10 years agoUpdate or add comments to files and functions for use by Doxygen.
darylm503 [Mon, 15 Aug 2011 19:05:36 +0000 (19:05 +0000)]
Update or add comments to files and functions for use by Doxygen.

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

10 years agoArmPkg/DebugAgentSymbolsOnlyLib: Fix the Firmware Base Address containing the Sec...
oliviermartin [Mon, 15 Aug 2011 17:00:09 +0000 (17:00 +0000)]
ArmPkg/DebugAgentSymbolsOnlyLib: Fix the Firmware Base Address containing the Sec module

The previous version was using the FD base address. But the FV base address
should be used instead.

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

10 years agoArmPkg/ArmDmaLib: Fix coherency issues in DmaLib
oliviermartin [Mon, 15 Aug 2011 16:55:05 +0000 (16:55 +0000)]
ArmPkg/ArmDmaLib: Fix coherency issues in DmaLib

Some coherencies issues were existing in the former version of DmaLib.
These issues could have for consequences to not make the MdeModulePkg/Bus/Usb
software stack not work.

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

10 years agoArmPkg/DebugAgentSymbolsOnlyLib: Fixed switch() statement - missing 'break'
oliviermartin [Mon, 15 Aug 2011 16:51:11 +0000 (16:51 +0000)]
ArmPkg/DebugAgentSymbolsOnlyLib: Fixed switch() statement - missing 'break'

This library is used to display the loaded address of the 'Sec' at the early
stage of the boot process. The debug command line generated by PeCoffExtraActionLib
can be used for Source Level Debugging at the early stage of the UEFI boot process.

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

10 years agoArmPkg/PL390Gic: Fix RegisterInterruptSource() to be able to unregister an interrupt...
oliviermartin [Mon, 15 Aug 2011 16:47:18 +0000 (16:47 +0000)]
ArmPkg/PL390Gic: Fix RegisterInterruptSource() to be able to unregister an interrupt handler

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

10 years agoOmap35xxPkg: Turn on the power for the USB Hub
oliviermartin [Mon, 15 Aug 2011 16:44:05 +0000 (16:44 +0000)]
Omap35xxPkg: Turn on the power for the USB Hub

This fix should make the USB Hub power up correctly (tested on BeagleBoard-xM).

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

10 years agoEmbeddedPkg/MmcDxe: Set the BlockLength at the beginning of the BlockIo transfer
oliviermartin [Mon, 15 Aug 2011 16:38:27 +0000 (16:38 +0000)]
EmbeddedPkg/MmcDxe: Set the BlockLength at the beginning of the BlockIo transfer

Before the SetBlockLength command was called prior to a Read or Write command.

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

10 years agoEmbeddedPkg/MmcDxe: Fix the indexes in the response array
oliviermartin [Mon, 15 Aug 2011 16:20:55 +0000 (16:20 +0000)]
EmbeddedPkg/MmcDxe: Fix the indexes in the response array

The indexes have been reversed compare to the specification which
created confusions in some MMC responses.

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

10 years agoEmbeddedPkg/MmcDxe: Implement the correct macro to get the device size of SD 2 High...
oliviermartin [Mon, 15 Aug 2011 16:15:58 +0000 (16:15 +0000)]
EmbeddedPkg/MmcDxe: Implement the correct macro to get the device size of SD 2 High Density cards

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

10 years agoEmbeddedPkg/MmcDxe: Fix the CMD3 sequence
oliviermartin [Mon, 15 Aug 2011 16:12:13 +0000 (16:12 +0000)]
EmbeddedPkg/MmcDxe: Fix the CMD3 sequence

In the former version, we were checking the card was in the new state (Standby state).
But the transition to the nez state is only visible in the response of the next command.
This commit removes the check on the MMC state.

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

10 years agoEmbeddedPkg/MmcDxe: Improved parameters checking
oliviermartin [Mon, 15 Aug 2011 16:06:53 +0000 (16:06 +0000)]
EmbeddedPkg/MmcDxe: Improved parameters checking

Ensure the passed parameters are correct.

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

10 years agoEmbeddedPkg/MmcDxe: Create a periodic function to check if a card is present
oliviermartin [Mon, 15 Aug 2011 16:04:14 +0000 (16:04 +0000)]
EmbeddedPkg/MmcDxe: Create a periodic function to check if a card is present

In the former version, the check was done for every BlockIo operation.
By using a periodical function, we check less time in consequence performance
are better.

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

10 years agoUse linked list to replace the current array solution to store the periodic SMI handl...
niruiyu [Mon, 15 Aug 2011 01:55:41 +0000 (01:55 +0000)]
Use linked list to replace the current array solution to store the periodic SMI handlers to support more than 8 periodic SMI handlers.

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

10 years agoEmulatorPkg/build.sh: Pass extra build options to the build command
jljusten [Sat, 13 Aug 2011 22:54:50 +0000 (22:54 +0000)]
EmulatorPkg/build.sh: Pass extra build options to the build command

Extra build options were not being sent to the build command.
This fix allows 'EmulatorPkg/build.sh -D BUILD_NEW_SHELL' to work.

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

10 years agoOvmfPkg/SmbiosPlatformDxe: Add OVMF SMBIOS driver (with Xen support)
jljusten [Sat, 13 Aug 2011 22:54:37 +0000 (22:54 +0000)]
OvmfPkg/SmbiosPlatformDxe: Add OVMF SMBIOS driver (with Xen support)

Locates Xen SMBIOS data and installs it using the SMBIOS
protocol.

Signed-off-by: gavinguan
Reviewed-by: Andrei Warkentin <andreiw@motorola.com>
Signed-off-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12125 6f19259b-4bc3-4df7-8a09-765794883524

10 years ago1. Enhanced error handling in case PXE DHCP process error happens.
hhuan13 [Fri, 12 Aug 2011 06:23:05 +0000 (06:23 +0000)]
1. Enhanced error handling in case PXE DHCP process error happens.

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

10 years ago1. Fix bugs for PXE-IPv6 to accommodate the situation:
hhuan13 [Fri, 12 Aug 2011 06:18:29 +0000 (06:18 +0000)]
1. Fix bugs for PXE-IPv6 to accommodate the situation:
   1.1 Proxy DHCP6 service and DHCP6 service on different servers.
   1.2 Proxy DHCP6 server with Response Delay setting.
2. Update to support percent-encoding in NBP file name in netboot6 BootFileURL.

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

10 years agoOvmfPkg AcpiTimerLib: Fix issue with I/O address initialization
jljusten [Thu, 11 Aug 2011 23:20:23 +0000 (23:20 +0000)]
OvmfPkg AcpiTimerLib: Fix issue with I/O address initialization

For the first instance of the library that runs, the
base is initialized to 0x400, but we access it at 0x401.

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

10 years agoEmulatorPkg: Remove UnixPkg instance of the BaseLib and use PcdDxeIplBuildPageTables.
andrewfish [Thu, 11 Aug 2011 03:37:26 +0000 (03:37 +0000)]
EmulatorPkg: Remove UnixPkg instance of the BaseLib and use PcdDxeIplBuildPageTables.

PcdDxeIplBuildPageTables made UnixPkg BaseLib changes obsolete, so we should remove it, and clean up the .dsc file to treat the DxeIpl as a normal PEIM.

signed-off-by: andrewfish

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

10 years agoEmulatorPkg: Make the library work with DXE Core.
andrewfish [Thu, 11 Aug 2011 03:24:35 +0000 (03:24 +0000)]
EmulatorPkg: Make the library work with DXE Core.

The DXE core calls library constructors after it calls DEBUG macros, so we need more error handling in the lib.

signed-off-by: andrewfish

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

10 years agoEmulatorPkg: Make early DEBUG prints in DXE Core work.
andrewfish [Thu, 11 Aug 2011 03:23:09 +0000 (03:23 +0000)]
EmulatorPkg: Make early DEBUG prints in DXE Core work.

signed-off-by: andrewfish

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

10 years agoShellPkg: bug fix for edit search/replace function
jcarsey [Wed, 10 Aug 2011 14:48:14 +0000 (14:48 +0000)]
ShellPkg: bug fix for edit search/replace function

* Fix the search bug: if word to be searched at the beginning of the line, it can not be found out.

Signed-off-by: kidzyoung
reviewed-by: jcarsey

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

10 years agoMdeModulePkg: Don't build SmmLockBoxPeiLib for IPF
jljusten [Wed, 10 Aug 2011 00:02:58 +0000 (00:02 +0000)]
MdeModulePkg: Don't build SmmLockBoxPeiLib for IPF

Move SmmLockBoxPeiLib to IA32/X64 components section.
It does not currently support the IPF architecture.

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

10 years agoDisable building socket applications.
darylm503 [Tue, 9 Aug 2011 17:20:19 +0000 (17:20 +0000)]
Disable building socket applications.
These applications are not yet ready to build or use by default.

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

10 years agoThis adds support for @ prefixed commands in script files.
jcarsey [Tue, 9 Aug 2011 16:33:58 +0000 (16:33 +0000)]
This adds support for @ prefixed commands in script files.

signed-off-by: jcarsey
reviewed-by: geekboy15a

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

10 years agoFix the bug in AcpiTableDxe drivers that doesn't work when more than 20 Acpi tables...
lgao4 [Tue, 9 Aug 2011 08:46:04 +0000 (08:46 +0000)]
Fix the bug in AcpiTableDxe drivers that doesn't work when more than 20 Acpi tables are installed.

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

10 years agoFix X64 VS2005 and VS2008 compile error.
lgao4 [Tue, 9 Aug 2011 06:48:31 +0000 (06:48 +0000)]
Fix X64 VS2005 and VS2008 compile error.

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

10 years agoFix X64 compile error.
lgao4 [Tue, 9 Aug 2011 06:29:47 +0000 (06:29 +0000)]
Fix X64 compile error.

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

10 years agoRemove the code added originally to restore 8254 timer to 54ms.
li-elvin [Tue, 9 Aug 2011 05:39:20 +0000 (05:39 +0000)]
Remove the code added originally to restore 8254 timer to 54ms.

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

10 years agoclarify the logic of the print length counting functions in both PrintLib library...
jcarsey [Mon, 8 Aug 2011 20:50:31 +0000 (20:50 +0000)]
clarify the logic of the print length counting functions in both PrintLib library instances.

signed-off-by: jcarsey
reviewed-by: geekboy15a

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

10 years agoEmbeddedPkg: Fix mispellings
oliviermartin [Mon, 8 Aug 2011 18:29:14 +0000 (18:29 +0000)]
EmbeddedPkg: Fix mispellings

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

10 years agoremove CatSPrint from ShellPkg.
jcarsey [Mon, 8 Aug 2011 18:22:08 +0000 (18:22 +0000)]
remove CatSPrint from ShellPkg.

signed-off-by: jcarsey
reviewed-by: lgrosenb

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

10 years agoBetter handle transmit errors
lpleahy [Mon, 8 Aug 2011 18:19:45 +0000 (18:19 +0000)]
Better handle transmit errors
Return 0 receive bytes when socket is closed

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

10 years agoadd IPv4 address copy macro.
jcarsey [Mon, 8 Aug 2011 18:18:40 +0000 (18:18 +0000)]
add IPv4 address copy macro.

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

10 years agoMdeModulePkg/Dxe: Move assertions inside CoreInsertGcdMapEntry()
oliviermartin [Mon, 8 Aug 2011 18:16:22 +0000 (18:16 +0000)]
MdeModulePkg/Dxe: Move assertions inside CoreInsertGcdMapEntry()

CoreInsertGcdMapEntry() does not assume the new region could overlap two existing GCDs.
In this case, we need to call this function twice and the TopEntry or BottomEntry could
have been updated by the previous call.

Reviewed by: rsun3
Reviewed by: lgao4

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

10 years agoRemove SocketPkg references
lpleahy [Mon, 8 Aug 2011 17:38:14 +0000 (17:38 +0000)]
Remove SocketPkg references

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

10 years agoAdd non null assertion before using the bridge instance.
niruiyu [Mon, 8 Aug 2011 09:23:51 +0000 (09:23 +0000)]
Add non null assertion before using the bridge instance.

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

10 years agoFix @return Doxygen commands to be singular instead of plural.
darylm503 [Fri, 5 Aug 2011 23:57:34 +0000 (23:57 +0000)]
Fix @return Doxygen commands to be singular instead of plural.

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

10 years agoUpdate or add comments to files and functions for use by Doxygen.
darylm503 [Fri, 5 Aug 2011 23:02:43 +0000 (23:02 +0000)]
Update or add comments to files and functions for use by Doxygen.

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

10 years agoGet rid of some rcsid blocks. The EDK II build options cause a build break on the...
darylm503 [Fri, 5 Aug 2011 17:44:13 +0000 (17:44 +0000)]
Get rid of some rcsid blocks.  The EDK II build options cause a build break on the rcsid definitions.  It is easier to delete them than other workarounds.
Fix case mismatch for an included file.

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

10 years agoOvmfPkg/PlatformPei: Add Xen support
jljusten [Fri, 5 Aug 2011 15:43:05 +0000 (15:43 +0000)]
OvmfPkg/PlatformPei: Add Xen support

* Make PlatformPei aware of Xen
* Fix assigned PIO and MMIO ranges to be compatible with Xen
* Reserve Xen HVM address range
* Publish XenInfo HOB
* Don't program PIIX4 PMBA for Xen

Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
Reviewed-by: gavinguan
Signed-off-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12091 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUpdate or add comments to files and functions for use by Doxygen.
darylm503 [Thu, 4 Aug 2011 23:35:57 +0000 (23:35 +0000)]
Update or add comments to files and functions for use by Doxygen.

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

10 years agoUpdate or add comments to files and functions for use by Doxygen.
darylm503 [Thu, 4 Aug 2011 18:13:02 +0000 (18:13 +0000)]
Update or add comments to files and functions for use by Doxygen.

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

10 years agoPrint PCI Interrupt Line/Interrupt Pin registers before booting legacy OS.
niruiyu [Thu, 4 Aug 2011 09:14:31 +0000 (09:14 +0000)]
Print PCI Interrupt Line/Interrupt Pin registers before booting legacy OS.

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

10 years agoPrint resource allocation/bar programming when PciBus driver does PCI BUS enumeration.
niruiyu [Thu, 4 Aug 2011 09:08:09 +0000 (09:08 +0000)]
Print resource allocation/bar programming when PciBus driver does PCI BUS enumeration.

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

10 years agoFix X64 compile error.
lgao4 [Thu, 4 Aug 2011 06:33:49 +0000 (06:33 +0000)]
Fix X64 compile error.

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

10 years agoUefiCpuPkg: Replace the un-necessary WBINVD instruction at the reset vector with...
rsun3 [Thu, 4 Aug 2011 03:25:14 +0000 (03:25 +0000)]
UefiCpuPkg: Replace the un-necessary WBINVD instruction at the reset vector with two NOPs in VTF0.

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

10 years agoNormalize data transfer buffer in BlockIo thunk driver to avoid INT 13 Function 42H...
li-elvin [Thu, 4 Aug 2011 02:23:39 +0000 (02:23 +0000)]
Normalize data transfer buffer in BlockIo thunk driver to avoid INT 13 Function 42H returning data boundary error (09H).

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

10 years agoFix send to properly wait while long transmits are in progress
lpleahy [Wed, 3 Aug 2011 17:45:52 +0000 (17:45 +0000)]
Fix send to properly wait while long transmits are in progress

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

10 years agoShellPkg: Added the Ctrl based hot key for hexedit
jcarsey [Wed, 3 Aug 2011 17:28:04 +0000 (17:28 +0000)]
ShellPkg: Added the Ctrl based hot key for hexedit

* Add Ctrl based hotkey alternatives to function hotkeys.
* Update help menu for hexedit.

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

10 years agoAdd 2 functions to UefiLib library class: CatSPrint and CatVSPrint.
jcarsey [Tue, 2 Aug 2011 23:33:06 +0000 (23:33 +0000)]
Add 2 functions to UefiLib library class: CatSPrint and CatVSPrint.
Implement these functions in the UefiLib instance.

Add 2 functions to PrintLib library class: SPrintLengthAsciiFormat and SPrintLength.
Implement these functions in the BasePrintLib instance and the DxePrintLib2Protocol instance.

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

10 years agoAdd plain-text ReadMe files and delete the PDF version.
darylm503 [Tue, 2 Aug 2011 23:09:06 +0000 (23:09 +0000)]
Add plain-text ReadMe files and delete the PDF version.
Clean up some comments.

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

10 years agoMdePkg: Fixed hang/reset in thunk code when building with GCC X64
geekboy15a [Tue, 2 Aug 2011 22:29:50 +0000 (22:29 +0000)]
MdePkg:  Fixed hang/reset in thunk code when building with GCC X64

Reverted changes of data areas from .long back to .space 4.  This was done
because the size of .long is based off of .int and may vary.  Using a fixed size
is required because these values are for patching code.  Also note that .space
will automatically initialize the data to zero.  Not initializing all values to
zero was causing the hang/reset.

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

10 years agoMdeModulePkg: Add SmmLockBox PEI implementation
jljusten [Tue, 2 Aug 2011 21:06:13 +0000 (21:06 +0000)]
MdeModulePkg: Add SmmLockBox PEI implementation

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

10 years agoFix GCC build breaks.
darylm503 [Tue, 2 Aug 2011 20:52:36 +0000 (20:52 +0000)]
Fix GCC build breaks.
Fix case mismatch for includes of "Socket.h".  Original code was <socket.h> while file was Socket.h in the same directory as the .c file.
Add EFIAPI to function declarations so that they match the definition.
Remove "ineffective" statements from stub functions.

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

10 years agoMake it easy to build the socket applications
lpleahy [Tue, 2 Aug 2011 20:50:57 +0000 (20:50 +0000)]
Make it easy to build the socket applications

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

10 years agoFixed the issue in RuntimeStatusCode library that may not work on the early dispatche...
lgao4 [Tue, 2 Aug 2011 06:26:07 +0000 (06:26 +0000)]
Fixed the issue in RuntimeStatusCode library that may not work on the early dispatched Runtime driver.

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

10 years agoFixed the issue in RuntimeStatusCode library that may not work on the early dispatche...
lgao4 [Tue, 2 Aug 2011 06:23:54 +0000 (06:23 +0000)]
Fixed the issue in RuntimeStatusCode library that may not work on the early dispatched Runtime driver.

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

10 years agoFixed the issue in RuntimeStatusCode library that may not work on the early dispatche...
lgao4 [Tue, 2 Aug 2011 06:23:16 +0000 (06:23 +0000)]
Fixed the issue in RuntimeStatusCode library that may not work on the early dispatched Runtime driver.

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

10 years agoFix 32-bit bios build error.
li-elvin [Tue, 2 Aug 2011 05:57:15 +0000 (05:57 +0000)]
Fix 32-bit bios build error.

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

10 years agofix typo
jcarsey [Mon, 1 Aug 2011 15:25:53 +0000 (15:25 +0000)]
fix typo

submitted-by: jcarsey

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

10 years agocleanup function and eliminate build error.
jcarsey [Mon, 1 Aug 2011 15:18:19 +0000 (15:18 +0000)]
cleanup function and eliminate build error.

submitted-by:jcarsey
reviewed-by: lgao4

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

10 years agoWhen status code handler unregister itself, status code dispatch in status code route...
li-elvin [Mon, 1 Aug 2011 07:39:02 +0000 (07:39 +0000)]
When status code handler unregister itself, status code dispatch in status code router driver will have problem to get next handler. Fixed the issue in status code router.

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

10 years agoCreate smbios table when user adds/removes/Updatestring for a SMBIOS entry. It is...
li-elvin [Mon, 1 Aug 2011 07:30:02 +0000 (07:30 +0000)]
Create smbios table when user adds/removes/Updatestring for a SMBIOS entry. It is for UEFI driver to access SMBIOS table in configuration table before boot.

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

10 years agoCreate smbios table before ReadyToBoot event. For SMBIOS thunk driver, create/update...
li-elvin [Mon, 1 Aug 2011 07:23:14 +0000 (07:23 +0000)]
Create smbios table before ReadyToBoot event. For SMBIOS thunk driver, create/update smbios table in configuration table when each field is updated.

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

10 years agoPut free the buffer GraphicsOutput.Mode in correct place.
li-elvin [Mon, 1 Aug 2011 07:18:24 +0000 (07:18 +0000)]
Put free the buffer GraphicsOutput.Mode in correct place.

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

10 years agoFixes two issues in HiiFontProtocol->StringToImage() implementation on how to show...
lgao4 [Mon, 1 Aug 2011 06:40:17 +0000 (06:40 +0000)]
Fixes two issues in HiiFontProtocol->StringToImage() implementation on how to show string with wrap flag.

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

10 years agoClean and split AcpiVariable.h in IntelFrameworkModulePkg into 2 new .h files for...
rsun3 [Mon, 1 Aug 2011 06:09:17 +0000 (06:09 +0000)]
Clean and split AcpiVariable.h in IntelFrameworkModulePkg into 2 new .h files for better modularity: IntelFrameworkModulePkg\Include\Guid\AcpiVariableCompatibility.h,
MdeModulePkg\Include\Guid\AcpiS3Context.h.

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

10 years agoAdd Socket Library applications.
darylm503 [Sat, 30 Jul 2011 00:32:15 +0000 (00:32 +0000)]
Add Socket Library applications.
Modify AppPkg.dsc file to include StdLib.inc which contains the Boilerplate text for Standard Library based Applications.

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

10 years agoAdd Socket Libraries.
darylm503 [Sat, 30 Jul 2011 00:30:44 +0000 (00:30 +0000)]
Add Socket Libraries.
Add Posix functions for porting compatibility.
Fix compliance issues with ISO/IEC 9899:199409
New Functions:
  setenv(), fparseln(), GetFileNameFromPath(), rename(),
  realpath(), setprogname(), getprogname(), strlcat(), strlcpy(),
  strsep(), setitimer(), getitimer(), timegm(), getopt(), basename(),
  mkstemp(), ffs(), vsnprintf(), snprintf(), getpass(), usleep(), select(),
  writev(), strcasecmp(), getcwd(), chdir(), tcgetpgrp(), getpgrp(), gettimeofday(),
  bcopy(),

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

10 years agoChanges so that Argv points to narrow-character versions of the command-line arguments.
darylm503 [Sat, 30 Jul 2011 00:25:54 +0000 (00:25 +0000)]
Changes so that Argv points to narrow-character versions of the command-line arguments.
Fix "long double" handling and differences between MSFT and GCC compilers.
Fix compliance issues with ISO/IEC 9899:199409
New Function declarations:
setenv(), fparseln(), GetFileNameFromPath(), rename()

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

10 years agoOvmfPkg/Include/Guid: Add XenInfo GUID
jljusten [Fri, 29 Jul 2011 23:59:12 +0000 (23:59 +0000)]
OvmfPkg/Include/Guid: Add XenInfo GUID

XenInfo HOB is used to pass XenInfo from PEI to DXE.

Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
Reviewed-by: gavinguan
Reviewed-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12059 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoEmulatorPkg/build.sh: Add build target to command line
jljusten [Fri, 29 Jul 2011 23:58:57 +0000 (23:58 +0000)]
EmulatorPkg/build.sh: Add build target to command line

Use the -b parameter in the build command.

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

10 years agoEdkCompatabilityPg: Add missing .globl statement
andrewfish [Fri, 29 Jul 2011 15:36:43 +0000 (15:36 +0000)]
EdkCompatabilityPg: Add missing .globl statement

signed-off-by:andrewfish
reviewed-by: lgao4

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

10 years agoMdeModulePkg: Fix build error for UNIXGCC with IPF
jljusten [Thu, 28 Jul 2011 17:47:22 +0000 (17:47 +0000)]
MdeModulePkg: Fix build error for UNIXGCC with IPF

#pragma pack with push/pop is not supported with all
GCC types.

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

10 years agoArmPkg: Fix ARM builds for XCode32
oliviermartin [Thu, 28 Jul 2011 14:58:52 +0000 (14:58 +0000)]
ArmPkg: Fix ARM builds for XCode32

- Build BeagleBoardPkg, ArmRealViewEb-A8, ArmRealView-A9x2 and ArmVExpress-CTA9x4

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

10 years agoAdjust the day field when update the month and year field.
ydong10 [Thu, 28 Jul 2011 02:14:29 +0000 (02:14 +0000)]
Adjust the day field when update the month and year field.

Signed-off-by:ydong10
Reviewed-by:lgao4

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

10 years agoOvmfPkg/Library/AcpiTimerLib: Modified to support Xen HVM
jljusten [Wed, 27 Jul 2011 15:13:54 +0000 (15:13 +0000)]
OvmfPkg/Library/AcpiTimerLib: Modified to support Xen HVM

If PIIX4 Power Management Base Address (PMBA) is already
programmed, then read and use it's current setting.

Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
Reviewed-by: gavinguan
Signed-off-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12053 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFor libraries that have multiple module types support, just define a [Depex] section...
lzeng14 [Wed, 27 Jul 2011 08:54:57 +0000 (08:54 +0000)]
For libraries that have multiple module types support, just define a [Depex] section for specified module types that are permitted to have a [Depex] section.

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

10 years agoGUIDs should go below the correct comment block in MdePkg.dec.
lzeng14 [Wed, 27 Jul 2011 08:19:30 +0000 (08:19 +0000)]
GUIDs should go below the correct comment block in MdePkg.dec.

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

10 years agoMdeModulePkg: Add Recovery PCD feature flags
jljusten [Fri, 22 Jul 2011 18:01:26 +0000 (18:01 +0000)]
MdeModulePkg: Add Recovery PCD feature flags

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

10 years agoShellPkg: Added the Ctrl based hot key and changed text editor's UI.
jcarsey [Wed, 20 Jul 2011 20:10:45 +0000 (20:10 +0000)]
ShellPkg: Added the Ctrl based hot key and changed text editor's UI.

* Add Ctrl-E hotkey for help
* Add Ctrl based hotkey alternatives to function hotkeys
* Don't show hotkey help on the main screen
* Change the file buffer's row count for display to adjust the new screen format
* Change the edit status bar location, the new edit status bar is in the last line
* Change the location of the edit bar, the new edit input bar is in the last line

Signed-off-by: kidzyoung
reviewed-by: jcarsey
reviewed-by: jljusten
reviewed-by: jiang

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

10 years agoMdePkg: Update CpuSleep to use ARMv7 instruction.
andrewfish [Wed, 20 Jul 2011 17:47:44 +0000 (17:47 +0000)]
MdePkg: Update CpuSleep to use ARMv7 instruction.

The code was using ARMv6 co-processor reg, that is a no-op on ARMv7. WFI is the instruction on ARMv7.

signed-off-by: andrewfish
reviewed-by: mdkinney

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

10 years agoBeagleBoardPkg: Ensure there is no pending IRQ and disable timer
oliviermartin [Wed, 20 Jul 2011 15:13:06 +0000 (15:13 +0000)]
BeagleBoardPkg: Ensure there is no pending IRQ and disable timer

When the BeagleBoard UEFI is started from a 1st (or 2nd stage) boot loader
it is possible there are still some pending IRQ.
Clean the interrupts before starting the BeagleBoard UEFI.

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