niruiyu [Thu, 17 Nov 2011 02:40:28 +0000 (02:40 +0000)]
Change IPF version AuthVariable driver to support multiple-platform feature.
Signed-off-by: rni2
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12730
6f19259b-4bc3-4df7-8a09-
765794883524
rsun3 [Thu, 17 Nov 2011 02:14:30 +0000 (02:14 +0000)]
Update PI Service Table Versions per PI 1.2 Errata C.
Signed-off-by: rsun3
Reviewed-by: vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12729
6f19259b-4bc3-4df7-8a09-
765794883524
niruiyu [Thu, 17 Nov 2011 01:59:30 +0000 (01:59 +0000)]
Correct the code to use SIZE_OF_EFI_FILE_INFO instead of sizeof (EFI_FILE_INFO) to fix a bug when creating a file/directory with single char as file name in root directory.
Signed-off-by: niruiyu
Reviewed-by: jcarsey
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12728
6f19259b-4bc3-4df7-8a09-
765794883524
niruiyu [Thu, 17 Nov 2011 01:56:30 +0000 (01:56 +0000)]
Correct the code to use SIZE_OF_EFI_FILE_INFO instead of sizeof (EFI_FILE_INFO) to fix a bug when creating a file/directory with single char as file name in root directory.
Signed-off-by: niruiyu
Reviewed-by: jcarsey
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12727
6f19259b-4bc3-4df7-8a09-
765794883524
oliviermartin [Wed, 16 Nov 2011 12:53:25 +0000 (12:53 +0000)]
ArmPlatformPkg/PrePi: Ony synchronize cores when it is a MPCore System
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12726
6f19259b-4bc3-4df7-8a09-
765794883524
erictian [Wed, 16 Nov 2011 10:24:47 +0000 (10:24 +0000)]
MdeModulePkg: Enable port power if port power control feature is supported by EHCI
signed-off-by: erictian
reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12725
6f19259b-4bc3-4df7-8a09-
765794883524
jyao1 [Wed, 16 Nov 2011 09:41:55 +0000 (09:41 +0000)]
UEFI231 spec compliance:
UEFI231 defines EFI_SMM_COMMUNICATION_ACPI_TABLE. We should move it from Pi/ dir to Uefi/ dir.
UEFI231 defines EFI_SMM_COMMUNICATE_HEADER. We should move it from Protocol/SmmCommunication.h to Uefi/ dir.
The original file will still include the new data structure to keep compatibility.
signed-off-by: jyao1
reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12724
6f19259b-4bc3-4df7-8a09-
765794883524
rsun3 [Wed, 16 Nov 2011 09:38:12 +0000 (09:38 +0000)]
DuetPkg BootSector:
Update start.asm(S)/start16.asm(S)/start32.asm(S)/efi32.asm(S) under DuetPkg\BootSector to follow the IA32 recommendations on switching to protected mode: Immediately following the MOV CR0 instruction, execute a far JMP or far CALL instruction. (This operation is typically a far jump or call to the next instruction in the instruction stream.)
Signed-off-by: rsun3
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12723
6f19259b-4bc3-4df7-8a09-
765794883524
ydong10 [Wed, 16 Nov 2011 07:16:03 +0000 (07:16 +0000)]
Patch include:
1. Browser not support suppress attribute for date/time opcode, not enable this attribute.
2. Show year field in %04d format, old format is %4d.
3. Add sample to use the suppress attribute.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12722
6f19259b-4bc3-4df7-8a09-
765794883524
ydong10 [Wed, 16 Nov 2011 05:23:38 +0000 (05:23 +0000)]
Enable lock attribute for statement and form; show this attribute same as grayout.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12721
6f19259b-4bc3-4df7-8a09-
765794883524
ydong10 [Wed, 16 Nov 2011 05:09:36 +0000 (05:09 +0000)]
Update select highlight menu logic when opcode is date/time
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12720
6f19259b-4bc3-4df7-8a09-
765794883524
vanjeff [Wed, 16 Nov 2011 02:31:31 +0000 (02:31 +0000)]
Restore original IDT entry if RegisterInterruptHandler() was used to unregister user defined interrupt handler.
Signed-off-by: vanjeff
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12719
6f19259b-4bc3-4df7-8a09-
765794883524
gdong1 [Wed, 16 Nov 2011 01:20:58 +0000 (01:20 +0000)]
Make comments to be consistent with the parameter.
Signed-off-by: gdong1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12718
6f19259b-4bc3-4df7-8a09-
765794883524
qianouyang [Tue, 15 Nov 2011 13:44:06 +0000 (13:44 +0000)]
In AtaAtapiPassThru driver
1. move the non-blocking task related setting ahead to store the MapTable and PageCount in case there is a IO operation error happened then the error handler code could use those information to release the resource.
2. Enlarge the TPL protective area to make sure the simulative delay time is accurate when there is mixing usage of Non blocking and blocking I/O.
Signed-off-by: qianouyang
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12712
6f19259b-4bc3-4df7-8a09-
765794883524
lzeng14 [Tue, 15 Nov 2011 11:06:36 +0000 (11:06 +0000)]
EFI_FVB2_ALIGNMNET_512K should be EFI_FVB2_ALIGNMENT_512K.
Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12711
6f19259b-4bc3-4df7-8a09-
765794883524
lzeng14 [Tue, 15 Nov 2011 11:04:37 +0000 (11:04 +0000)]
According to PI 1.2c Vol 3, EFI_FVB2_ALIGNMNET_512K should be EFI_FVB2_ALIGNMENT_512K.
Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12710
6f19259b-4bc3-4df7-8a09-
765794883524
oliviermartin [Tue, 15 Nov 2011 10:39:42 +0000 (10:39 +0000)]
ArmPlatformPkg: Remove inappropriate comment in ArmPlatformPkg.dec
The comment was not related to the context.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12709
6f19259b-4bc3-4df7-8a09-
765794883524
oliviermartin [Tue, 15 Nov 2011 10:26:58 +0000 (10:26 +0000)]
ArmPlatformPkg/patches: Update pending patches to fix builds
This update should fix the build errors due to the postfix 'U' added to PCD numbers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12708
6f19259b-4bc3-4df7-8a09-
765794883524
qianouyang [Tue, 15 Nov 2011 10:22:35 +0000 (10:22 +0000)]
Update ConfigAcess Protocol which is produced by SecureBootConfigDxe to follow the UEFI SPEC (Handle the Request parameter is NULL in ExtractConfig interface).
Signed-off-by: qianouyang
Reviewed-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12707
6f19259b-4bc3-4df7-8a09-
765794883524
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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