]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
11 years agoFix incorrect return status in Pkcs7Verify().
tye1 [Mon, 25 Jun 2012 05:15:40 +0000 (05:15 +0000)]
Fix incorrect return status in Pkcs7Verify().

Signed-off by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu, Siyuan <Siyuan.fu@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13469 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoMdeMdeModulePkg/Usb: Eliminated the use of Set_Idle request on usb modules.
erictian [Mon, 25 Jun 2012 02:37:38 +0000 (02:37 +0000)]
MdeMdeModulePkg/Usb: Eliminated the use of Set_Idle request on usb modules.

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

11 years agoRoll back the changes for BaseTools
ydong10 [Mon, 25 Jun 2012 02:24:12 +0000 (02:24 +0000)]
Roll back the changes for BaseTools

Signed-off-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13467 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix listen exit path when last port returns an error.
lpleahy [Fri, 22 Jun 2012 21:46:55 +0000 (21:46 +0000)]
Fix listen exit path when last port returns an error.

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

11 years agoEdkShellPkg/ShellR33.patch: Fixed '32'2' folder names
oliviermartin [Fri, 22 Jun 2012 18:47:06 +0000 (18:47 +0000)]
EdkShellPkg/ShellR33.patch: Fixed '32'2' folder names

The 'ShellR33.path' was modifying the 'IA32' folder into 'Ia32'.

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://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13465 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix a typo.
ydong10 [Thu, 21 Jun 2012 05:52:04 +0000 (05:52 +0000)]
Fix a typo.

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

11 years agoMdePkg SmmSwDispatch2.h: comment cleanup.
rsun3 [Thu, 21 Jun 2012 05:47:31 +0000 (05:47 +0000)]
MdePkg SmmSwDispatch2.h: comment cleanup.

Signed-off-by: Sun Rui <rui.sun@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13463 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoStdLib/LibC/Uefi/Devices/Console/daConsole.c: Fix name of the XY offset union.
darylm503 [Wed, 20 Jun 2012 20:28:05 +0000 (20:28 +0000)]
StdLib/LibC/Uefi/Devices/Console/daConsole.c:  Fix name of the XY offset union.

The XYoffset union typedef has been renamed to XY_OFFSET to conform to the C Coding Standards.
Fixes a build error.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: daryl.mcdaniel@intel.com
Reviewed-by: erik.c.bjorge@intel.com
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13462 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAlign the perf data between FPDT and DP.
lzeng14 [Tue, 19 Jun 2012 14:43:33 +0000 (14:43 +0000)]
Align the perf data between FPDT and DP.

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

11 years agoMdeMoMdeMdeModulePkg/EhciPei: By default power on all root ports of EHCI host control...
erictian [Mon, 18 Jun 2012 06:25:34 +0000 (06:25 +0000)]
MdeMoMdeMdeModulePkg/EhciPei: By default power on all root ports of EHCI host controller for recovery path

Signed-off-by: Tian Feng <feng.tian@intel.com>
Reviewed-by: Sun Rui <rui.sun@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13460 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoMdeMdeModulePkg/Usb: Coding style alignment
erictian [Mon, 18 Jun 2012 06:16:55 +0000 (06:16 +0000)]
MdeMdeModulePkg/Usb: Coding style alignment

Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13459 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix potential memory leak issue.
lzeng14 [Mon, 18 Jun 2012 01:34:27 +0000 (01:34 +0000)]
Fix potential memory leak issue.

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

11 years agoStdLib: Add multi-byte character support. The normal "narrow" character set is now...
darylm503 [Fri, 15 Jun 2012 19:58:39 +0000 (19:58 +0000)]
StdLib: Add multi-byte character support.  The normal "narrow" character set is now UTF-8 instead of ASCII.

Add library classes which are required by StdLib, but not commonly defined in Platform DSC files, to StdLib.inc.
Modify MB_LEN_MAX to be 4, the maximum length of UTF-8 characters.
Adjust size of internal buffers to be multiples of MB_LEN_MAX instead of assuming 1-byte characters.
Make the XYoffset object public and move its declaration into EfiSysCall.h.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: daryl.mcdaniel@intel.com
Reviewed-by: erik.c.bjorge@intel.com
Reviewed-by: lee.g.rosenbaum@intel.com
Reviewed-by: leroy.p.leahy@intel.com
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13457 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFixed header comment
lpleahy [Thu, 14 Jun 2012 18:36:50 +0000 (18:36 +0000)]
Fixed header comment

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

11 years agoAdd missing IPv6 address definitions.
lpleahy [Thu, 14 Jun 2012 18:16:01 +0000 (18:16 +0000)]
Add missing IPv6 address definitions.

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

11 years agoEdkShellPkg/ShellR33.patch: Fixed case in filenames
oliviermartin [Thu, 14 Jun 2012 09:19:05 +0000 (09:19 +0000)]
EdkShellPkg/ShellR33.patch: Fixed case in filenames

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://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13454 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoMdeMdeModulePkg/Usb: Fixed a build error in UsbMouseDxe and UsbMouseAbsolutePointerDx...
erictian [Thu, 14 Jun 2012 08:54:52 +0000 (08:54 +0000)]
MdeMdeModulePkg/Usb: Fixed a build error in UsbMouseDxe and UsbMouseAbsolutePointerDxe driver.

Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13453 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoEnable execute property to avoid format is changed carelessly.
vanjeff [Thu, 14 Jun 2012 06:43:08 +0000 (06:43 +0000)]
Enable execute property to avoid format is changed carelessly.

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

11 years agoRemove Carriage-Return character.
vanjeff [Thu, 14 Jun 2012 06:31:44 +0000 (06:31 +0000)]
Remove Carriage-Return character.

signed-off-by: Jeff Fan <jeff.fan@intel.com>
reviewed-by: Ting Ye <ting.ye@intel.com>

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

11 years agoMdeModulePkg/UsbMouse: Get HID descriptor from the return of Get_Desc(Configuration...
erictian [Wed, 13 Jun 2012 08:05:03 +0000 (08:05 +0000)]
MdeModulePkg/UsbMouse: Get HID descriptor from the return of Get_Desc(Configuration) request with total length rather than from Get_Hid_Desc request.

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

11 years agoShellPkg: Fix en-US characters that are outside the Basic Latin character set range
jcarsey [Tue, 12 Jun 2012 17:22:19 +0000 (17:22 +0000)]
ShellPkg: Fix en-US characters that are outside the Basic Latin character set range

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://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13448 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd comment for modules which have external input.
jyao1 [Tue, 12 Jun 2012 08:28:43 +0000 (08:28 +0000)]
Add comment for modules which have external input.

signed-off-by: jiewen.yao@intel.com
reviewed-by: guo.dong@intel.com
reviewed-by: ting.ye@intel.com
reviewed-by: liming.gao@intel.com
reviewed-by: elvin.li@intel.com

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

11 years agoEFI_STATUS_CODE_DATA_MAX_SIZE is just for the maximum size of an EFI_DEBUG_INFO struc...
lzeng14 [Tue, 12 Jun 2012 04:52:23 +0000 (04:52 +0000)]
EFI_STATUS_CODE_DATA_MAX_SIZE is just for the maximum size of an EFI_DEBUG_INFO structure. Seemly, it is not suitable to be used in SerialStatusCodeHandler, so update SerialStatusCodeHandler to use MAX_DEBUG_MESSAGE_LENGTH (0x100) as the max printed string size to align with other DebugLib’s behavior.

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

11 years agoTo be consistent with PeiReportStatusCodeLib and DxeReportStatusCode, use MAX_EXTENDE...
lzeng14 [Tue, 12 Jun 2012 04:46:33 +0000 (04:46 +0000)]
To be consistent with PeiReportStatusCodeLib and DxeReportStatusCode, use MAX_EXTENDED_DATA_SIZE (0x200) as the local max buffer size in RuntimeDxeReportStatusCodeLib.

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

11 years agoRefine the logic about initialize questions value
ydong10 [Tue, 12 Jun 2012 03:27:45 +0000 (03:27 +0000)]
Refine the logic about initialize questions value

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

11 years agoUpdate PeiDxeDebugDebugLibReportStatusCode to use CopyMem() in place of AsciiStrnCpy...
lgao4 [Tue, 12 Jun 2012 02:16:16 +0000 (02:16 +0000)]
Update PeiDxeDebugDebugLibReportStatusCode to use CopyMem() in place of AsciiStrnCpy() to copy ASCII string to save size.

Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13441 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoThis revision can only work with Intel(c) UDK Debugger Tool version 1.2 or greater...
vanjeff [Mon, 11 Jun 2012 02:15:11 +0000 (02:15 +0000)]
This revision can only work with Intel(c) UDK Debugger Tool version 1.2 or greater. Detailed change log is as below:
1. Define the transfer protocol revision mechanism. Increase the revision number to 0.2 and inform user to use the latest one when the HOST software is too old.
   New HOST software will implement logic to handle all other revision mismatch cases.
2. Define new debug message packet to print the debug agent trace information by debug port channel.
3. Add check sum mechanism in the communication protocol between TARGET/HOST.
4. Introduced one "try" mechanism to avoid Debug Agent crashed by some invalid HOST command.
5. Enable the late-attach feature: Change the break in from "!" to "\xFC". Add a new short symbol "\xFA" for attach and a new debug command for detach.
6. Support Terminal work on debug port by install EFI Serial IO protocol upon Debug Communication Library.
7. Enable CPUID feature.
8. Enable the hardware data breakpoint.
9. add handshake to improve usb debug cable identify stability issue.
10.Refine all the communication protocol packet to improve extensibility and debugging performance.
  a. Use 64bit for IO port address.
  b. Add additional Width field to READ_MEMORY/WRITE_MEMORY.
  c. Add SEARCH_SIGNATURE support to speed the symbol finding for late attach.
  d. Remove READ_GROUP register.
  e. Add READ_ALL_REGISTERS support (WinDbg always requests to read all registers).
11.Move AcquireDebugPortControl () in advance to fix resource collision on IpiSentByApFlag.
12.Fix IO break point does not work issue in PEI phase.
13.Avoid BSP/APs collision when they met break point at the same time.
14.Solve a bug of calculating debug handle in sec phase.
15.Use mailbox content at Dxe phase but not clear it and reinitialize again.
16.Fix FP/MMX/XMM/IO/MSR access issue in both Gdb and WinDbg.

Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13437 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix port retry behavior during connect - All port error paths exit through ConnectCom...
lpleahy [Fri, 8 Jun 2012 20:53:12 +0000 (20:53 +0000)]
Fix port retry behavior during connect - All port error paths exit through ConnectComplete to try the next port.  When the last port fails to connect, the port error status to errno translation gets done by ConnectPoll.

Testing:
Using two network adapters, second one always connected to the network.

1. Eth0 not configured, not connected - short delay
2. Eth0 not configured, connected - short delay
3. Eth0 configured, not connected - short delay
4. Eth0 configured, connected to private network - long delay due to connection timeout, failover to Eth1
5. Eth1 configured, connected, no server - long delay due to connection timeout, returned timeout error.

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

11 years agoEdkShellPkg/EdkShellPkg.dsc: Added CompilerStubLib & CompilerIntrinsicLib for ARM...
oliviermartin [Fri, 8 Jun 2012 08:48:05 +0000 (08:48 +0000)]
EdkShellPkg/EdkShellPkg.dsc: Added CompilerStubLib & CompilerIntrinsicLib for ARM builds

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://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13435 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoEdkCompatibilityPkg/CompilerStub: Created a Dummy CompilerStubLib for ARM
oliviermartin [Fri, 8 Jun 2012 08:44:38 +0000 (08:44 +0000)]
EdkCompatibilityPkg/CompilerStub: Created a Dummy CompilerStubLib for ARM

This Dummy CompilerStubLib avoids to add the ARM CompilerIntrinsicsLib in
every EDK module INF files.

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://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13434 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix compatibility issue when using IPF image with PE32 magic value in the OptionalHeader.
sfu5 [Fri, 8 Jun 2012 02:09:48 +0000 (02:09 +0000)]
Fix compatibility issue when using IPF image with PE32 magic value in the OptionalHeader.

Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Dong Guo <guo.dong@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13433 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoOnly use ports with a network connection (media present) when connecting to a remote...
lpleahy [Thu, 7 Jun 2012 17:38:09 +0000 (17:38 +0000)]
Only use ports with a network connection (media present) when connecting to a remote host.
Fix bug causing early exit with NO_MEDIA.
Add fix to TCP6.

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

11 years agoFix file name not included in the inf.
ydong10 [Thu, 7 Jun 2012 03:22:13 +0000 (03:22 +0000)]
Fix file name not included in the inf.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13431 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix file guid conflict.
ydong10 [Thu, 7 Jun 2012 03:21:17 +0000 (03:21 +0000)]
Fix file guid conflict.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13430 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoArmPkg/ArmLib: Fixed parameter checking in ArmConfigureMmu()
oliviermartin [Wed, 6 Jun 2012 15:47:23 +0000 (15:47 +0000)]
ArmPkg/ArmLib: Fixed parameter checking in ArmConfigureMmu()

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

11 years agoFix memory leak issues.
niruiyu [Wed, 6 Jun 2012 08:41:58 +0000 (08:41 +0000)]
Fix memory leak issues.

Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13428 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoOnly use ports with a network connection (media present) when connecting to a remote...
lpleahy [Mon, 4 Jun 2012 20:38:03 +0000 (20:38 +0000)]
Only use ports with a network connection (media present) when connecting to a remote host.

Signed-off-by: lpleahy
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13427 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUseEfiSocketLib.c - Only exit for out of resources, otherwise use all network adapters.
lpleahy [Fri, 1 Jun 2012 20:01:30 +0000 (20:01 +0000)]
UseEfiSocketLib.c - Only exit for out of resources, otherwise use all network adapters.
Service.c - Return EFI_SUCCESS if any of the protocols are present.  Return failure only when no protocols are available or no more memory available.

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

11 years agoOvmfPkg/AcpiPlatformDxe: Fix VS2010 build issue
jljusten [Fri, 1 Jun 2012 17:55:00 +0000 (17:55 +0000)]
OvmfPkg/AcpiPlatformDxe: Fix VS2010 build issue

Reported-by: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13425 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoPcAtChipsetPkg/PciHostBridgeDxe: Improve KVM FIFO I/O read/write performance
jljusten [Fri, 1 Jun 2012 17:07:00 +0000 (17:07 +0000)]
PcAtChipsetPkg/PciHostBridgeDxe: Improve KVM FIFO I/O read/write performance

KVM can substantially boost the speed of the rep insb/insw/insl
and rep outsb/outsw/outsl instructions by transferring up to
a page of data per VM trap.

This change adds assembly handling of the PCI Host Bridge
I/O FIFO Reads and Writes.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13424 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoEnhance GPT measurement to be able to handle different partition entry size.
gdong1 [Fri, 1 Jun 2012 08:06:37 +0000 (08:06 +0000)]
Enhance GPT measurement to be able to handle different partition entry size.

Signed-off-by: Dong Guo <guo.dong@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13422 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix TCG PPI request EnableActivateClear failure.
gdong1 [Fri, 1 Jun 2012 07:58:58 +0000 (07:58 +0000)]
Fix TCG PPI request EnableActivateClear failure.

Signed-off-by: Dong Guo <guo.dong@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Ouyang Qian <qian.ouyang@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13421 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoRefine BdsDxe driver and GenericBdsLib library so that the GenericBdsLib doesn't...
niruiyu [Fri, 1 Jun 2012 03:39:39 +0000 (03:39 +0000)]
Refine BdsDxe driver and GenericBdsLib library so that the GenericBdsLib doesn't depend on the BdsDxe implementation.

Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13418 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix SmmCryptLib issue when calling time() in RealTimeClock.c
tye1 [Fri, 1 Jun 2012 02:37:24 +0000 (02:37 +0000)]
Fix SmmCryptLib issue when calling time() in RealTimeClock.c

Signed-off by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
Reviewed-by: Long Qin <qin.long@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13417 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoArmPkg: Enhance CompareGuid performance by using CompareMem instead of nested unalign...
oliviermartin [Thu, 31 May 2012 15:28:37 +0000 (15:28 +0000)]
ArmPkg: Enhance CompareGuid performance by using CompareMem instead of nested unaligned read calls

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eugene Cohen eugene@hp.com
Reviewed-by: Olivier Martin olivier.martin@arm.com
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13409 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFixed build failed.
ydong10 [Thu, 31 May 2012 08:35:48 +0000 (08:35 +0000)]
Fixed build failed.

Signed-off-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13406 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoChange returned status codes for SmiManage() per PI 1.2.1 spec.
rsun3 [Thu, 31 May 2012 04:06:13 +0000 (04:06 +0000)]
Change returned status codes for SmiManage() per PI 1.2.1 spec.

Signed-off-by: Sun Rui <rui.sun@intel.com>
Reviewed-by: Fan Jeff <jeff.fan@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13394 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoRemove CPU dead loop code from IA32 assembly codes.
vanjeff [Thu, 31 May 2012 01:34:44 +0000 (01:34 +0000)]
Remove CPU dead loop code from IA32 assembly codes.

Signed-off-by: Fan Jeff <jeff.fan@intel.com>
Reviewed-by: Sun Rui <rui.sun@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13388 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoOvmfPkg/AcpiPlatformDxe: Dynamically add Local APIC entries in MADT
jljusten [Wed, 30 May 2012 23:15:59 +0000 (23:15 +0000)]
OvmfPkg/AcpiPlatformDxe: Dynamically add Local APIC entries in MADT

Update MADT processing for QEMU to add additional Local APIC
entries to the MADT.

The MADT is still built with a single Local APIC entry.
If the AcpiPlatformDxe driver determines that more processors
are available, then additional Local APIC entries are added
to the MADT at runtime.

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

11 years agoOvmfPkg ACPI MADT: Make processor IDs zero based
jljusten [Wed, 30 May 2012 23:15:42 +0000 (23:15 +0000)]
OvmfPkg ACPI MADT: Make processor IDs zero based

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

11 years agoOvmfPkg/AcpiPlatformDxe: Detect QEMU & Xen
jljusten [Wed, 30 May 2012 23:15:27 +0000 (23:15 +0000)]
OvmfPkg/AcpiPlatformDxe: Detect QEMU & Xen

Detect QEMU & Xen, and allow each to choose how to publish
the individual ACPI tables.

Currently both paths simply publish the tables unmodified.

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

11 years agoOvmfPkg: Add AcpiPlatformDxe
jljusten [Wed, 30 May 2012 23:15:00 +0000 (23:15 +0000)]
OvmfPkg: Add AcpiPlatformDxe

This driver is currently a direct copy of
MdeModulePkg/Universal/Acpi/AcpiPlatformDxe.

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

11 years agoOvmfPkg: Add QemuFwCfgLib library class and implementation
jljusten [Wed, 30 May 2012 23:14:38 +0000 (23:14 +0000)]
OvmfPkg: Add QemuFwCfgLib library class and implementation

QEMU's Firmware Configuration interface gives the firmware
access to various types of information.

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

11 years agoShellBinPkg: Update binary images to those made from revision 13224 of ShellPkg.
jcarsey [Wed, 30 May 2012 20:10:20 +0000 (20:10 +0000)]
ShellBinPkg: Update binary images to those made from revision 13224 of ShellPkg.

signed-off-by: jaben carsey jaben.carsey@intel.com

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

11 years agoShellPkg: Fix display of 64-bit BARs in PCI dump on 32-bit systems.
jcarsey [Wed, 30 May 2012 17:38:23 +0000 (17:38 +0000)]
ShellPkg: Fix display of 64-bit BARs in PCI dump on 32-bit systems.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eugene Cohen eugene@hp.com
reviewed-by: jaben carsey jaben.carsey@intel.com

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

11 years agoShellPkg: Enable Runtime DXE drivers to make use of Shell libraries with the expectat...
jcarsey [Wed, 30 May 2012 17:34:16 +0000 (17:34 +0000)]
ShellPkg: Enable Runtime DXE drivers to make use of Shell libraries with the expectation that the driver is responsible for ensuring that they are only called when boot services are present.  Also adds a ShellCommandLib Depex for gEfiUnicodeCollation2ProtocolGuid to fix constructor crash when used by drivers.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eugene Cohen eugene@hp.com
reviewed-by: jaben carsey jaben.carsey@intel.com

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

11 years agoRecord LoadImage perf log for LoadImageEx() and use NULL as Handle to record StartIma...
lzeng14 [Wed, 30 May 2012 10:48:50 +0000 (10:48 +0000)]
Record LoadImage perf log for LoadImageEx() and use NULL as Handle to record StartImage perf log when StartImage() fails.

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

11 years agoLoadedImageDevicePath protocol may be installed with NULL device path, so add check...
lzeng14 [Wed, 30 May 2012 10:36:52 +0000 (10:36 +0000)]
LoadedImageDevicePath protocol may be installed with NULL device path, so add check before using the device path.

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

11 years agoFix IA32 build fail.
lzeng14 [Wed, 30 May 2012 09:11:52 +0000 (09:11 +0000)]
Fix IA32 build fail.

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

11 years agoNew EDK Shell binary(r59).
niruiyu [Wed, 30 May 2012 09:08:33 +0000 (09:08 +0000)]
New EDK Shell binary(r59).

Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13376 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd new interface GetVariable2 and GetEfiGlobalVariable2 to return more info. Also...
ydong10 [Wed, 30 May 2012 07:36:00 +0000 (07:36 +0000)]
Add new interface GetVariable2 and GetEfiGlobalVariable2 to return more info. Also replace old interface with new one.

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

11 years agoMdePkg SmmCpu.h: Add EFI_SMM_SAVE_STATE_REGISTER_PROCESSOR_ID in enum EFI_SMM_SAVE_ST...
rsun3 [Wed, 30 May 2012 05:24:42 +0000 (05:24 +0000)]
MdePkg SmmCpu.h: Add EFI_SMM_SAVE_STATE_REGISTER_PROCESSOR_ID in enum EFI_SMM_SAVE_STATE_REGISTER Per PI 1.2.1 spec.

Signed-off-by: Sun Rui <rui.sun@intel.com>
Reviewed-by: Fan Jeff <jeff.fan@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13374 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAccording to UEFI spec 2.3.1a. hardware error record variable should use the EFI_HARD...
lzeng14 [Wed, 30 May 2012 02:53:10 +0000 (02:53 +0000)]
According to UEFI spec 2.3.1a. hardware error record variable should use the EFI_HARDWARE_ERROR_VARIABLE VendorGuid and have the L"HwErrRec####" name convention, #### is a printed hex value and no 0x or h is included in the hex value.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Guo Dong <guo.dong@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13373 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoReturn EFI_WRITE_PROTECTED when setting HwErrRecSupport Global Variable at runtime.
lzeng14 [Wed, 30 May 2012 02:42:26 +0000 (02:42 +0000)]
Return EFI_WRITE_PROTECTED when setting HwErrRecSupport Global Variable at runtime.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Guo Dong <guo.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13372 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoEnable wide string for title and help string
ydong10 [Tue, 29 May 2012 11:07:05 +0000 (11:07 +0000)]
Enable wide string for title and help string

Sign-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13371 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoMdeModulePkg/Ata: Clear PxCmd.SUD bit when the port has no device presented at AHCI...
erictian [Tue, 29 May 2012 07:05:33 +0000 (07:05 +0000)]
MdeModulePkg/Ata: Clear PxCmd.SUD bit when the port has no device presented at AHCI mode.

Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Sun Rui <rui.sun@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13370 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoMdeModulePkg/Ata: Use a new Pcd named "PcdAtaSmartEnable" to control if enabling...
erictian [Tue, 29 May 2012 06:59:26 +0000 (06:59 +0000)]
MdeModulePkg/Ata: Use a new Pcd named "PcdAtaSmartEnable" to control if enabling S.M.A.R.T feature by default.

Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Sun Rui <rui.sun@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13369 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate DxeCore and FwVolDxe drivers to inherit authentication status for the FV image...
lzeng14 [Tue, 29 May 2012 05:22:01 +0000 (05:22 +0000)]
Update DxeCore and FwVolDxe drivers to inherit authentication status for the FV image, if the image came from an FV image file and section in another firmware volume.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13368 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoOptimize the log entry search algorithm to save boot performance.
lzeng14 [Tue, 29 May 2012 05:02:43 +0000 (05:02 +0000)]
Optimize the log entry search algorithm to save boot performance.
1. Search from the first entry can be changed to Search from the end entry, because most End just follows its Start.
2. Match Start and End entry, the first comparison can be changed from Handle to EndTimeStamp, because only zero EndTimeStamp is required to be matched.

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

11 years agoRefine the code to follow coding style.
ydong10 [Mon, 28 May 2012 07:03:26 +0000 (07:03 +0000)]
Refine the code to follow coding style.

Signed-off-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13366 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate to use correct file name for video option.
niruiyu [Mon, 28 May 2012 06:37:32 +0000 (06:37 +0000)]
Update to use correct file name for video option.

Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13365 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix a bug in DxeImageVerificationLib to use the correct certificate length when verif...
sfu5 [Mon, 28 May 2012 04:51:53 +0000 (04:51 +0000)]
Fix a bug in DxeImageVerificationLib to use the correct certificate length when verifying a signed EFI image.

Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Dong Guo <guo.dong@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13364 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix build failed
ydong10 [Mon, 28 May 2012 02:39:50 +0000 (02:39 +0000)]
Fix build failed

Signed-off-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13363 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoRefine logic about validate boot option.
ydong10 [Fri, 25 May 2012 05:04:13 +0000 (05:04 +0000)]
Refine logic about validate boot option.

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

11 years agoMove PcdExtFpdtBootRecordPadSize to the correct PCD section in MdeModulePkg.dec to...
lgao4 [Fri, 25 May 2012 03:25:43 +0000 (03:25 +0000)]
Move PcdExtFpdtBootRecordPadSize to the correct PCD section in MdeModulePkg.dec to support all PCD types.

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

11 years agoCorrect a bug in AsmCpuidEx() to return correct ECX and EDX.
niruiyu [Fri, 25 May 2012 03:02:26 +0000 (03:02 +0000)]
Correct a bug in AsmCpuidEx() to return correct ECX and EDX.

Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13359 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoRemove the check of signature because the code which looks for the input NotifyHandle...
niruiyu [Thu, 24 May 2012 08:29:09 +0000 (08:29 +0000)]
Remove the check of signature because the code which looks for the input NotifyHandle in the internal linked list is enough.
Enhance ConSplitter to register hot keys for new connected consoles.

Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Hot Tian <hot.tian@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13358 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoMdePkg UefiTcgPlatform.h: Add definition for EV_CPU_MICROCODE event type.
rsun3 [Thu, 24 May 2012 05:23:33 +0000 (05:23 +0000)]
MdePkg UefiTcgPlatform.h: Add definition for EV_CPU_MICROCODE event type.

Signed-off-by: Sun Rui <rui.sun@intel.com>
Reviewed-by: Dong Guo <guo.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13357 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoEnhance the ConPlatform driver's matching algorithm to manage the console controller...
niruiyu [Thu, 24 May 2012 03:33:39 +0000 (03:33 +0000)]
Enhance the ConPlatform driver's matching algorithm to manage the console controller when it shares the same parent with a certain instance in the "ConOut".

Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Elvin Li <elvin.li@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13356 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoSync BaseTools Trunk (version r2524) to EDKII main trunk.
lgao4 [Wed, 23 May 2012 08:27:14 +0000 (08:27 +0000)]
Sync BaseTools Trunk (version r2524) to EDKII main trunk.
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Liu Yingke <yingke.d.liu@intel.com>
Reviewed-by: Yurui Zeng <yurui.zeng@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13353 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate the way to allocate high PMM, firstly try to allocate high PMM below 16MB...
li-elvin [Wed, 23 May 2012 07:26:17 +0000 (07:26 +0000)]
Update the way to allocate high PMM, firstly try to allocate high PMM below 16MB, if it fails, allocate high PMM below 4GB.

Signed-off-by: li-elvin <elvin.li@intel.com>
Reviewed-by: jyao1 <jiewen.yao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13352 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoupdate copyright format
hhtian [Wed, 23 May 2012 00:47:12 +0000 (00:47 +0000)]
update copyright format

Signed-off-by: Hot Tian <hot.tian@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13351 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix build break in OvmfPkgIa32X64.dsc where gEfiSecurityPkgTokenSpaceGuid was no...
leegrosenbaum [Wed, 23 May 2012 00:22:50 +0000 (00:22 +0000)]
Fix build break in OvmfPkgIa32X64.dsc where gEfiSecurityPkgTokenSpaceGuid was no longer found.

It is declared in SecurityPkg.dec, but with the latest build tools, since this package builds multiple architectures (IA32 & X64) and there are no IA32 modules used from the SecurityPkg, it is now necessary to place the gEfiSecurityPkgTokenSpaceGuid PCD's in a [PcdsFixedAtBuild.X64] section.

Signed-off-by: lee.g.rosenbaum@intel.com
Reviewed-by: erik.c.bjorge@intel.com
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13350 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoShellPkg: Enable Ctrl-C characters to be processed over serial interfaces that do...
jcarsey [Tue, 22 May 2012 22:16:37 +0000 (22:16 +0000)]
ShellPkg: Enable Ctrl-C characters to be processed over serial interfaces that do not pass control key modifiers (like SimpleTextInOutSerial)

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eugene Cohen eugene@hp.com
reviewed-by: Jaben Carsey jaben.carsey@intel.com

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

11 years agoSNP driver for ASIX Electronics AX88772 found in SMC Networks SMC2209 USB/Ethernet...
lpleahy [Tue, 22 May 2012 17:08:33 +0000 (17:08 +0000)]
SNP driver for ASIX Electronics AX88772 found in SMC Networks SMC2209 USB/Ethernet 10/100 adapter.

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

11 years agoMdePkg: Add Eject/Read12/Write12 cmds to Atapi.h
erictian [Tue, 22 May 2012 08:07:42 +0000 (08:07 +0000)]
MdePkg: Add Eject/Read12/Write12 cmds to Atapi.h

Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13346 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate PeiDxeDebugLibReportStatusCode library instance to print partial ASSERT messag...
lgao4 [Mon, 21 May 2012 06:10:21 +0000 (06:10 +0000)]
Update PeiDxeDebugLibReportStatusCode library instance to print partial ASSERT message if ASSERT message is too big.

Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13339 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUefiCpuPkg: Added code to enable Local APIC.
geekboy15a [Fri, 18 May 2012 20:29:14 +0000 (20:29 +0000)]
UefiCpuPkg: Added code to enable Local APIC.

This patch enables interrupt delivery via the Local APIC as part of the initialization process.

Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>
Reviewed-by: Rosenbaum, Lee G <lee.g.rosenbaum@intel.com>
Reviewed-by: Sun Rui <rui.sun@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13338 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoDuetPkg: Enabled build with new version of CpuDxe driver.
geekboy15a [Fri, 18 May 2012 20:22:36 +0000 (20:22 +0000)]
DuetPkg: Enabled build with new version of CpuDxe driver.

Added a definition to the LocalApicLib in the project files to allow Duet to build with the updated version of the CpuDxe driver.

Tracker: 207345

Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>
Reviewed-by: Rosenbaum, Lee G <lee.g.rosenbaum@intel.com>
Reviewed-by: Sun Rui <rui.sun@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13337 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoClean ParentHandle field when image is loaded directly from the firmware's boot manager.
ydong10 [Fri, 18 May 2012 02:43:23 +0000 (02:43 +0000)]
Clean ParentHandle field when image is loaded directly from the firmware's boot manager.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13324 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd logic to validate variable before use it.
ydong10 [Fri, 18 May 2012 02:24:25 +0000 (02:24 +0000)]
Add logic to validate variable before use it.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Jiewen Yao <jiewen,yao@intel.com>
Reviewed-by: Michael D. Kinney <michael.d.kinney@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13323 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd logic to validate console variables when enter BDS.
ydong10 [Fri, 18 May 2012 02:13:29 +0000 (02:13 +0000)]
Add logic to validate console variables when enter BDS.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13322 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate EFI_ACPI_5_0_PLATFORM_COMMUNICATION_CHANNEL_TABLE_HEADER to follow ACPI5.0...
jyao1 [Wed, 16 May 2012 06:03:55 +0000 (06:03 +0000)]
Update EFI_ACPI_5_0_PLATFORM_COMMUNICATION_CHANNEL_TABLE_HEADER to follow ACPI5.0 spec.

signed off by: jiewen.yao@intel.com
reviewed by: rui.sun@intel.com

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

11 years agoAdd Perf log for SMM driver Load and Start Image.
lgao4 [Wed, 16 May 2012 00:55:04 +0000 (00:55 +0000)]
Add Perf log for SMM driver Load and Start Image.
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Siddharth Shah <Siddharth.Shah@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13314 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate MdePkg and EdkCompatibilityPkg INT8 definition to be typedef signed char to...
lgao4 [Wed, 16 May 2012 00:42:41 +0000 (00:42 +0000)]
Update MdePkg and EdkCompatibilityPkg INT8 definition to be typedef signed char to follow UEFI spec.
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Michael D. Kinney <michael.d.kinney@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13313 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate MdePkg and EdkCompatibilityPkg INT8 definition to be typedef signed char to...
lgao4 [Wed, 16 May 2012 00:42:21 +0000 (00:42 +0000)]
Update MdePkg and EdkCompatibilityPkg INT8 definition to be typedef signed char to follow UEFI spec.
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Michael D. Kinney <michael.d.kinney@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13312 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoMdeModulePkg/UsbMassStorage: Add 16 byte SCSI cmds support if the last LBA can not...
erictian [Mon, 14 May 2012 07:50:07 +0000 (07:50 +0000)]
MdeModulePkg/UsbMassStorage: Add 16 byte SCSI cmds support if the last LBA can not be presented by 4bytes width

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

11 years agoUpdate auth-variable and secure boot UI driver to support only time-based PK, KEK...
sfu5 [Mon, 14 May 2012 07:36:20 +0000 (07:36 +0000)]
Update auth-variable and secure boot UI driver to support only time-based PK, KEK and Signature Database variable variable according to UEFI Spec requirement.

Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Dong Guo <guo.dong@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13310 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoEnhance TcgSmm driver to handle potential SetVariable failure case.
gdong1 [Fri, 11 May 2012 05:10:57 +0000 (05:10 +0000)]
Enhance TcgSmm driver to handle potential SetVariable failure case.

Signed-off-by: Dong Guo <guo.dong@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
Reviewed-by: Ouyang Qian <qian.ouyang@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13309 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd logic to validate new input value with minimum.
ydong10 [Fri, 11 May 2012 03:09:07 +0000 (03:09 +0000)]
Add logic to validate new input value with minimum.

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