]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
12 years agoCorrect AtaAtapiPassThru module packaging info.
erictian [Tue, 15 Nov 2011 09:47:32 +0000 (09:47 +0000)]
Correct AtaAtapiPassThru module packaging info.

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

12 years agoAccording to PI errata 0000690, word "Ide Bus driver" has been replaced with "Driver...
erictian [Tue, 15 Nov 2011 09:43:32 +0000 (09:43 +0000)]
According to PI errata 0000690, word "Ide Bus driver" has been replaced with "Driver entity".

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

12 years agoAccording to PI errata 0000690, word "Ide Bus driver" has been replaced with "Driver...
erictian [Tue, 15 Nov 2011 09:43:04 +0000 (09:43 +0000)]
According to PI errata 0000690, word "Ide Bus driver" has been replaced with "Driver entity".

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

12 years agoAccording to PI errata 0000690, word "Ide Bus driver" has been replaced with "Driver...
erictian [Tue, 15 Nov 2011 09:42:16 +0000 (09:42 +0000)]
According to PI errata 0000690, word "Ide Bus driver" has been replaced with "Driver entity".

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

12 years agoRemove code comments since PI 1.2c has fixed the typo of some status code name.
vanjeff [Tue, 15 Nov 2011 08:36:06 +0000 (08:36 +0000)]
Remove code comments since PI 1.2c has fixed the typo of some status code name.

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

12 years agoCSM is updated to remove RaiseTPL (TPL_HIGH_LEVEL) and disable 2 known UEFI interrupt...
li-elvin [Tue, 15 Nov 2011 07:59:21 +0000 (07:59 +0000)]
CSM is updated to remove RaiseTPL (TPL_HIGH_LEVEL) and disable 2 known UEFI interrupts instead. This is needed to process HPET timer interrupt before going into real mode.

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

12 years agoHPET driver was updated and included:
li-elvin [Tue, 15 Nov 2011 07:58:00 +0000 (07:58 +0000)]
HPET driver was updated and included:
Comparator register automatically grow without breaking main counter register, this allow other driver to use HPET main counter.
Timer register overflow handle.
32-bit HPET timer support.
TimerDriverSetTimerPeriod is changed to handle HPET timer interrupt delivered into real mode.

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

12 years agoThe handler dispatcher in PEI statuscode router driver should check if handler is...
li-elvin [Tue, 15 Nov 2011 06:36:37 +0000 (06:36 +0000)]
The handler dispatcher in PEI statuscode router driver should check if handler is NULL, if it is not NULL, then handler can be called.

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

12 years agoAccording to PI 1.2c Vol 5, update the code to stipulate SMBIOS 2.7 and include the...
lzeng14 [Tue, 15 Nov 2011 06:30:05 +0000 (06:30 +0000)]
According to PI 1.2c Vol 5, update the code to stipulate SMBIOS 2.7 and include the new types defined therein.

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

12 years agoDo not call LocateProtocol when the current TPL is above or equal TPL_NOTIFY.
niruiyu [Tue, 15 Nov 2011 01:48:13 +0000 (01:48 +0000)]
Do not call LocateProtocol when the current TPL is above or equal TPL_NOTIFY.

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

12 years agoFix incorrect pointer check.
li-elvin [Tue, 15 Nov 2011 01:14:44 +0000 (01:14 +0000)]
Fix incorrect pointer check.

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

12 years agoUpdate comment for function header.
ydong10 [Mon, 14 Nov 2011 08:51:05 +0000 (08:51 +0000)]
Update comment for function header.

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

12 years agoFollow PI1.2c spec, check empty string and return EFI_INVALID_PARAMETER.
jyao1 [Mon, 14 Nov 2011 06:28:40 +0000 (06:28 +0000)]
Follow PI1.2c spec, check empty string and return EFI_INVALID_PARAMETER.
Clean up comment according to PI1.2c spec.

signed-off-by: jyao1
reviewed-by: rsun3

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

12 years agoFix a typo in the comments
niruiyu [Mon, 14 Nov 2011 02:41:04 +0000 (02:41 +0000)]
Fix a typo in the comments

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

12 years agoShellPkg: Update comments for functions to clarify buffer origin.
darylm503 [Sat, 12 Nov 2011 00:35:11 +0000 (00:35 +0000)]
ShellPkg: Update comments for functions to clarify buffer origin.

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

12 years agoShellpkg: Add support for filenames with spaces.
jcarsey [Fri, 11 Nov 2011 16:52:09 +0000 (16:52 +0000)]
Shellpkg: Add support for filenames with spaces.

This patch changes the file redirection support to allow for quote delimited filenames that contain spaces and updates the edit command to allow spaces in the filename.  This also properly fails for attempts to redirect to "" (empty quotes).

This was missing from the first portion of the commit.

signed-off-by: jcarsey
reviewed-by: jliu66

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

12 years agoShellpkg: Add support for filenames with spaces.
jcarsey [Fri, 11 Nov 2011 16:45:19 +0000 (16:45 +0000)]
Shellpkg: Add support for filenames with spaces.

This patch changes the file redirection support to allow for quote delimited filenames that contain spaces and updates the edit command to allow spaces in the filename.  This also properly fails for attempts to redirect to "" (empty quotes).

signed-off-by: jcarsey
reviewed-by: jliu66

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

12 years agoStdLib: Correct module type and [LibraryClasses] section.
darylm503 [Fri, 11 Nov 2011 01:19:10 +0000 (01:19 +0000)]
StdLib: Correct module type and [LibraryClasses] section.

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

12 years agoStdLib: Eliminate TimerLib dependencies.
darylm503 [Fri, 11 Nov 2011 00:32:31 +0000 (00:32 +0000)]
StdLib: Eliminate TimerLib dependencies.

Implement the clock() function using the EFI time-of-day clock instead of a TimerLib instance.

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

12 years agoOvmfPkg: Add CSM16 and related drivers if CSM_ENABLE is set
jljusten [Thu, 10 Nov 2011 22:04:49 +0000 (22:04 +0000)]
OvmfPkg: Add CSM16 and related drivers if CSM_ENABLE is set

Note: The CSM16 binary must be copied into the tree at
OvmfPkg/Csm/Csm16/Csm16.bin in order to use CSM_ENABLE.

If CSM_ENABLE is set during the build, then the CSM16 binary
and the CSM support (Legacy BIOS) drivers will be added to
the build.

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

12 years agoOvmfPkg: Add CsmSupportLib
jljusten [Thu, 10 Nov 2011 22:04:19 +0000 (22:04 +0000)]
OvmfPkg: Add CsmSupportLib

This library installs the legacy interrupt, region
and platform support required for CSM support
drivers.

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

12 years agoArmPlatformPkg/patches: Update the 'PendingPatches' on the latest BaseTools syncup
oliviermartin [Thu, 10 Nov 2011 10:57:37 +0000 (10:57 +0000)]
ArmPlatformPkg/patches: Update the 'PendingPatches' on the latest BaseTools syncup

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

12 years agoAdd description for the parameter of SafeFreePool().
lzeng14 [Thu, 10 Nov 2011 01:44:22 +0000 (01:44 +0000)]
Add description for the parameter of SafeFreePool().

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

12 years agoArmPlatformPkg: Fix Global Variable region initialization when GlobalVariable's size...
oliviermartin [Wed, 9 Nov 2011 11:52:37 +0000 (11:52 +0000)]
ArmPlatformPkg: Fix Global Variable region initialization when GlobalVariable's size is zero

The exit loop was not considering a size of zero for the Global Variable region.

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

12 years agoRemove some useless functions for EhciPei driver.
lzeng14 [Wed, 9 Nov 2011 09:38:56 +0000 (09:38 +0000)]
Remove some useless functions for EhciPei driver.

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

12 years agoSync BaseTool trunk (version r2397) into EDKII BaseTools. The change mainly includes
lgao4 [Wed, 9 Nov 2011 04:32:08 +0000 (04:32 +0000)]
Sync BaseTool trunk (version r2397) into EDKII BaseTools.  The change mainly includes
1. Fix the issue that root directory of disk can’t be used as WORKSPACE.
2. Update AutoGen code style to pass C++ compiler.

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

12 years agoMdePkg/BaseLib: Replaced inline assembly for ARMGCC by GCC assembly source file
oliviermartin [Tue, 8 Nov 2011 18:49:22 +0000 (18:49 +0000)]
MdePkg/BaseLib: Replaced inline assembly for ARMGCC by GCC assembly source file

The registers used to passed arguments to the DxeCore entrypoint in the inline
assembly function InternalSwitchStackAsm() where switched at compilation time.
This change replaces the inline assembly by a pure assembly source file to
avoid this kind of optimization.

Note: Inline assembly is generally not recommanded in system programming.

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

12 years agoBeagleBoardPkg: Check if the compiler arm-linux-gnueabi-gcc is present in the path
oliviermartin [Tue, 8 Nov 2011 18:30:26 +0000 (18:30 +0000)]
BeagleBoardPkg: Check if the compiler arm-linux-gnueabi-gcc is present in the path

'arm-linux-gnueabi-gcc' is the compiler attached to the ARMLINUXGCC toolchain.
This compiler is available in the PATH environment variable when the Linaro's
toolchain package is installed (Ubuntu distribution).

If if compiler is in the path then select the ARMLINUXGCC toolchain. This change
is to make easier to build UEFI on the BeagleBoard for new starters by hiding the
toolchain.

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

12 years agoAdd the missing (UINTN) type cast when calculating the end of variable store.
niruiyu [Tue, 8 Nov 2011 08:42:34 +0000 (08:42 +0000)]
Add the missing (UINTN) type cast when calculating the end of variable store.

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

12 years agoIntroduce video resolution and text mode PCDs for BIOS setup in BDS module. User...
li-elvin [Tue, 8 Nov 2011 07:34:56 +0000 (07:34 +0000)]
Introduce video resolution and text mode PCDs for BIOS setup in BDS module. User can use these PCDs to customize video resolution and text mode for setup when launching BIOS setup.

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

12 years agoSourceLevelDebugPkg: Check if PcdUsbEhciPciAddress is set correctly to avoid assertion
erictian [Tue, 8 Nov 2011 06:12:06 +0000 (06:12 +0000)]
SourceLevelDebugPkg: Check if PcdUsbEhciPciAddress is set correctly to avoid assertion

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

12 years agoCheck the return status of booting against EFI_SUCCESS instead of using EFI_ERROR...
niruiyu [Tue, 8 Nov 2011 03:10:36 +0000 (03:10 +0000)]
Check the return status of booting against EFI_SUCCESS instead of using EFI_ERROR() macro to catch the warning status.

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

12 years agoRoll back an incorrect change that causes EmuGetVariable always return EFI_NOT_FOUND.
niruiyu [Tue, 8 Nov 2011 03:00:56 +0000 (03:00 +0000)]
Roll back an incorrect change that causes EmuGetVariable always return EFI_NOT_FOUND.

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

12 years agoEmulatorPkg, OvmfPkg: Remove debug code in build.sh
jljusten [Tue, 8 Nov 2011 00:39:05 +0000 (00:39 +0000)]
EmulatorPkg, OvmfPkg: Remove debug code in build.sh

This debug code causes the build.sh script to exit
immediately for systems with GCC 4.4.

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

12 years agoIntelFrameworkModulePkg-GenericBdsLib: Add type cast for conversion from INTN to...
xdu2 [Mon, 7 Nov 2011 03:35:21 +0000 (03:35 +0000)]
IntelFrameworkModulePkg-GenericBdsLib: Add type cast for conversion from INTN to UINTN.

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

12 years agoIntelFrameworkModulePkg: Update GenericBdsLib to use BootLogo protocol to report...
xdu2 [Fri, 4 Nov 2011 08:28:09 +0000 (08:28 +0000)]
IntelFrameworkModulePkg: Update GenericBdsLib to use BootLogo protocol to report logo information after logo is drawn to screen; update BdsDxe to notify logo is corrupted when user is going to enter setup.

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

12 years agoMdeModulePkg: Define Boot Logo protocol to convey information of Logo dispayed during...
xdu2 [Fri, 4 Nov 2011 08:27:53 +0000 (08:27 +0000)]
MdeModulePkg: Define Boot Logo protocol to convey information of Logo dispayed during boot.

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

12 years agoMdePkg: Move Bmp.h from IntelFrameworkModulePkg/Library/GenericBdsLib/ to MdePkg...
xdu2 [Fri, 4 Nov 2011 08:27:47 +0000 (08:27 +0000)]
MdePkg: Move Bmp.h from IntelFrameworkModulePkg/Library/GenericBdsLib/ to MdePkg/Include/IndustryStandard.

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

12 years agoCorrect the logic to check EFI_FV2_WRITE_STATUS.
lzeng14 [Fri, 4 Nov 2011 06:26:26 +0000 (06:26 +0000)]
Correct the logic to check EFI_FV2_WRITE_STATUS.

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

12 years agoAdd debug information for secure boot test convenient.
gdong1 [Fri, 4 Nov 2011 05:41:06 +0000 (05:41 +0000)]
Add debug information for secure boot test convenient.

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

12 years agoUpdate return FALSE to ASSERT() for code consistent.
tye1 [Fri, 4 Nov 2011 02:55:30 +0000 (02:55 +0000)]
Update return FALSE to ASSERT() for code consistent.

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

12 years agoMdeModulePkg: ATA performance tuning.
erictian [Thu, 3 Nov 2011 12:38:21 +0000 (12:38 +0000)]
MdeModulePkg: ATA performance tuning.

1. Boost IDE mode boot when slave device is absent.
2. Use D2H FIS to check if the PIO OUT/DMA IN/DMA OUT transfer is finished or error happened. ATA PIO IN has special check as it may just receive PIO SETUP FIS for success case.
3. Add command status register check for IDE DMA transfer.
4. ScsiDiskReadCapacity() in ScsiDisk should return EFI_SUCCESS if SENSE Data request is success.

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

12 years agoMdeModulePkg: Define correct ABI for issuing UNDI command and UNDI callback functions...
xdu2 [Thu, 3 Nov 2011 02:59:20 +0000 (02:59 +0000)]
MdeModulePkg: Define correct ABI for issuing UNDI command and UNDI callback functions in SnpDxe.

This update ensure correct calling convention for interfaces between binary UNDI driver and SnpDxe.

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

12 years agoAdd NULL pointer check before free pool.
lzeng14 [Thu, 3 Nov 2011 02:45:25 +0000 (02:45 +0000)]
Add NULL pointer check before free pool.

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

12 years agoStdLib: Fix some corrupted comments and inconsistent indentation.
darylm503 [Thu, 3 Nov 2011 00:52:37 +0000 (00:52 +0000)]
StdLib: Fix some corrupted comments and inconsistent indentation.

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

12 years agoStdLib: Move the declarations for ffs() and bzero() from extern.h to strings.h.
darylm503 [Thu, 3 Nov 2011 00:35:55 +0000 (00:35 +0000)]
StdLib: Move the declarations for ffs() and bzero() from extern.h to strings.h.

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

12 years agoStdLib: Make the vfscanf function public.
darylm503 [Thu, 3 Nov 2011 00:19:10 +0000 (00:19 +0000)]
StdLib: Make the vfscanf function public.

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

12 years agoStdLib: Revise the meaning of several feature macros.
darylm503 [Thu, 3 Nov 2011 00:01:24 +0000 (00:01 +0000)]
StdLib: Revise the meaning of several feature macros.

Feature macros, defined in StdLibPrivateInternalFiles/Include/LibConfig.h are defined to cause the named feature to be included.  When originally added, several features were guarded using reversed logic.

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

12 years agoStdLib: Fix dirent structure members to be of the correct type.
darylm503 [Wed, 2 Nov 2011 23:41:29 +0000 (23:41 +0000)]
StdLib: Fix dirent structure members to be of the correct type.

The type of the time values in a UEFI directory entry are EFI_TIME, not timeval.

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

12 years agoStdLib: Remove files obsoleted by changelist 12649.
darylm503 [Wed, 2 Nov 2011 19:30:43 +0000 (19:30 +0000)]
StdLib: Remove files obsoleted by changelist 12649.

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

12 years agoStdLib: Add directory access functions to PosixLib.
darylm503 [Wed, 2 Nov 2011 19:24:19 +0000 (19:24 +0000)]
StdLib: Add directory access functions to PosixLib.

Update <dirent.h> and <sys/dirent.h> to latest version.
Enable the tempnam function.
Fix assignments within predicate expressions so that it is clear where assignment is intended and where comparison occurs.
Remove internal.h and DirFunctions.c with its non-portable opendir, closedir, and readdir functions.
Add modified versions of the NetBSD opendir, closedir, and readdir functions.
Fix the declaration of stat() to be standards compliant and consistent with code.

Clean up indentation and declarations of non-existent objects.

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

12 years agoAdd TscTimerLibInternal.h in INF file.
lzeng14 [Wed, 2 Nov 2011 01:58:23 +0000 (01:58 +0000)]
Add TscTimerLibInternal.h in INF file.

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

12 years agoBeagleBoard: Clean DSC and FDF files
oliviermartin [Tue, 1 Nov 2011 23:46:18 +0000 (23:46 +0000)]
BeagleBoard: Clean DSC and FDF files

BeagleBoard pass the Linaro's Linux kernel command line argument as default parameter

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

12 years agoArmPlatform/Sec: Ensure all the CPU cores are calling ArmCpuSetup()
oliviermartin [Tue, 1 Nov 2011 23:45:41 +0000 (23:45 +0000)]
ArmPlatform/Sec: Ensure all the CPU cores are calling ArmCpuSetup()

Only the primary core was calling this function.

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

12 years agoArmPlatformPkg/PrePi: Remove duplicate call of BuildMemoryTypeInformationHob()
oliviermartin [Tue, 1 Nov 2011 23:45:09 +0000 (23:45 +0000)]
ArmPlatformPkg/PrePi: Remove duplicate call of BuildMemoryTypeInformationHob()

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

12 years agoArmPlaformPkg/ArmVExpressPkg: Move initialization of SP810 at the early stage of...
oliviermartin [Tue, 1 Nov 2011 23:44:51 +0000 (23:44 +0000)]
ArmPlaformPkg/ArmVExpressPkg: Move initialization of SP810 at the early stage of the platform initialization (SEC)

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

12 years agoArmPlatformPkg: Fix PCD namespace for PCD that defines the the size of a Secure/Non...
oliviermartin [Tue, 1 Nov 2011 23:44:30 +0000 (23:44 +0000)]
ArmPlatformPkg: Fix PCD namespace for PCD that defines the the size of a Secure/Non Secure FD/FV files

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

12 years agoArmPlatformPkg/Bds: Fix the Boot Manager option to set the FDT device path
oliviermartin [Tue, 1 Nov 2011 23:44:05 +0000 (23:44 +0000)]
ArmPlatformPkg/Bds: Fix the Boot Manager option to set the FDT device path

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

12 years agoArmPlatformPkg/Bds: Fixed and Improved initrd support in the ArmPlatformPkg Boot...
oliviermartin [Tue, 1 Nov 2011 23:43:37 +0000 (23:43 +0000)]
ArmPlatformPkg/Bds: Fixed and Improved initrd support in the ArmPlatformPkg Boot Manager

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

12 years agoArmPlatformPkg/Bds: Fix when the default console variables are empty (or null)
oliviermartin [Tue, 1 Nov 2011 23:43:12 +0000 (23:43 +0000)]
ArmPlatformPkg/Bds: Fix when the default console variables are empty (or null)

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

12 years agoArmPlatformPkg: Fix initialization of the Global Variable when stack pointer higher...
oliviermartin [Tue, 1 Nov 2011 23:42:29 +0000 (23:42 +0000)]
ArmPlatformPkg: Fix initialization of the Global Variable when stack pointer higher than 0x7FFFFFFF

Fixed signed comparison error.

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

12 years agoArmPlatform/PrePi: Fixed PrePi for MP Cores platform and Global Variable region settings
oliviermartin [Tue, 1 Nov 2011 23:41:52 +0000 (23:41 +0000)]
ArmPlatform/PrePi: Fixed PrePi for MP Cores platform and Global Variable region settings

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

12 years agoArmPlatformPkg/Sec: Replaced hardcode SCR and NSACR values by PCDs to enable CPU...
oliviermartin [Tue, 1 Nov 2011 23:41:20 +0000 (23:41 +0000)]
ArmPlatformPkg/Sec: Replaced hardcode SCR and NSACR values by PCDs to enable CPU and Platform Specific settings

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

12 years agoArmPlatformPkg: Use EmuVariable, Add Simple TextInTextOut to make easier to port...
oliviermartin [Tue, 1 Nov 2011 23:40:49 +0000 (23:40 +0000)]
ArmPlatformPkg: Use EmuVariable, Add Simple TextInTextOut to make easier to port to a new platform

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

12 years agoArmPlatformPkg: Boot Linux from semihosting on RTSM by default (was NOR Flash)
oliviermartin [Tue, 1 Nov 2011 23:40:18 +0000 (23:40 +0000)]
ArmPlatformPkg: Boot Linux from semihosting on RTSM by default (was NOR Flash)

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

12 years agoArmPlatformPkg: Use fixed PcdTrustzoneSupport to define if Trustzone is enabled for...
oliviermartin [Tue, 1 Nov 2011 23:39:43 +0000 (23:39 +0000)]
ArmPlatformPkg: Use fixed PcdTrustzoneSupport to define if Trustzone is enabled for a firmware

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

12 years agoArmPlatformPkg: Fix PrePi firmwares for ArmRealViewEb
oliviermartin [Tue, 1 Nov 2011 23:39:17 +0000 (23:39 +0000)]
ArmPlatformPkg: Fix PrePi firmwares for ArmRealViewEb

The SEC component was using the wrong library for the Global Variable region.

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

12 years agoArmPlatformPkg: Remove ArmPlatformBootRemapping() function from the ArmPlatformLib
oliviermartin [Tue, 1 Nov 2011 23:36:59 +0000 (23:36 +0000)]
ArmPlatformPkg: Remove ArmPlatformBootRemapping() function from the ArmPlatformLib

Memory map remapping is a platform specific feature only enabled by some platforms.
Instead of keeping this function empty for most platforms, the function has been
removed. This feature can easily fit in any other ArmPlatformLib function.

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

12 years agoArmPkg/ArmPkg.dsc: Add latest drivers to the DSC file to validate that they build
oliviermartin [Tue, 1 Nov 2011 23:35:38 +0000 (23:35 +0000)]
ArmPkg/ArmPkg.dsc: Add latest drivers to the DSC file to validate that they build

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

12 years agoArmPkg/RvdPeCoffExtraActionLib: Add quotes in RVD command line for RVD under Linux
oliviermartin [Tue, 1 Nov 2011 23:35:05 +0000 (23:35 +0000)]
ArmPkg/RvdPeCoffExtraActionLib: Add quotes in RVD command line for RVD under Linux

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

12 years agoArmPkg/DefaultExceptionHandlerLib: Replace the Print() by SerialOutputWrite() function
oliviermartin [Tue, 1 Nov 2011 23:34:14 +0000 (23:34 +0000)]
ArmPkg/DefaultExceptionHandlerLib: Replace the Print() by SerialOutputWrite() function

Print() is using the Console Output Protocol that cannot be available at the time of the exception.

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

12 years agoArmPkg/ArmArchTimerLib: Fix TimerLib when the security extension is not implemented
oliviermartin [Tue, 1 Nov 2011 23:33:29 +0000 (23:33 +0000)]
ArmPkg/ArmArchTimerLib: Fix TimerLib when the security extension is not implemented

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

12 years agoArmPkg: Fix GetClusterId() calculation from MpId
oliviermartin [Tue, 1 Nov 2011 23:32:45 +0000 (23:32 +0000)]
ArmPkg: Fix GetClusterId() calculation from MpId

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

12 years agoArmPkg/ArmCpuLib: Fix GCC/XCode builds
oliviermartin [Tue, 1 Nov 2011 23:32:04 +0000 (23:32 +0000)]
ArmPkg/ArmCpuLib: Fix GCC/XCode builds

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

12 years agoArmPlatformPkg: Coding style (minor changes)
oliviermartin [Tue, 1 Nov 2011 23:31:02 +0000 (23:31 +0000)]
ArmPlatformPkg: Coding style (minor changes)

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

12 years agoArmPlatformPkg/ArmVExpressPkg: Do not declare SCC base for the RTSM VE Model
oliviermartin [Tue, 1 Nov 2011 23:28:27 +0000 (23:28 +0000)]
ArmPlatformPkg/ArmVExpressPkg: Do not declare SCC base for the RTSM VE Model

The System Control Configuration registers are not implemented on the Model

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

12 years agoShellPkg: swap warm and cold to get the default correct for Reset command.
jcarsey [Tue, 1 Nov 2011 20:05:11 +0000 (20:05 +0000)]
ShellPkg: swap warm and cold to get the default correct for Reset command.

sighed-off-by: jcarsey
reviewed-by: gookboy15a

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

12 years agoEnhance drivers for sanity check and coding style alignment.
gdong1 [Tue, 1 Nov 2011 09:18:30 +0000 (09:18 +0000)]
Enhance drivers for sanity check and coding style alignment.

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

12 years agoThe three TscTimerLib has been merged to one directory.
lzeng14 [Tue, 1 Nov 2011 02:08:21 +0000 (02:08 +0000)]
The three TscTimerLib has been merged to one directory.

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

12 years agoStdLib: Fix strcmp so that comparisons are case sensitive. Simplified code for strca...
darylm503 [Tue, 1 Nov 2011 00:19:51 +0000 (00:19 +0000)]
StdLib: Fix strcmp so that comparisons are case sensitive.  Simplified code for strcasecmp.

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

12 years agoEmulatorPkg: Fix DSC_SPECIFICATION typo in dsc
jljusten [Mon, 31 Oct 2011 15:58:29 +0000 (15:58 +0000)]
EmulatorPkg: Fix DSC_SPECIFICATION typo in dsc

The new BaseTools code generates an error for this typo.

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

12 years agoOvmfPkg/PlatformPei: Remove MtrrLib ASSERTs
jljusten [Mon, 31 Oct 2011 15:58:18 +0000 (15:58 +0000)]
OvmfPkg/PlatformPei: Remove MtrrLib ASSERTs

QEMU doesn't support MTRR emulation in some cases,
and therefore the MtrrLib calls may return an error.
In that case, we should silently ignore the error.

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

12 years agoMdeModulePkg: Remove variables that are set, but not used
jljusten [Mon, 31 Oct 2011 15:58:05 +0000 (15:58 +0000)]
MdeModulePkg: Remove variables that are set, but not used

GCC 4.6 generates a warning when a variable is set,
but never used.

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

12 years agoIntelFrameworkModulePkg: Remove variables that are set, but not used
jljusten [Mon, 31 Oct 2011 15:57:25 +0000 (15:57 +0000)]
IntelFrameworkModulePkg: Remove variables that are set, but not used

GCC 4.6 generates a warning when a variable is set,
but never used.

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

12 years agoOvmfPkg: Remove variables that are set, but not used
jljusten [Mon, 31 Oct 2011 15:57:12 +0000 (15:57 +0000)]
OvmfPkg: Remove variables that are set, but not used

GCC 4.6 generates a warning when a variable is set,
but never used.

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

12 years agoOvmfPkg/build.sh: Detect GCC 4.5 & 4.6
jljusten [Mon, 31 Oct 2011 15:56:55 +0000 (15:56 +0000)]
OvmfPkg/build.sh: Detect GCC 4.5 & 4.6

Detect GCC 4.5 & 4.6, and use GCC45 and GCC46 toolchains.

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

12 years agoEmulatorPkg: Remove variables that are set, but not used
jljusten [Mon, 31 Oct 2011 15:56:44 +0000 (15:56 +0000)]
EmulatorPkg: Remove variables that are set, but not used

GCC 4.6 flags a warning for this.

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

12 years agoEmulatorPkg Linux: Improve detection of libraries for host executable
jljusten [Mon, 31 Oct 2011 15:56:28 +0000 (15:56 +0000)]
EmulatorPkg Linux: Improve detection of libraries for host executable

build.sh will detect the locations of the libraries required by
the host executable, and sets the HOST_DLINK_PATHS environment
variable.

In EmulatorPkg/Unix/Host/Host.inf, this environment variable is
used in the linking build step.

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

12 years agoEmulatorPkg/build.sh: Detect GCC 4.5 & 4.6
jljusten [Mon, 31 Oct 2011 15:56:11 +0000 (15:56 +0000)]
EmulatorPkg/build.sh: Detect GCC 4.5 & 4.6

Detect GCC 4.5 & 4.6, and use GCC45 and GCC46 toolchains.

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

12 years agoEmulatorPkg/build.sh: Cleanup variable names
jljusten [Mon, 31 Oct 2011 15:55:52 +0000 (15:55 +0000)]
EmulatorPkg/build.sh: Cleanup variable names

Rename TARGET_TOOLS to HOST_TOOLS.
Rename UNIXPKG_TOOLS to TARGET_TOOLS.

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

12 years agoRoll back the change on GetMemorySpaceAttributeFromMtrrType()'s parameter type, from...
vanjeff [Mon, 31 Oct 2011 06:45:56 +0000 (06:45 +0000)]
Roll back the change on GetMemorySpaceAttributeFromMtrrType()'s parameter type, from MTRR_MEMORY_CACHE_TYPE to UINT8 since MtrrAttributes may be the value not belongs to MTRR_MEMORY_CACHE_TYPE.

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

12 years agoRefine BaseTscTimerLib.
lzeng14 [Mon, 31 Oct 2011 06:37:51 +0000 (06:37 +0000)]
Refine BaseTscTimerLib.

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

12 years agoWhen browser was requested to go to another formset, it also needs to update the...
ydong10 [Mon, 31 Oct 2011 03:33:55 +0000 (03:33 +0000)]
When browser was requested to go to another formset, it also needs to update the hiihandle in Selection structure. If not update this handle, later when call function GetIfrBinaryData to get binary ifr data will return failed.
Also add sample code to use it.

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

12 years agoFix compiler warnings.
rsun3 [Mon, 31 Oct 2011 01:26:19 +0000 (01:26 +0000)]
Fix compiler warnings.

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

12 years agoAdd BaseTscTimerLib, and then merge the three TscTimerLib to one directory.
lzeng14 [Sun, 30 Oct 2011 13:14:44 +0000 (13:14 +0000)]
Add BaseTscTimerLib, and then merge the three TscTimerLib to one directory.

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

12 years agoCorrect file path separator to Linux style for all OS.
lgao4 [Sat, 29 Oct 2011 07:01:23 +0000 (07:01 +0000)]
Correct file path separator to Linux style for all OS.
Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12603 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoSync BaseTools Trunk (version r2387) to EDKII main trunk.
lgao4 [Sat, 29 Oct 2011 06:59:30 +0000 (06:59 +0000)]
Sync BaseTools Trunk (version r2387) to EDKII main trunk.
Signed-off-by: lgao4
Reviewed-by: gikidy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12602 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoCryptoPkg: Fix GCC build break for BaseCryptLib.
xdu2 [Fri, 28 Oct 2011 14:35:01 +0000 (14:35 +0000)]
CryptoPkg: Fix GCC build break for BaseCryptLib.

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

12 years agoMdeModulePkg PciBusDxe: The PCI Bus Driver is updated to support multiple PCI bus...
rsun3 [Fri, 28 Oct 2011 09:59:40 +0000 (09:59 +0000)]
MdeModulePkg PciBusDxe:  The PCI Bus Driver is updated to support multiple PCI bus ranges for a PCI root bridge.

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

12 years agoSecurityPkg: Update VariableAuthenticated driver with following changes:
xdu2 [Fri, 28 Oct 2011 09:55:09 +0000 (09:55 +0000)]
SecurityPkg: Update VariableAuthenticated driver with following changes:

1. Remove memory allocation code in runtime.
2. Exclude NULL terminator in VariableName for serialization data in time-based variable authentication.
3. Add support for enroll PK with WRITE_ACCESS attribute.
4. Initialize SetupMode variable with correct NV attribute.
5. Add support for APPEND_WRITE attribute for non-existing Variable.
6. Clear KEK, DB and DBX as well as PK when user request to clear platform keys.
7. Check duplicated EFI_SIGNATURE_DATA for Variable formatted as EFI_SIGNATURE_LIST when APPEND_WRITE attribute is set.
8. Not change SecureBoot Variable in runtime, only update it in boot time since this Variable indicates firmware operating mode.
9. Save time stamp of PK when PK is set with TIME_BASED_WRITE_ACCESS attribute in setup mode.
10. Update to use PcdMaxVariableSize instead of PcdMaxAppendVariableSize for append operation.

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