]>
git.proxmox.com Git - mirror_edk2.git/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
xdu2 [Fri, 28 Oct 2011 09:54:08 +0000 (09:54 +0000)]
SecurityPkg: Update DxeImageVerificationLib with following changes:
1. Update to check image digest against dbx before execute it.
2. Update to support revoke certificate.
3. Update to support enroll unsigned PE image's Hash to allowed database (db). (Note: Unsigned Image's Hash is calculated in the same way with authenticode, the algorithm is assumed to be SHA256.)
Signed-off-by: xdu2
Reviewed-by: tye
Reviewed-by: gdong1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12598
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Fri, 28 Oct 2011 09:35:10 +0000 (09:35 +0000)]
Add the missing HEADER_ALIGN macro.
Signed-off-by: niruiyu
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12597
6f19259b -4bc3-4df7-8a09-
765794883524
li-elvin [Fri, 28 Oct 2011 08:25:18 +0000 (08:25 +0000)]
Set video resolution to highest when PcdVideoHorizontalResolution or PcdVideoVerticalResolution are set to 0x0.
Signed-off-by: li-elvin
Reviewed-by: niruiyu, hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12596
6f19259b -4bc3-4df7-8a09-
765794883524
li-elvin [Fri, 28 Oct 2011 08:23:37 +0000 (08:23 +0000)]
Remove hard code video resolution in C code and use PCD PcdVideoHorizontalResolution/PcdVideoVerticalResolution for customization. And when PcdConOutRow/PcdConOutColumn and PcdVideoHorizontalResolution/PcdVideoVerticalResolution are all set to 0, the console will be max video resolution and max text mode.
Signed-off-by: li-elvin
Reviewed-by: niruiyu, hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12595
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Fri, 28 Oct 2011 08:18:57 +0000 (08:18 +0000)]
Correct key word of define macro to DEFINE per Build spec.
Signed-off-by: lgao4
Reviewed-by: gikidy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12594
6f19259b -4bc3-4df7-8a09-
765794883524
tye1 [Fri, 28 Oct 2011 07:41:26 +0000 (07:41 +0000)]
1. Fix build break issue for NOOPT target.
2. Fix potential system hang issue in X509_STORE_CTX_cleanup.
3. Fix potential overflow when convert UINTN to INT.
4. Update Pkcs7Sign() to output stripped PKCS#7 SignedData.
5. Update Pkcs7Verify() to support both wrapped/stripped PKCS#7 SignedData.
Signed-off-by: tye
Reviewed-by: xdu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12593
6f19259b -4bc3-4df7-8a09-
765794883524
tye1 [Fri, 28 Oct 2011 07:30:21 +0000 (07:30 +0000)]
Clean NV flag in ‘Save Changes’ in IP6 menu.
Signed-off-by: tye
Reviewed-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12592
6f19259b -4bc3-4df7-8a09-
765794883524
tye1 [Fri, 28 Oct 2011 07:27:48 +0000 (07:27 +0000)]
1. Update error handling code if failing attach socket with new PCB.
2. Set TCP state to Tcp4StateClosed after Configure called with NULL.
Signed-off-by: tye
Reviewed-by: xdu2
Reviewed-by: qouyang
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12591
6f19259b -4bc3-4df7-8a09-
765794883524
tye1 [Fri, 28 Oct 2011 07:24:52 +0000 (07:24 +0000)]
Update error handling code if failing attach socket with new PCB in TcpDxe module.
Signed-off-by: tye
Reviewed-by: xdu2
Reviewed-by: qouyang
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12590
6f19259b -4bc3-4df7-8a09-
765794883524
vanjeff [Fri, 28 Oct 2011 06:04:01 +0000 (06:04 +0000)]
Set MTRR registers.
Signed-off-by: vanjeff
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12589
6f19259b -4bc3-4df7-8a09-
765794883524
qianouyang [Fri, 28 Oct 2011 06:02:50 +0000 (06:02 +0000)]
Remove a unnecessary Macro in SecureBootConfigImpl.h.
Signed-off-by: qianouyang
Reviewed-by: gdong1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12588
6f19259b -4bc3-4df7-8a09-
765794883524
vanjeff [Fri, 28 Oct 2011 06:01:55 +0000 (06:01 +0000)]
1. Introduce the API MtrrGetDefaultMemoryType () in Mtrr Library.
2. Invoke MtrrGetDefaultMemoryType() to get the default memory type instead of the hard code value in module.
3. Add go though for UC attributes.
Signed-off-by: vanjeff
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12587
6f19259b -4bc3-4df7-8a09-
765794883524
qianouyang [Fri, 28 Oct 2011 03:46:20 +0000 (03:46 +0000)]
Enable/Disable Secured Boot by 'Secure Boot Configuration' Page which is under Setup browser.
Signed-off-by: qianouyang
Reviewed-by: gdong1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12586
6f19259b -4bc3-4df7-8a09-
765794883524
lzeng14 [Thu, 27 Oct 2011 10:46:50 +0000 (10:46 +0000)]
Add core FFS3 support, FwVolDxe and SectionExtraction.
Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12585
6f19259b -4bc3-4df7-8a09-
765794883524
lzeng14 [Thu, 27 Oct 2011 09:23:19 +0000 (09:23 +0000)]
Add core FFS3 support, DxeCore.
Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12584
6f19259b -4bc3-4df7-8a09-
765794883524
lzeng14 [Thu, 27 Oct 2011 09:04:50 +0000 (09:04 +0000)]
Add core FFS3 support, PeiCore and DxeIpl.
Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12583
6f19259b -4bc3-4df7-8a09-
765794883524
lzeng14 [Thu, 27 Oct 2011 08:45:50 +0000 (08:45 +0000)]
Add core FFS3 support, ExtractGuidedSectionLib/GuidedSectionExtractionLib/PiFirmwareFile.h.
Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12582
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Thu, 27 Oct 2011 05:38:42 +0000 (05:38 +0000)]
Check the serial buffer empty status before performing the serial IO reading operation.
Signed-off-by: niruiyu
Reviewed-by: vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12581
6f19259b -4bc3-4df7-8a09-
765794883524
vanjeff [Thu, 27 Oct 2011 05:26:02 +0000 (05:26 +0000)]
Store PeiServices** when updating IDT table in DxeIplPeim before transfer to long mode.
Signed-off-by: vanjeff
Reviewed-by: rsun3
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12580
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Thu, 27 Oct 2011 05:24:06 +0000 (05:24 +0000)]
Check the device path protocol before opening the PciIo BY_DRIVER.
Signed-off-by: niruiyu
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12579
6f19259b -4bc3-4df7-8a09-
765794883524
ydong10 [Thu, 27 Oct 2011 01:10:18 +0000 (01:10 +0000)]
Initialize the parameter mUnicodeCollation before use it to avoid system hang.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12577
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Thu, 27 Oct 2011 00:43:13 +0000 (00:43 +0000)]
Update Base type SecPeiDxeTimerLibUefiCpu to support all module type.
Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12576
6f19259b -4bc3-4df7-8a09-
765794883524
qianouyang [Wed, 26 Oct 2011 09:36:55 +0000 (09:36 +0000)]
Fix a bug which cause a CRTL, ALT, or SHIFT is pressed on the GOP console for NT32, it inserts a ' 'character character.
Root cause is that the parameter of UnicodeStr doesn’t initialize.
Signed-off-by: qianouyang
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12575
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Wed, 26 Oct 2011 09:29:46 +0000 (09:29 +0000)]
Adopt new IPv4/IPv6 device path for network modules.
Signed-off-by: tye
Reviewed-by: niruiyu
Adopt SasEx and new IPv6 device path for DevicePathDxe driver.
Signed-off-by: niruiyu
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12574
6f19259b -4bc3-4df7-8a09-
765794883524
vanjeff [Wed, 26 Oct 2011 07:08:32 +0000 (07:08 +0000)]
Removing IsaSerailDxe driver instead of removing the TerminalDxe driver when source level debugging feature enabled.
Signed-off-by: vanjeff
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12573
6f19259b -4bc3-4df7-8a09-
765794883524