mirror_edk2.git
11 years agoRevert last commit about "Clean up MdeModuleHii.h to remove HII_VENDOR_DEVICE_PATH...
gikidy [Fri, 19 Aug 2011 03:13:58 +0000 (03:13 +0000)]
Revert last commit about "Clean up MdeModuleHii.h to remove HII_VENDOR_DEVICE_PATH and remove DevicePath.h file."

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

11 years agoClean up MdeModuleHii.h to remove HII_VENDOR_DEVICE_PATH and remove DevicePath.h...
gikidy [Fri, 19 Aug 2011 02:54:24 +0000 (02:54 +0000)]
Clean up MdeModuleHii.h to remove HII_VENDOR_DEVICE_PATH and remove DevicePath.h file.

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

11 years agoSimplify the SmmPeriodicSmiLib to call AllocatePool() for every entry in the SMI...
niruiyu [Fri, 19 Aug 2011 01:37:47 +0000 (01:37 +0000)]
Simplify the SmmPeriodicSmiLib to call AllocatePool() for every entry in the SMI periodic handler list.

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

11 years agoArmPlatformPkg: Changed the reference base of the PI Global Pointer Offset
oliviermartin [Thu, 18 Aug 2011 22:02:20 +0000 (22:02 +0000)]
ArmPlatformPkg: Changed the reference base of the PI Global Pointer Offset

Before the PI Global Pointer Offsets were refered to the top of the Global Pointer region (negative offset).
After this commit the Global Pointer Offset are relative to the base of the Global Pointer region.

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

11 years agoBeagleBoardPkg: Use gArmTokenSpaceGuid.PcdSystemMemoryBase/Size to define System...
oliviermartin [Thu, 18 Aug 2011 21:15:50 +0000 (21:15 +0000)]
BeagleBoardPkg: Use gArmTokenSpaceGuid.PcdSystemMemoryBase/Size to define System Memory

These PCDs are used by ArmPlatformPkg/Bds to know where to load the Linux kernel and its parameters.

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

11 years agoArmPkg/BdsLib: Allocate memory with AnyPage type if it failed with the one initially...
oliviermartin [Thu, 18 Aug 2011 21:11:27 +0000 (21:11 +0000)]
ArmPkg/BdsLib: Allocate memory with AnyPage type if it failed with the one initially requested

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

11 years agoArmPlatformPkg/Bds: Add Linux 'initrd' support to BDS
oliviermartin [Thu, 18 Aug 2011 13:21:14 +0000 (13:21 +0000)]
ArmPlatformPkg/Bds: Add Linux 'initrd' support to BDS

An 'initrd' file can be specified for a Linux kernel.

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

11 years agoArmPlatformPkg/Bds: Add return carriage after the user presses 'ESC'
oliviermartin [Thu, 18 Aug 2011 11:29:26 +0000 (11:29 +0000)]
ArmPlatformPkg/Bds: Add return carriage after the user presses 'ESC'

Otherwise, the next line of the boot menu was on the same line as the 'escaped' one.

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

11 years agoArmPlatformPkg/PrePiHobListPointerLib: Fixed pointer calculation
oliviermartin [Thu, 18 Aug 2011 11:23:28 +0000 (11:23 +0000)]
ArmPlatformPkg/PrePiHobListPointerLib: Fixed pointer calculation

In the PrePi module, the global variables are located at the top of the stack.
At the opposite of the PeiCore where the global variables are located in the
middle of the stack. The top stack region is reserved for Temporary Memory.

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

11 years agoArmPlatformPkg/PrePi: Removed harcoded HobList pointer calculation to use PrePeiHobLi...
oliviermartin [Thu, 18 Aug 2011 11:17:09 +0000 (11:17 +0000)]
ArmPlatformPkg/PrePi: Removed harcoded HobList pointer calculation to use PrePeiHobListPointerLib function

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

11 years agoArmPkg: Fix ARMGCC build
oliviermartin [Thu, 18 Aug 2011 11:12:39 +0000 (11:12 +0000)]
ArmPkg: Fix ARMGCC build

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

11 years agoArmPlatformPkg/PrePi: Removed second initialization of DebugAgenLib
oliviermartin [Thu, 18 Aug 2011 10:17:59 +0000 (10:17 +0000)]
ArmPlatformPkg/PrePi: Removed second initialization of DebugAgenLib

This second initialization does not make sense in this context.

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

11 years agoArmPlatformPkg/SP804TimerLib: Fix delay functions to be reentrant
oliviermartin [Thu, 18 Aug 2011 10:14:33 +0000 (10:14 +0000)]
ArmPlatformPkg/SP804TimerLib: Fix delay functions to be reentrant

In the previous implementation, if the MicroSecondDelay or NanoSecondDelay
were called while a delay function was already running, the timer HW controller
was reinitialized with the new settings and it was discarding the settings
of the first called delay function.

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

11 years agoArmPlatformPkg/SP804TimerLib: Fixed macro timer base addresses
oliviermartin [Thu, 18 Aug 2011 10:06:38 +0000 (10:06 +0000)]
ArmPlatformPkg/SP804TimerLib: Fixed macro timer base addresses

The base address for the Metronome and Performance timer were reverted.

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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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