mirror_edk2.git
9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 years agoMdeModulePkg: Add SmmControl PPI definition
jljusten [Tue, 19 Jul 2011 20:48:48 +0000 (20:48 +0000)]
MdeModulePkg: Add SmmControl PPI definition

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

9 years agoEdkCompatibilityPkg: Add SmmScriptLib
jljusten [Tue, 19 Jul 2011 20:48:30 +0000 (20:48 +0000)]
EdkCompatibilityPkg: Add SmmScriptLib

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

9 years agoEdkCompatibilityPkg: Add DxeSmmReadyToLockOnExitPmAuthThunk driver
jljusten [Tue, 19 Jul 2011 20:48:04 +0000 (20:48 +0000)]
EdkCompatibilityPkg: Add DxeSmmReadyToLockOnExitPmAuthThunk driver

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

9 years agoIntelFrameworkModulePkg: Add ExitPmAuth protocol definition
jljusten [Tue, 19 Jul 2011 20:47:45 +0000 (20:47 +0000)]
IntelFrameworkModulePkg: Add ExitPmAuth protocol definition

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

9 years agoMdeModulePkg: Add SMM LockBox
jljusten [Tue, 19 Jul 2011 20:47:28 +0000 (20:47 +0000)]
MdeModulePkg: Add SMM LockBox

This includes:
* LockBox protocol definition
* LockBoxLib library interface definition
* SmmLockBox GUID
* LockBoxNullLib library implementation
* 2 SmmLockBoxLib library implementations
* SmmLockBox SMM driver

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

9 years agoMdeModulePkg: Add SmmCommunication PPI definition
jljusten [Tue, 19 Jul 2011 20:46:45 +0000 (20:46 +0000)]
MdeModulePkg: Add SmmCommunication PPI definition

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

9 years agoMdeModulePkg: Add SmmAccess PPI definition
jljusten [Tue, 19 Jul 2011 20:46:24 +0000 (20:46 +0000)]
MdeModulePkg: Add SmmAccess PPI definition

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

9 years agoArmPkg/SemiHostingSerialPortLib: Return number of written bytes in SerialPortWrite()
oliviermartin [Tue, 19 Jul 2011 15:01:27 +0000 (15:01 +0000)]
ArmPkg/SemiHostingSerialPortLib: Return number of written bytes in SerialPortWrite()

It was previously returning '0' written bytes that was interprating by the higher
layers as a failing operation.

Fix proposed by Eugene Cohen (HP)

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

9 years agoAdd header file for KMS.
lzeng14 [Tue, 19 Jul 2011 06:31:58 +0000 (06:31 +0000)]
Add header file for KMS.

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

9 years agoArmPkg/UncachedMemoryAllocationLib: Use gDS function to set memory attributes
oliviermartin [Mon, 18 Jul 2011 17:40:12 +0000 (17:40 +0000)]
ArmPkg/UncachedMemoryAllocationLib: Use gDS function to set memory attributes

Calling directly the CPU Architectural protocol does not update the GCD.

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

9 years agoArmPkg/DebugAgentSymbolsOnlyLib: Add library to print loaded address of the SEC and...
oliviermartin [Mon, 18 Jul 2011 10:27:12 +0000 (10:27 +0000)]
ArmPkg/DebugAgentSymbolsOnlyLib: Add library to print loaded address of the SEC and PEI_CORE modules

This library that uses the DebugAgentLib interface prints the loaded addresses
of the SEC and PEI_CORE module using PeCoffExtraActionLib.

Note: Because there is no PE loader for these XIP modules, PeCoffExtraActionLib is not invoked.
This library scans the firmware volume to find these modules and calculate their fixup loaded
addresses used to load their symbols in the debugger.

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

9 years ago1. Fix a bug : netboot6 client hangs if DHCPv6 Advertisement received without netboot...
hhuan13 [Mon, 18 Jul 2011 08:28:30 +0000 (08:28 +0000)]
1. Fix a bug : netboot6 client hangs if DHCPv6 Advertisement received without netboot6 info

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

9 years agoEmulatorPkg: Fix bug with missing &. Causes a link failure on TOT clang.
andrewfish [Fri, 15 Jul 2011 19:01:16 +0000 (19:01 +0000)]
EmulatorPkg: Fix bug with missing &. Causes a link failure on TOT clang.

signed-off-by: andrewfish

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