]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
10 years agoFix a bug about the iSCSI DHCP dependency issue.
Wu Jiaxin [Fri, 25 Oct 2013 08:07:26 +0000 (08:07 +0000)]
Fix a bug about the iSCSI DHCP dependency issue.
Create rules to determine whether iSCSI need DHCP protocol in current configuration by examining user’s configuration data in DriverBindingSupported().

Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com >
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14803 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix a bug about the iSCSI DHCP dependency issue.
Wu Jiaxin [Fri, 25 Oct 2013 08:05:47 +0000 (08:05 +0000)]
Fix a bug about the iSCSI DHCP dependency issue.
Create rules to determine whether iSCSI need DHCP protocol in current configuration by examining user’s configuration data in DriverBindingSupported().

Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com >
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14802 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoEADK (StdLib, AppPkg, StdLibPrivateInternalFiles): Update ReadMe.txt in all packages.
Daryl McDaniel [Thu, 24 Oct 2013 23:14:10 +0000 (23:14 +0000)]
EADK (StdLib, AppPkg, StdLibPrivateInternalFiles): Update ReadMe.txt in all packages.
StdLib: Update Issues.txt and add Fixes.txt files.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daryl McDaniel <daryl.mcdaniel@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14801 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoShellPkg: Fixes the shell so output redirection works for the 'mode' command
Chris Phillips [Thu, 24 Oct 2013 17:47:57 +0000 (17:47 +0000)]
ShellPkg: Fixes the shell so output redirection works for the 'mode' command

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chris Phillips <chrisp@hp.com>
reviewed-by: Jaben Carsey <Jaben.Carsey@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14800 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoShellPkg: Stop running command when page break quit
Chris Phillips [Thu, 24 Oct 2013 17:29:33 +0000 (17:29 +0000)]
ShellPkg: Stop running command when page break quit

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chris Phillips <chrisp@hp.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14799 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPkg/PL390Gic: Fixed setting of the Interrupt Processor Targets Registers when...
Olivier Martin [Thu, 24 Oct 2013 11:49:32 +0000 (11:49 +0000)]
ArmPkg/PL390Gic: Fixed setting of the Interrupt Processor Targets Registers when Uniprocessor

When running on a uniprocessor implementation, the ICDIPTRn registers are RAZ (Read as Zero).
So the previous assertion was not correct.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14798 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoMdeModulePkg/XhciDxe: Dynamically calculate the interval value of interrupt endpoint...
Tian, Feng [Wed, 23 Oct 2013 05:35:07 +0000 (05:35 +0000)]
MdeModulePkg/XhciDxe: Dynamically calculate the interval value of interrupt endpoint context of low/full speed device behind low/full speed hub.

Signed-off-by: Tian, Feng <feng.tian@intel.com>
reviewed-by: Li, Elvin <elvin.li@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14797 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoEdkCompatibilityPkg: Fixed EDK Shell build
Olivier Martin [Tue, 22 Oct 2013 08:49:50 +0000 (08:49 +0000)]
EdkCompatibilityPkg: Fixed EDK Shell build

Fixed:
- Removed unused variables
- Function does not return value.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14796 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoShellPkg: Fix copy load option error.
Eric Dong [Tue, 22 Oct 2013 01:14:54 +0000 (01:14 +0000)]
ShellPkg: Fix copy load option error.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14795 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPlatformPkg/PL031RealTimeClockLib: Fixed the conditions in LibSetTime()
Olivier Martin [Mon, 21 Oct 2013 11:12:21 +0000 (11:12 +0000)]
ArmPlatformPkg/PL031RealTimeClockLib: Fixed the conditions in LibSetTime()

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14794 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPlatformPkg/PL180MciDxe: Fixed check for space in transmit FIFO
Olivier Martin [Mon, 21 Oct 2013 11:06:51 +0000 (11:06 +0000)]
ArmPlatformPkg/PL180MciDxe: Fixed check for space in transmit FIFO

This patch prevents a buffer underrun error on the Versatile Express

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14793 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPlatformPkg/NorFlashDxe: Fix checking of return value of NorFlashWriteBlocks()
Roy Franz [Mon, 21 Oct 2013 10:29:56 +0000 (10:29 +0000)]
ArmPlatformPkg/NorFlashDxe: Fix checking of return value of NorFlashWriteBlocks()

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Roy Franz <roy.franz@linaro.org>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14792 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAdd TPM1.2 SaveState API.
jyao1 [Mon, 21 Oct 2013 05:56:07 +0000 (05:56 +0000)]
Add TPM1.2 SaveState API.

Signed off by: Yao, Jiewen <Jiewen.yao@intel.com>
Reviewed by: Dong Guo <Gui.dong@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14791 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoEnable two form packages share one hii handle.
Eric Dong [Mon, 21 Oct 2013 05:22:01 +0000 (05:22 +0000)]
Enable two form packages share one hii handle.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14790 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAdd sample code for warningif opcode.
Eric Dong [Mon, 21 Oct 2013 05:19:03 +0000 (05:19 +0000)]
Add sample code for warningif opcode.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14789 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoShellPkg: Fixes for the ‘type’ command:
Chris Phillips [Fri, 18 Oct 2013 20:53:06 +0000 (20:53 +0000)]
ShellPkg: Fixes for the ‘type’ command:
- Better handling to skip byte order mark in Unicode files.
- Only display valid ASCII characters.
- Change to use ShellPrintEx() instead of Print().
- Print each character instead of %s to avoid possible overrun when not NULL terminated.
- Check for ExecutionBreak.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chris Phillips <chrisp@hp.com>
reviewed-by: Jaben Carsey <jaben.carsey@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14788 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoShellPkg: Fix for the ‘mv’ command when destination starts with ‘\’.
Chris Phillips [Fri, 18 Oct 2013 20:10:18 +0000 (20:10 +0000)]
ShellPkg: Fix for the ‘mv’ command when destination starts with ‘\’.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chris Phillips <chrisp@hp.com>
reviewed-by: Jaben Carsey <jaben.carsey@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14787 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoShellPkg: Fixes for the ‘ls’ command:
Chris Phillips [Fri, 18 Oct 2013 18:53:16 +0000 (18:53 +0000)]
ShellPkg: Fixes for the ‘ls’ command:
- Better output to print header and file not found text
- Fix file attribute argument handling
- Fix so path ending with ‘\’ or ‘*’ is handled correctly

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chris Phillips <chrisp@hp.com>
reviewed-by: Jaben Carsey <jaben.carsey@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14786 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoShellPkg: Fixes ‘edit’ command to correctly display ASCII or UNICODE for the file...
Chris Phillips [Fri, 18 Oct 2013 18:11:52 +0000 (18:11 +0000)]
ShellPkg: Fixes ‘edit’ command to correctly display ASCII or UNICODE for the file type.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chris Phillips <chrisp@hp.com>
reviewed-by: jaben carsey <jaben.carsey@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14785 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoShellPkg: Fixes for shell application launch, argument handling, and version output:
Chris Phillips [Fri, 18 Oct 2013 15:49:23 +0000 (15:49 +0000)]
ShellPkg: Fixes for shell application launch, argument handling, and version output:
- Fixes shell application launch version output to match ‘ver’ command, as specified by the UEFI Shell spec.
- Adds PcdShellSupplier for <shell-supplier-specific-data> line of version output.  Defaulted to “EDK II”.
- Display only 1 startup.nsh countdown line per second instead of 10 per second.
- Fix issue where command line is just 1 or more “ “ characters and displayed garbage.
- Fix for @echo –off and @echo –on to not restore echo state

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chris Phillips <chrisp@hp.com>
reviewed-by: Jaben Carsey <Jaben.Carsey@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14784 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix an issue that execute "map -r" in NT32 simulator cannot reinstate iSCSI session...
Ye Ting [Fri, 18 Oct 2013 02:49:13 +0000 (02:49 +0000)]
Fix an issue that execute "map -r" in NT32 simulator cannot reinstate iSCSI session with Linux iSCSI target after unplug/plug network cable.

Signed-off-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14783 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix an issue that execute "map -r" in UEFI shell cannot reinstate iSCSI session with...
Ye Ting [Fri, 18 Oct 2013 02:45:52 +0000 (02:45 +0000)]
Fix an issue that execute "map -r" in UEFI shell cannot reinstate iSCSI session with Microsoft iSCSI target after unplug/plug network cable.

Signed-off-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14782 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix an issue that execute "map -r" in UEFI shell cannot reinstate iSCSI session with...
Ye Ting [Fri, 18 Oct 2013 02:43:34 +0000 (02:43 +0000)]
Fix an issue that execute "map -r" in UEFI shell cannot reinstate iSCSI session with Microsoft iSCSI target after unplug/plug network cable.

Signed-off-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14781 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoSeparate NT32 build directory, so that we can build IA32 and X64 image at same time.
Yao, Jiewen [Wed, 16 Oct 2013 08:19:48 +0000 (08:19 +0000)]
Separate NT32 build directory, so that we can build IA32 and X64 image at same time.

Signed-off-by: Yao, Jiewen <Jiewen.Yao@intel.com>
Reviewed-by: Ni, Ruiyu <Ruiyu.Ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14780 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix DxeCapsuleLib build failure
czhang46 [Wed, 16 Oct 2013 07:43:14 +0000 (07:43 +0000)]
Fix DxeCapsuleLib build failure

Signed-off-by : Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by   : Gao Liming <liming.gao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14779 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPkg/Include/Chipset: Fix translation table address calculations for AARCH64
Garrett Kirkendall [Tue, 15 Oct 2013 09:25:38 +0000 (09:25 +0000)]
ArmPkg/Include/Chipset: Fix translation table address calculations for AARCH64

TT_ADDRESS_* macros were not casting immediate values to UINTN.
This causes shift operations to be off by 32-bits when calculating
addresses above 4GB.  Any address above 4GB was being improperly calculated.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Garrett Kirkendall <garrett.kirkendall@amd.com>
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14777 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoMdeModulePkg/XhciDxe: Usb legacy support feature is optional. For those usb 3.0 devic...
Sergey Isakov [Tue, 15 Oct 2013 06:13:14 +0000 (06:13 +0000)]
MdeModulePkg/XhciDxe: Usb legacy support feature is optional. For those usb 3.0 devices which doesn’t support this feature, should directly return and not touch corresponding registers

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
Signed-off-by: Tian, Feng <feng.tian@intel.com>
Reviewed-by: Li, Elvin <elvin.li@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14776 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoClean the garbage space for the statements nest in subtitle menu.
Eric Dong [Tue, 15 Oct 2013 02:51:13 +0000 (02:51 +0000)]
Clean the garbage space for the statements nest in subtitle menu.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14774 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoEnable UEFI firmware to support FMP capsule format.
czhang46 [Tue, 15 Oct 2013 01:31:49 +0000 (01:31 +0000)]
Enable UEFI firmware to support FMP capsule format.

signed-off-by : Chao Zhang <chao.b.zhang@intel.com>
reviewed-by   : Gao Liming <liming.gao@intel.com>
reviewed-by   : Yao Jiewen <Jiewen.yao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14773 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPkg/CpuDxe: Fixed confusion in AArch64 Table descriptor types
Olivier Martin [Mon, 14 Oct 2013 16:32:38 +0000 (16:32 +0000)]
ArmPkg/CpuDxe: Fixed confusion in AArch64 Table descriptor types

Table Descriptor and Level-3 Block entry descriptors have the same
translation table type value (ie: 0x3).

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14771 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoOvmfPkg/PlatformPei: correctly align emulated NV storage
Wei Liu [Mon, 14 Oct 2013 16:24:37 +0000 (16:24 +0000)]
OvmfPkg/PlatformPei: correctly align emulated NV storage

Per 2c4b18e ("MdeModulePkg: Add the alignment check for FTW spare area
address and length, and add the check for PcdFlashNvStorageVariableSize
<= PcdFlashNvStorageFtwSpareSize."), FTWDxe refuses to initialize if
spare space base address or size is not aligned to block size.

Depending on configuration, memory for FTWDxe might be dynamically
allocated in PlatformPei. This patch makes sure that the allocated
memory region is aligned.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14770 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoMdePkg PeiServicesLib: Refine the code to avoid error report.
Star Zeng [Mon, 14 Oct 2013 09:39:25 +0000 (09:39 +0000)]
MdePkg PeiServicesLib: Refine the code to avoid error report.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14769 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoMove update legacy order logic from CHANGING to CHANGED.
Eric Dong [Mon, 14 Oct 2013 02:42:47 +0000 (02:42 +0000)]
Move update legacy order logic from CHANGING to CHANGED.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14768 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoCorrect a typo: Change the type of the 4th parameter of EFI_DRIVER_HEALTH_PROTOCOL...
Ruiyu Ni [Mon, 14 Oct 2013 02:02:02 +0000 (02:02 +0000)]
Correct a typo: Change the type of the 4th parameter of EFI_DRIVER_HEALTH_PROTOCOL::Repair() from EFI_DRIVER_HEALTH_REPAIR_PROGRESS_NOTIFY to EFI_DRIVER_HEALTH_REPAIR_NOTIFY to follow the UEFI spec.

Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14767 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoWe enabled X64 native version NT32, and made it works on Windows 7 X64 OS.
Jiamin Ma [Sat, 12 Oct 2013 06:31:55 +0000 (06:31 +0000)]
We enabled X64 native version NT32, and made it works on Windows 7 X64 OS.

Signed-off-by: Jiamin Ma <mjmthy@gmail.com>
Reviewed by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed by: Liming Gao <liming.gao@intel.com>
Reviewed by: Jiewen Yao <jiewen.yao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14766 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUpdate comments for VarOffset field in the dynamic create question function.
Eric Dong [Sat, 12 Oct 2013 02:10:02 +0000 (02:10 +0000)]
Update comments for VarOffset field in the dynamic create question function.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14765 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoMdeModulePkg/AtaAtapiPassThru: Add parameter check to ResetDevice() to follow UEFI...
Tian, Feng [Fri, 11 Oct 2013 07:37:30 +0000 (07:37 +0000)]
MdeModulePkg/AtaAtapiPassThru: Add parameter check to ResetDevice() to follow UEFI spec.

Signed-off-by: Tian, Feng <feng.tian@intel.com>
reviewed-by: Jin, Eric <eric.jin@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14764 6f19259b-4bc3-4df7-8a09-765794883524

10 years ago1. Enable use-cases in PEI using SecurityPPI co-equal to the use-cases in DXE using...
Star Zeng [Fri, 11 Oct 2013 03:54:13 +0000 (03:54 +0000)]
1. Enable use-cases in PEI using SecurityPPI co-equal to the use-cases in DXE using the Security Arch Protocol
2. Add support to find section by instance rather than only 0 at PEI phase.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14763 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoMdeModulePkg/AtaBus&AtaAtapiPassThru: Update ATA drivers to follow UEFI2.4 new reques...
Tian, Feng [Thu, 10 Oct 2013 05:57:50 +0000 (05:57 +0000)]
MdeModulePkg/AtaBus&AtaAtapiPassThru: Update ATA drivers to follow UEFI2.4 new request in which it requests ResetEx() to terminate any in-flight non-blocking IO request with EFI_ABORTED transaction status.

Signed-off-by: Tian, Feng <feng.tian@intel.com>
reviewed-by: Ni, Ruiyu <ruiyu.ni@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14761 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoJust like EhciDxe, do not reset host controller when debug capability is enabled...
Elvin Li [Wed, 9 Oct 2013 08:30:59 +0000 (08:30 +0000)]
Just like EhciDxe, do not reset host controller when debug capability is enabled in XhciDxe driver.

Signed-off-by: Elvin Li <elvin.li@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14760 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRestore the correct cursor status after finish creating the dialog.
Eric Dong [Wed, 9 Oct 2013 07:51:14 +0000 (07:51 +0000)]
Restore the correct cursor status after finish creating the dialog.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14758 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUpdate PeiCore to support load PEIM into memory on S3 boot path.
Liming Gao [Wed, 9 Oct 2013 05:39:51 +0000 (05:39 +0000)]
Update PeiCore to support load PEIM into memory on S3 boot path.

Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14757 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix coding style issue.
Fu Siyuan [Wed, 9 Oct 2013 03:46:46 +0000 (03:46 +0000)]
Fix coding style issue.
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Dong Guo <guo.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14755 6f19259b-4bc3-4df7-8a09-765794883524

10 years ago TrEEPhysicalPresenceLib|Include/Library/TrEEPhysicalPresenceLib.h
jyao1 [Wed, 9 Oct 2013 02:52:51 +0000 (02:52 +0000)]
  TrEEPhysicalPresenceLib|Include/Library/TrEEPhysicalPresenceLib.h
Correct LIBRARY_CLASS definition and declaration.

signed off by : jiewen, yao jiewen.yao@intel.com
reviewed by : liming, gao liming.gao@intel.com

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14754 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix several DEBUG_ERROR messages that are unnecessarily verbose. Several of these...
Samer El-Haj-Mahmoud [Tue, 8 Oct 2013 09:31:48 +0000 (09:31 +0000)]
Fix several DEBUG_ERROR messages that are unnecessarily verbose. Several of these are marked as DEBUG_ERROR when they are really not errors.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@hp.com>
reviewed-by: Zeng, Star <star.zeng@intel.com>
reviewed-by: Tian, Feng <feng.tian@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14751 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix several DEBUG_ERROR messages that are unnecessarily verbose. Several of these...
Samer El-Haj-Mahmoud [Tue, 8 Oct 2013 09:27:02 +0000 (09:27 +0000)]
Fix several DEBUG_ERROR messages that are unnecessarily verbose. Several of these are marked as DEBUG_ERROR when they are really not errors.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@hp.com>
reviewed-by: Fan, Jeff <jeff.fan@intel.com>
reviewed-by: Tian, Feng <feng.tian@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14750 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix orderedlist opcode shows abnormal.
Eric Dong [Tue, 8 Oct 2013 06:26:37 +0000 (06:26 +0000)]
Fix orderedlist opcode shows abnormal.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14748 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix display engine driver paint some menu error.
Eric Dong [Tue, 8 Oct 2013 06:25:36 +0000 (06:25 +0000)]
Fix display engine driver paint some menu error.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14747 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix a bug about the “VendorKey” variable update logic.
Fu Siyuan [Tue, 8 Oct 2013 05:31:28 +0000 (05:31 +0000)]
Fix a bug about the “VendorKey” variable update logic.
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Dong Guo <guo.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14746 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoShellPkg: Fix ‘ifconfig’ so it will build with NIC_IP4_CONFIG_INFO.Permanent change...
Chris Phillips [Fri, 4 Oct 2013 16:34:19 +0000 (16:34 +0000)]
ShellPkg: Fix ‘ifconfig’ so it will build with NIC_IP4_CONFIG_INFO.Permanent change, and update the STR_IFCONFIG_PERMANENT_STATUS string token.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chris Phillips <chrisp@hp.com>
reviewed-by: Jaben Carsey <jaben.carsey@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14745 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoShellPkg: Fix ‘ifconfig’ so it will build with NIC_IP4_CONFIG_INFO.Permanent change...
Chris Phillips [Fri, 4 Oct 2013 15:38:38 +0000 (15:38 +0000)]
ShellPkg: Fix ‘ifconfig’ so it will build with NIC_IP4_CONFIG_INFO.Permanent change, and update the STR_IFCONFIG_PERMANENT_STATUS string token.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chris Phillips <chrisp@hp.com>
reviewed-by: Jaben Carsey <jaben.carsey@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14744 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix spelling typo in the NIC_IP4_CONFIG_INFO.Permanent variable name, which was incor...
Samer El-Haj-Mahmoud elhaj [Tue, 1 Oct 2013 22:12:51 +0000 (22:12 +0000)]
Fix spelling typo in the NIC_IP4_CONFIG_INFO.Permanent variable name, which was incorrectly called NIC_IP4_CONFIG_INFO.Perment

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Samer El-Haj-Mahmoud elhaj@hp.com
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14743 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoOvmfPkg: Removed magic values for the Virtio Sub-System ID in the PCI device drivers
Olivier Martin [Mon, 30 Sep 2013 09:04:22 +0000 (09:04 +0000)]
OvmfPkg: Removed magic values for the Virtio Sub-System ID in the PCI device drivers

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14742 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoOvmfPkg/Virtio.h: Added VirtIo Subsystem IDs
Olivier Martin [Mon, 30 Sep 2013 08:56:50 +0000 (08:56 +0000)]
OvmfPkg/Virtio.h: Added VirtIo Subsystem IDs

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14741 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoOvmfPkg/IndustryStandard: Fixed 'VirtioNet.h' line endings
Olivier Martin [Mon, 30 Sep 2013 08:55:38 +0000 (08:55 +0000)]
OvmfPkg/IndustryStandard: Fixed 'VirtioNet.h' line endings

EDK2 files must use CRLF line ending.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14740 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAdd the definition for Timestamp Protocol and a new driver base on TimerLib to produ...
Shumin Qiu [Sun, 29 Sep 2013 05:51:12 +0000 (05:51 +0000)]
Add the definition for Timestamp Protocol and a new  driver base on TimerLib to produce Timestamp protocol.

Signed-off-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14739 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix ICC build fail
Eric Dong [Sun, 29 Sep 2013 01:20:26 +0000 (01:20 +0000)]
Fix ICC build fail

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14737 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix modal form display error.
Eric Dong [Sat, 28 Sep 2013 04:51:32 +0000 (04:51 +0000)]
Fix modal form display error.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14736 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix form flash issue.
Eric Dong [Fri, 27 Sep 2013 12:19:51 +0000 (12:19 +0000)]
Fix form flash issue.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14735 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix the BdsExpandPartitionPartialDevicePathToFull() hang issue by duplicates BlockIoD...
Ruiyu Ni [Thu, 26 Sep 2013 05:53:11 +0000 (05:53 +0000)]
Fix the BdsExpandPartitionPartialDevicePathToFull() hang issue by duplicates BlockIoDevicePath when the CachedDevicePath returned from BdsLibDelPartMatchInstance() is NULL.

Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Chao B Zhang <chao.b.zhang@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14733 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUse RETRIEVE instead of CHANGING for refresh question.
Eric Dong [Wed, 25 Sep 2013 12:40:31 +0000 (12:40 +0000)]
Use RETRIEVE instead of CHANGING for refresh question.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14727 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoOvmfPkg: EFI handover flags are in Bp->hdr.xloadflags
Matt Fleming [Tue, 24 Sep 2013 18:33:56 +0000 (18:33 +0000)]
OvmfPkg: EFI handover flags are in Bp->hdr.xloadflags

LoadLinux() is looking at the wrong field for the kernel's EFI handover
protocol flags. It's not currently possible for JumpToUefiKernel() to
ever be called (even accidentally) because BIT2 and BIT3 of
Bp->hdr.load_flags are never set in modern kernels, which means that
control is always transferred to the kernel via the legacy entry point.

Look at the correct field so that the EFI handover protocol is used
whenever it's available.

Contributed-under: TianoCore Contribution Agreement 1.0
Cc: David Woodhouse <David.Woodhouse@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14721 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoOvmfPkg: Remove IndustryStandard/X64Paging.h
Jordan Justen [Tue, 24 Sep 2013 18:23:59 +0000 (18:23 +0000)]
OvmfPkg: Remove IndustryStandard/X64Paging.h

Since we no longer building page tables in SEC C code, we no
longer need this file.

This reverts commit r14493.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14720 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoOvmfPkg/Sec: Stop building identity mapped pages in SEC
Jordan Justen [Tue, 24 Sep 2013 18:23:53 +0000 (18:23 +0000)]
OvmfPkg/Sec: Stop building identity mapped pages in SEC

Now for X64 we use a VTF0 ResetVector which puts the page
tables in RAM. Therefore SEC no longer needs to do this.

This reverts commit r14494.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14719 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoOvmfPkg X64: Convert 24KB from uncompressed to compressed storage
Jordan Justen [Tue, 24 Sep 2013 18:23:47 +0000 (18:23 +0000)]
OvmfPkg X64: Convert 24KB from uncompressed to compressed storage

Since we no longer require flash tables to be stored uncompressed
in the flash image, we can now give extra space to the main/compressed
storage area.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14718 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoOvmfPkg: For OvmfPkgX64, use OvmfPkg/ResetVector
Jordan Justen [Tue, 24 Sep 2013 18:23:41 +0000 (18:23 +0000)]
OvmfPkg: For OvmfPkgX64, use OvmfPkg/ResetVector

This reset vector code will build page tables in RAM at address
0x80000, rather than relying on page tables to be present within
the flash image.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14717 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoOvmfPkg/ResetVector: enable caching in initial page tables
Laszlo Ersek [Tue, 24 Sep 2013 18:23:26 +0000 (18:23 +0000)]
OvmfPkg/ResetVector: enable caching in initial page tables

In UEFI X64 we use other mechanisms to disable caching.
(CD/NW in CR0 and MTRRs.)

This fixes a slow boot issue with SVM.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14716 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoOvmfPkg: Add platform specific reset vector code for X64
Jordan Justen [Tue, 24 Sep 2013 18:23:20 +0000 (18:23 +0000)]
OvmfPkg: Add platform specific reset vector code for X64

KVM has a bug that prevents using page tables in the ROM if the ROM
region utilizes the KVM READONLY memory feature. Therefore, we
avoid using page tables stored in the ROM.

Since OVMF doesn't require memory initialization, we just build
page table entries in RAM at 0x80000 very early in the OVMF boot
process. This address is just after the 'temp RAM' which is set
up by the SEC module.

Currently we only set up 4GB of page tables for OVMF's PEI,
but DxeIpl will build identity mapped page tables that cover all
of the available processor physical address space.

Reported-by: Gary Ching-Pang Lin <glin@suse.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14715 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUefiCpuPkg/ResetVector/Vtf0: Move Page Table/CR3 setting to a new file
Jordan Justen [Tue, 24 Sep 2013 18:23:09 +0000 (18:23 +0000)]
UefiCpuPkg/ResetVector/Vtf0: Move Page Table/CR3 setting to a new file

Now, Transition32FlatTo64Flat calls SetCr3ForPageTables64
which is located in Ia32/PageTables64.asm.

This change is required so OVMF can replace the code in
Ia32/PageTables64.asm with code that generates page tables in
RAM.

Note: Since this change does not impact the functionality of the
current VTF0 binaries, they are not being updated. The resulting
new binaries were tested to verify there is no regression.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14714 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoEdkShellBinPkg: Added AArch64 EdkShellPkg binary and Updated Arm binary
Olivier Martin [Tue, 24 Sep 2013 11:43:02 +0000 (11:43 +0000)]
EdkShellBinPkg: Added AArch64 EdkShellPkg binary and Updated Arm binary

These binaries are based on EFI Shell project SVN R64 + EdkShellPkg/ShellR64.patch.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14713 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoShellBinPkg: Update ARM and AArch64 Binaries with svn 14706 ShellPkg sources
Olivier Martin [Tue, 24 Sep 2013 10:22:32 +0000 (10:22 +0000)]
ShellBinPkg: Update ARM and AArch64 Binaries with svn 14706 ShellPkg sources

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14712 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix deadloop issue in BrowserCallback function.
Eric Dong [Tue, 24 Sep 2013 10:08:04 +0000 (10:08 +0000)]
Fix deadloop issue in BrowserCallback function.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14711 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoSync BaseTool trunk (version r2601) into EDKII BaseTools.
Liming Gao [Tue, 24 Sep 2013 07:13:44 +0000 (07:13 +0000)]
Sync BaseTool trunk (version r2601) into EDKII BaseTools.

Signed-off-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14710 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoShellBinPkg: Update binaries
Jaben Carsey [Mon, 23 Sep 2013 14:50:57 +0000 (14:50 +0000)]
ShellBinPkg: Update binaries

from SVN 14706

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14707 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoMmcDxe Diagnostics: return EFI_UNSUPPORTED for Language other than english
Olivier Martin [Mon, 23 Sep 2013 09:43:51 +0000 (09:43 +0000)]
MmcDxe Diagnostics: return EFI_UNSUPPORTED for Language other than english

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14706 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoLcdGraphicsOutputDxe: Update FrameBufferSize as per UEFI spec section 11.9
Olivier Martin [Mon, 23 Sep 2013 09:42:53 +0000 (09:42 +0000)]
LcdGraphicsOutputDxe: Update FrameBufferSize as per UEFI spec section 11.9

The shift by 1 on the left was expected. It eases the access to CSSELR and set/way operations
where the cache level field is at the BIT1 position.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14705 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPkg/ArmLib: Revert change 'Fixed field shifting in CLIDR_EL1 (AArch64)'
Olivier Martin [Mon, 23 Sep 2013 09:42:05 +0000 (09:42 +0000)]
ArmPkg/ArmLib: Revert change 'Fixed field shifting in CLIDR_EL1 (AArch64)'

The shift by 1 on the left was expected. It eases the access to CSSELR and set/way operations
where the cache level field is at the BIT1 position.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14704 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoSemihostFs: Fix check for read-only file or file-open
Olivier Martin [Mon, 23 Sep 2013 09:41:19 +0000 (09:41 +0000)]
SemihostFs: Fix check for read-only file or file-open

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14703 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPlatformPkg/LcdGraphicsOutputDxe: Call LcdShutdown() on ExitBootServices() if...
Olivier Martin [Mon, 23 Sep 2013 09:40:27 +0000 (09:40 +0000)]
ArmPlatformPkg/LcdGraphicsOutputDxe: Call LcdShutdown() on ExitBootServices() if PcdGopDisableOnExitBootServices

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14702 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoLcdGraphicsOutputDxe: Fix BltVideoFill for non-32-bit architectures
Olivier Martin [Mon, 23 Sep 2013 09:39:40 +0000 (09:39 +0000)]
LcdGraphicsOutputDxe: Fix BltVideoFill for non-32-bit architectures

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14701 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPkg/CpuDxe: Fixed the condition that checks if the level-1 descriptor points to...
Olivier Martin [Mon, 23 Sep 2013 09:38:53 +0000 (09:38 +0000)]
ArmPkg/CpuDxe: Fixed the condition that checks if the level-1 descriptor points to a level-2 page table

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14700 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoEdkShellPkg: Add Aarch64 support
Olivier Martin [Mon, 23 Sep 2013 09:20:03 +0000 (09:20 +0000)]
EdkShellPkg: Add Aarch64 support

* Update the EFI Shell patch to use SVN rev 64 (was rev 61)
* Modify build system to enable compilation targeting Aarch64 platform.
* Modify patch to apply on EdkShell sources to add support for Aarch64.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14699 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoMdeModulePkg/NvmExpressDxe: Fix an issue of potential uninitialized local variable
Feng Tian [Mon, 23 Sep 2013 02:10:58 +0000 (02:10 +0000)]
MdeModulePkg/NvmExpressDxe: Fix an issue of potential uninitialized local variable

Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14695 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAdd missing comments for function parameters.
gdong1 [Mon, 23 Sep 2013 02:00:24 +0000 (02:00 +0000)]
Add missing comments for function parameters.

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14694 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoresolve TpmMeasurementLib dependency introduced in r14687
jyao1 [Sun, 22 Sep 2013 02:15:16 +0000 (02:15 +0000)]
resolve TpmMeasurementLib dependency introduced in r14687

signed off by: jiewen.yao@intel.com

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14692 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoResolve GCC build error, where #pragma pack(push[, id], <n>) is not supported.
jyao1 [Sun, 22 Sep 2013 01:56:37 +0000 (01:56 +0000)]
Resolve GCC build error, where #pragma pack(push[, id], <n>) is not supported.

signed off by: jiewen.yao@intel.com

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14691 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoOvmfPkg: resolve TpmMeasurementLib dependency introduced in r14687
Laszlo Ersek [Sat, 21 Sep 2013 08:18:03 +0000 (08:18 +0000)]
OvmfPkg: resolve TpmMeasurementLib dependency introduced in r14687

(1) OVMF depends on

  MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf

unconditionally.

(2) When OVMF is built with -D SECURE_BOOT_ENABLE, then

  SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf

is injected into SecurityStubDxe above.

(3) SVN r14687 ("Add TPM2 implementation.") has made
DxeImageVerificationLib dependent on TpmMeasurementLib.

Currently the last link of the

  OVMF -> SecurityStubDxe -> DxeImageVerificationLib -> TpmMeasurementLib

dependency chain is unresolved:

  build.py...
  /.../OvmfPkg/OvmfPkgX64.dsc(...): error 4000: Instance of library class [TpmMeasurementLib] is not found
  in [/.../SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf] [X64]
  consumed by module [/.../MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf]

Let's provide a library instance for TpmMeasurementLib the same way as
"SecurityPkg/SecurityPkg.dsc" does (SVN r13964.)

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14690 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoShellPkg: Handle pool allocation failure
Sergei Antonov [Fri, 20 Sep 2013 20:10:17 +0000 (20:10 +0000)]
ShellPkg: Handle pool allocation failure

FreePool() will receive NULL if AllocateZeroPool() fails.
So a check for NULL is needed.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Sergei Antonov <saproj@gmail.com>
reviewed-by: jaben carsey <jaben.carsey@gmail.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14689 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoShellPkg: Handle pool allocation failure
Sergei Antonov [Thu, 19 Sep 2013 17:23:10 +0000 (17:23 +0000)]
ShellPkg: Handle pool allocation failure

If AllocateZeroPool() returns NULL,
GetVariable() will return EFI_BUFFER_TOO_SMALL,
FreePool() will receive NULL.
So check for NULL before FreePool().

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Sergei Antonov <saproj@gmail.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14688 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAdd TPM2 implementation.
jyao1 [Wed, 18 Sep 2013 05:31:18 +0000 (05:31 +0000)]
Add TPM2 implementation.

signed off by: jiewen.yao@intel.com
reviewed by: guo.dong@intel.com

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14687 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAdd TPM2 related header file.
jyao1 [Wed, 18 Sep 2013 05:29:06 +0000 (05:29 +0000)]
Add TPM2 related header file.
signed off by: jiewen.yao@intel.com
reviewed by: liming.gao@intel.com

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14686 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix a bug in Ip4 driver that Ip4.Transmit() interface may return EFI_INVALID_PARAMETE...
Fu Siyuan [Wed, 18 Sep 2013 02:27:20 +0000 (02:27 +0000)]
Fix a bug in Ip4 driver that Ip4.Transmit() interface may return EFI_INVALID_PARAMETER without restore TPL.
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Jin Eric <eric.jin@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14682 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoMdeModulePkg/AtaAtapiPassThru: To follow UEFI 2.4, updating the implementation of...
Feng Tian [Wed, 18 Sep 2013 02:13:34 +0000 (02:13 +0000)]
MdeModulePkg/AtaAtapiPassThru: To follow UEFI 2.4, updating the implementation of ATA_PASS_THRU.PassThru() to allow sending ATA cmds to ATAPI devices.

Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Eric Jin <eric.jin@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14681 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix 3 bugs in DiskIoDxe and PartitionDxe drivers introduced in DiskIo2 implementation.
Ruiyu Ni [Tue, 17 Sep 2013 05:11:30 +0000 (05:11 +0000)]
Fix 3 bugs in DiskIoDxe and PartitionDxe drivers introduced in DiskIo2 implementation.
1. DiskIo2 shouldn't signal the event when the *Ex interface returns failure status per the UEFI spec.
2. PartitionDxe should close DiskIo2 protocol when error happens in DriverBindingStart() otherwise Fat driver cannot open the DiskIo2 BY_DRIVER.
3. PartitionDxe should create event using TPL_NOTIFY instead of TPL_CALLBACK otherwise asynchronous FileIo may be blocked.

Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14680 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRemove the non-ASCII characters in the comments of StatusCodeDataTypeId
Shumin Qiu [Tue, 17 Sep 2013 00:33:25 +0000 (00:33 +0000)]
Remove the non-ASCII characters in the comments of StatusCodeDataTypeId

Signed-off-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14679 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoExport one interface to support 3rd party to change question attribute, such as hide...
Eric Dong [Mon, 16 Sep 2013 09:50:32 +0000 (09:50 +0000)]
Export one interface to support 3rd party to change question attribute, such as hide/gray out.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14678 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPkg/ArmLib: Fixed field shifting in CLIDR_EL1 (AArch64)
Olivier Martin [Mon, 16 Sep 2013 09:33:55 +0000 (09:33 +0000)]
ArmPkg/ArmLib: Fixed field shifting in CLIDR_EL1 (AArch64)

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14677 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPkg/CpuDxe: Fixed attribute setting in GetNextEntryAttribute()
Olivier Martin [Mon, 16 Sep 2013 09:32:59 +0000 (09:32 +0000)]
ArmPkg/CpuDxe: Fixed attribute setting in GetNextEntryAttribute()

The wrong attribute was used to set the region.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14676 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPlatformPkg/MemoryInitPei: AARCH64 fix memory address calculations
Garrett Kirkendall [Mon, 16 Sep 2013 09:29:52 +0000 (09:29 +0000)]
ArmPlatformPkg/MemoryInitPei: AARCH64 fix memory address calculations

At least for AARCH64 currently, SystemMemoryTop and FdTop can overflow
while adding the 32-bit PCDs together.  The resulting value loses the
upper 32-bits.  Cast each of the values to EFI_PHYSICAL_ADDRESS size
before doing the addition to prevent erroneous overflow.  There is currently
no 32-bit platform in EDKII open source that will overflow and this change
would not fix that problem anyway.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Garrett Kirkendall <garrett.kirkendall@amd.com>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14675 6f19259b-4bc3-4df7-8a09-765794883524

10 years ago1. Read 32bit CPU Init APIC ID from CPUID leaf B in XAPIC mode.
Jeff Fan [Mon, 16 Sep 2013 08:42:59 +0000 (08:42 +0000)]
1. Read 32bit CPU Init APIC ID from CPUID leaf B in XAPIC mode.
2. Read CPU APIC ID from CPUID leaf B in case CPU Init APIC ID is larger 255 in XAPIC mode.

Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14674 6f19259b-4bc3-4df7-8a09-765794883524