]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
12 years agoBeagleBoard: Fix build
oliviermartin [Mon, 5 Dec 2011 14:31:48 +0000 (14:31 +0000)]
BeagleBoard: Fix build

Changed definition of the function that implements EFI_SMBUS_HC_PROTOCOL_ARP_DEVICE
to match its prototype definition.

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

12 years agoArmPlatformPkg: Update pending patches with the latest BaseTools SyncUp
oliviermartin [Mon, 5 Dec 2011 14:29:16 +0000 (14:29 +0000)]
ArmPlatformPkg: Update pending patches with the latest BaseTools SyncUp

- ARMLINUXGCC toolchain is now supported
- ARMGCC: Set '0x0' for the linkage base address
- Fixed Trim utility
- Fixed support for !include in DSC files

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

12 years agoRefine the select highlight menu logic.
ydong10 [Mon, 5 Dec 2011 13:20:03 +0000 (13:20 +0000)]
Refine the select highlight menu logic.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12818 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoDisable change value for grayout or readonly menu.
ydong10 [Mon, 5 Dec 2011 12:45:45 +0000 (12:45 +0000)]
Disable change value for grayout or readonly menu.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12817 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix ICC11 build failure.
lgao4 [Mon, 5 Dec 2011 09:05:15 +0000 (09:05 +0000)]
Fix ICC11 build failure.
Signed-off-by: lgao4
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12816 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix a ECC error - the parameter's name in comments is inconsistent with the one in...
qianouyang [Mon, 5 Dec 2011 03:17:15 +0000 (03:17 +0000)]
Fix a ECC error - the parameter's name in comments is inconsistent with the one in Function's.

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

12 years agoCorrect DriverFamilyOverrideProtocol guid value defined in MdePkg.
lgao4 [Mon, 5 Dec 2011 01:51:12 +0000 (01:51 +0000)]
Correct DriverFamilyOverrideProtocol guid value defined in MdePkg.
Signed-off-by: lgao4
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12814 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoUpdate a return status for UEFI spec compliance.
gdong1 [Fri, 2 Dec 2011 07:51:23 +0000 (07:51 +0000)]
Update a return status for UEFI spec compliance.

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

12 years agoSet the current view point to the breaking CPU if it meets breakpoint.
vanjeff [Fri, 2 Dec 2011 06:07:17 +0000 (06:07 +0000)]
Set the current view point to the breaking CPU if it meets breakpoint.

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

12 years agoFree memory allocated by ReadSection.
lzeng14 [Fri, 2 Dec 2011 01:08:05 +0000 (01:08 +0000)]
Free memory allocated by ReadSection.

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

12 years agoAppPkg/Applications/Python: Workaround recent build tool changes which prevent buildi...
darylm503 [Thu, 1 Dec 2011 18:24:25 +0000 (18:24 +0000)]
AppPkg/Applications/Python: Workaround recent build tool changes which prevent building Python.

Recent changes to the build tools removed user-defined MACRO capability in INF files.  This change manually expands the PYTHON_VERSION macro so that one can again build Python.

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

12 years agoUpdate the check condition to allows 64-bit operation's data buffer not to be 64...
vanjeff [Thu, 1 Dec 2011 06:12:28 +0000 (06:12 +0000)]
Update the check condition to allows 64-bit operation's data buffer not to be 64-bit aligned on IA32 system.

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

12 years agoUpdate the check condition to allows UINT64 and INT64 data types to be 32-bit aligned...
vanjeff [Thu, 1 Dec 2011 06:08:25 +0000 (06:08 +0000)]
Update the check condition to allows UINT64 and INT64 data types to be 32-bit aligned on IA32 system.

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

12 years agoRemove duplicated AML code definitions as they have been added to common header.
lzeng14 [Thu, 1 Dec 2011 05:32:09 +0000 (05:32 +0000)]
Remove duplicated AML code definitions as they have been added to common header.

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

12 years ago1. Remove the unnecessary check of the existing of BlockIo2 in PartitionDriverBinding...
qianouyang [Thu, 1 Dec 2011 05:10:41 +0000 (05:10 +0000)]
1. Remove the unnecessary check of the existing of BlockIo2 in PartitionDriverBindingSupported().
2. Remove the comments of the BlockIo2 check in PartitionDriverBindingStart().

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

12 years agoRefine the code to follow coding style.
ydong10 [Thu, 1 Dec 2011 04:31:46 +0000 (04:31 +0000)]
Refine the code to follow coding style.
Signed-off-by: ydong10
Reviewed-by: lzeng14
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12805 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd Acpi50 FPDT and BGRT module into MdeModulePkg.
lgao4 [Thu, 1 Dec 2011 01:57:27 +0000 (01:57 +0000)]
Add Acpi50 FPDT and BGRT module into MdeModulePkg.
Signed-off-by: lgao4
Reviewed-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12804 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRemove PCD usage for console driver, PcdConOutRow and PcdConOutColumn are current...
li-elvin [Wed, 30 Nov 2011 06:01:22 +0000 (06:01 +0000)]
Remove PCD usage for console driver, PcdConOutRow and PcdConOutColumn are current text mode during boot, not console device capability.

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

12 years agoAdd ACPI5.0 header file.
jyao1 [Wed, 30 Nov 2011 03:57:39 +0000 (03:57 +0000)]
Add ACPI5.0 header file.
Add missing content for resource descriptor.
Move AML definition to AcpiAml.h

signed-off-by: jyao1
reviewed-by: lgao4

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

12 years agoRoll back the change which doesn't call LocateProtocol when TPL is TPL_NOTIFY because...
niruiyu [Wed, 30 Nov 2011 01:53:13 +0000 (01:53 +0000)]
Roll back the change which doesn't call LocateProtocol when TPL is TPL_NOTIFY because it may cause certain status code get lost in some rare case.

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

12 years agoStdLib: Add isDirSep character classification macro and function. Implement several...
darylm503 [Wed, 30 Nov 2011 00:52:45 +0000 (00:52 +0000)]
StdLib: Add isDirSep character classification macro and function.  Implement several Posix functions and clean up EfiSysCall.h.  Align file mode handling with UEFI file protocol flags.

Include/ctype.h:             Function declaration and Macro definition of isDirSep
Include/unistd.h:            Declarations added from EfiSysCall.h
Include/utime.h:             New file.  For the Posix utime() function.
Include/sys/_ctype.h:        Update character class bit maps.
Include/sys/EfiSysCall.h:    Move declarations to unistd.h
Include/sys/fcntl.h:         Improve comments.  Add UEFI-specific macros.
Include/sys/filio.h:         Remove declarations for unsupported file ioctls.
Include/sys/stat.h:          Fix flags.  Add macros and declarations.
Include/sys/time.h:          Add declarations for new functions Tm2Efi() and Time2Efi().
Include/sys/types.h:         Use EFI-specific instead of BSD-specific definitions for typedefs.
Include/sys/unistd.h:        Delete inappropriate content.  Guard macro definitions.

LibC/Locale/setlocale.c
LibC/Stdio/{fdopen.c, findfp.c, fopen.c, freopen.c, gettemp.c, makebuf.c, mktemp.c,
            remove.c, stdio.c, tempnam.c, tmpfile.c, tmpnam.c}
LibC/Time/{itimer.c, ZoneProc.c}
LibC/Uefi/SysCalls.c
LibC/Uefi/Devices/Console/daConsole.c
LibC/Uefi/Devices/UefiShell/daShell.c
PosixLib/Gen/readdir.c
                             Include unistd.h instead of EfiSysCall.h

LibC/Ctype/CClass.c:         Character classification function implementation for isDirSep.
LibC/Ctype/iCtype.c:         Update character classification and case conversion tables.
LibC/Time/TimeEfi.c:         Improve comments.  Implement new functions Tm2Efi() and Time2Efi().
LibC/Uefi/StubFunctions.c:   Add missing include.  Cosmetic changes to declarations.
LibC/Uefi/SysCalls.c:        Add support function for utime().
LibC/Uefi/Uefi.inf:          Add LibGen library class dependency.
LibC/Uefi/Xform.c:           Enhance Omode2EFI().
LibC/Uefi/Devices/UefiShell/daShell.c:    Enhance da_ShellMkdir.  Implement da_ShellIoctl to set file times.
PosixLib/Gen/access.c:       New file.  Implement the access() function.
PosixLib/Gen/dirname.c:      Enhance to use isDirSep and differentiate between the device, path, and filename components of UEFI Shell-style paths.
PosixLib/Gen/utime.c:        New file.  Implement the utime() function.
PosixLib/Gen/LibGen.inf:     Change MODULE_TYPE.  Add new files.

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

12 years agoShellPkg: Fix "-b" usage with timezone command.
jcarsey [Tue, 29 Nov 2011 21:46:53 +0000 (21:46 +0000)]
ShellPkg: Fix "-b" usage with timezone command.

signed-off-by: jcarsey
reviewed-by: geekboy15a

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

12 years agoShellBinPkg: Update binary files.
jcarsey [Tue, 29 Nov 2011 21:13:29 +0000 (21:13 +0000)]
ShellBinPkg: Update binary files.

Update binary files to new ones generated from tip r12797, and update the ReadMe.txt.

signed-off-by: jcarsey
reviewed-by: leegrosenbaum

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

12 years agoShellPkg: Fix handling of empty files in Hexedit
jcarsey [Tue, 29 Nov 2011 15:37:04 +0000 (15:37 +0000)]
ShellPkg: Fix handling of empty files in Hexedit

Currently hexedit thinks all files that are non-existent (i.e. new) or empty must be a memory error since the pointer is checked, but the file size is not referenced.

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

12 years agoFix PerformancePkg GCC&ICC build fail.
lzeng14 [Tue, 29 Nov 2011 09:43:48 +0000 (09:43 +0000)]
Fix PerformancePkg GCC&ICC build fail.

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

12 years agoFix build error.
lzeng14 [Mon, 28 Nov 2011 08:00:51 +0000 (08:00 +0000)]
Fix build error.

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

12 years agoFix openssl lib build issue in IPF tip.
tye1 [Mon, 28 Nov 2011 07:12:20 +0000 (07:12 +0000)]
Fix openssl lib build issue in IPF tip.

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

12 years agoAdd the missing options for X64 and IPF arch of MSFT:NOOPT target.
lgao4 [Mon, 28 Nov 2011 06:24:39 +0000 (06:24 +0000)]
Add the missing options for X64 and IPF arch of MSFT:NOOPT target.
Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12793 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoUpdate code to pass build on VS2008 with /Od compiler option.
lgao4 [Mon, 28 Nov 2011 06:19:36 +0000 (06:19 +0000)]
Update code to pass build on VS2008 with /Od compiler option.
Signed-off-by: lgao4
Reviewed-by: rsun3
Reviewed-by: ftian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12792 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoUpdate code to pass build on VS2008 with /Od compiler option.
lgao4 [Mon, 28 Nov 2011 06:14:31 +0000 (06:14 +0000)]
Update code to pass build on VS2008 with /Od compiler option.
Signed-off-by: lgao4
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12791 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoCorrectly use GetPtrTypeSize() to get MaxSize.
lgao4 [Mon, 28 Nov 2011 03:43:26 +0000 (03:43 +0000)]
Correctly use GetPtrTypeSize() to get MaxSize.
Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12790 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix PcdSetPtr() service to use the max buffer size to check whether new buffer data...
lgao4 [Mon, 28 Nov 2011 03:36:25 +0000 (03:36 +0000)]
Fix PcdSetPtr() service to use the max buffer size to check whether new buffer data is filled into.
Signed-off-by: lgao4
Reviewed-by: jlin16
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12789 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAllocate aligned buffer to satisfy the IoAlign requirement of high level protocol.
lzeng14 [Fri, 25 Nov 2011 09:52:12 +0000 (09:52 +0000)]
Allocate aligned buffer to satisfy the IoAlign requirement of high level protocol.

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

12 years agoUpdated GraphicsConsole and Terminal driver text mode initialization routine for...
li-elvin [Fri, 25 Nov 2011 08:35:00 +0000 (08:35 +0000)]
Updated GraphicsConsole and Terminal driver text mode initialization routine for easy mode extension in future.

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

12 years agoUses DEFINE instead of define keyword to define global macro.
lgao4 [Fri, 25 Nov 2011 08:24:15 +0000 (08:24 +0000)]
Uses DEFINE instead of define keyword to define global macro.
Signed-off-by: lgao4
Reviewed-by: gikidy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12786 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoMdeModulePkg: The patch eliminates two assumptions
erictian [Fri, 25 Nov 2011 08:08:54 +0000 (08:08 +0000)]
MdeModulePkg: The patch eliminates two assumptions
1) XHCI host controller hw always provides more than 5 interrupters.
Now using interrupter 0 to accommodate all received events.
2) XHCI host controller hw always provides 32bytes context size.
Now it dynamically detect context size and construct it.

also solved several issues:
1) Divides 64byte width register access to two 32bit registers access because some XHCI chipsets cannot support a single 64bit access.
2) Remove halt host controller statement in UsbBusDriverBindingStop(). It has been done by host controller’s DriverBindingStop(). And XhciDriverBindingStop() need XHCI host controller is in running state because it need execute DISABLE_SLOT cmd to release h/w resource.

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

12 years agoFix CrytoPkg issue in GCC X64 tip.
tye1 [Fri, 25 Nov 2011 07:07:01 +0000 (07:07 +0000)]
Fix CrytoPkg issue in GCC X64 tip.

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

12 years agoAdd sample code for EFI_IFR_QUESTION_REF3 opcode.
ydong10 [Fri, 25 Nov 2011 07:00:05 +0000 (07:00 +0000)]
Add sample code for EFI_IFR_QUESTION_REF3 opcode.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12783 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoSync BaseTool trunk (version r2423) into EDKII BaseTools. The change mainly includes:
lgao4 [Fri, 25 Nov 2011 06:21:03 +0000 (06:21 +0000)]
Sync BaseTool trunk (version r2423) into EDKII BaseTools.  The change mainly includes:
  1. Fix !include issues
  2. Fix Trim to skip the postfix 'U' for hexadecimal and decimal numbers
  3. Fix building error C2733 when building C++ code.
  4. Add GCC46 tool chain definition
  5. Add new RVCT and RVCTLINUX tool chains

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

12 years agoadd missing <BR>
hhtian [Fri, 25 Nov 2011 05:23:58 +0000 (05:23 +0000)]
add missing <BR>

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

12 years agoUefiCpuPkg MTRR Library: Remove a buggy check logic in MtrrSetMemoryAttribute() that...
rsun3 [Fri, 25 Nov 2011 02:55:43 +0000 (02:55 +0000)]
UefiCpuPkg MTRR Library: Remove a buggy check logic in MtrrSetMemoryAttribute() that may incorrectly RETURN_OUT_OF_RESOURCES in some cases.

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

12 years agoUpdate DP to get Image name with the following methods orderly.
lzeng14 [Fri, 25 Nov 2011 02:24:07 +0000 (02:24 +0000)]
Update DP to get Image name with the following methods orderly.
  1. Image PDB
  2. ComponentName2 protocol
  3. FFS UI section
  4. Image GUID
  5. Image DevicePath
  6. Unknown Driver Name

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

12 years agoPcAtChipsetPkg HPET Timer DXE Driver: Update CPU Arch Protocol.SetTimerPeriod() to...
rsun3 [Fri, 25 Nov 2011 01:59:50 +0000 (01:59 +0000)]
PcAtChipsetPkg HPET Timer DXE Driver: Update CPU Arch Protocol.SetTimerPeriod() to program HPET/IOAPIC register with APIC ID of current BSP in case the BSP has been switched.

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

12 years ago1. According to PI errata 0000840 and PI 1.2c Vol 3 3.2.3, remove description rows...
lzeng14 [Fri, 25 Nov 2011 01:57:23 +0000 (01:57 +0000)]
1. According to PI errata 0000840 and PI 1.2c Vol 3 3.2.3, remove description rows that start with a Required Alignment (bytes) of 2, 4, and 8.
2. In PeiFfsFvPpiGetFileInfo(), FileHeader->Attributes needs to be converted to EFI_FV_FILE_ATTRIBUTES from EFI_FFS_FILE_ATTRIBUTES before it is assigned to FileInfo->FileAttributes.
3. Set EFI_FV_FILE_ATTRIB_FIXED and EFI_FV_FILE_ATTRIB_MEMORY_MAPPED bits for EFI_FV_FILE_ATTRIBUTES based on the FFS file and FV image.

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

12 years ago1. According to PI errata 0000840 and PI 1.2c Vol 3 3.2.3, remove description rows...
lzeng14 [Fri, 25 Nov 2011 01:56:58 +0000 (01:56 +0000)]
1. According to PI errata 0000840 and PI 1.2c Vol 3 3.2.3, remove description rows that start with a Required Alignment (bytes) of 2, 4, and 8.
2. In PeiFfsFvPpiGetFileInfo(), FileHeader->Attributes needs to be converted to EFI_FV_FILE_ATTRIBUTES from EFI_FFS_FILE_ATTRIBUTES before it is assigned to FileInfo->FileAttributes.
3. Set EFI_FV_FILE_ATTRIB_FIXED and EFI_FV_FILE_ATTRIB_MEMORY_MAPPED bits for EFI_FV_FILE_ATTRIBUTES based on the FFS file and FV image.

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

12 years ago1. Fix a bug to initialize the UdpRead instance in EfiPxeBcStart function.
sfu5 [Fri, 25 Nov 2011 01:22:47 +0000 (01:22 +0000)]
1. Fix a bug to initialize the UdpRead instance in EfiPxeBcStart function.

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

12 years agoPatch includes:
ydong10 [Thu, 24 Nov 2011 08:47:57 +0000 (08:47 +0000)]
Patch includes:
1. Support get default value for ref opcode logic.
2. Correct the sample for ref opcode with default value.
3. Refine logic about processing device path info in ref value.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12774 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoDuetPkg BootSector: Add missing .code16 directive into start16.S/start32.S/Gpt.S...
rsun3 [Thu, 24 Nov 2011 02:07:25 +0000 (02:07 +0000)]
DuetPkg BootSector: Add missing .code16 directive into start16.S/start32.S/Gpt.S/Mbr.S.

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

12 years agoUpdate console mode setup to use PcdSetupConOutColumn and PcdSetupConOutRow which...
li-elvin [Thu, 24 Nov 2011 01:03:01 +0000 (01:03 +0000)]
Update console mode setup to use PcdSetupConOutColumn and PcdSetupConOutRow which are specially for BIOS setup.

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

12 years agoUpdate console mode setup to use PcdSetupConOutColumn and PcdSetupConOutRow which...
li-elvin [Thu, 24 Nov 2011 01:02:31 +0000 (01:02 +0000)]
Update console mode setup to use PcdSetupConOutColumn and PcdSetupConOutRow which are specially for BIOS setup.

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

12 years agoUpdate console mode setup to use PcdSetupConOutColumn and PcdSetupConOutRow which...
li-elvin [Thu, 24 Nov 2011 01:01:48 +0000 (01:01 +0000)]
Update console mode setup to use PcdSetupConOutColumn and PcdSetupConOutRow which are specially for BIOS setup.

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

12 years agoRe-org the EBC thunk code for better code maintenance.
jyao1 [Wed, 23 Nov 2011 13:23:34 +0000 (13:23 +0000)]
Re-org the EBC thunk code for better code maintenance.

signed-off-by: jyao1
reviewed-by: lgao4

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

12 years ago1.Update IPsec driver to set the Transform structure’s Next Payload field to be zero...
qianouyang [Wed, 23 Nov 2011 10:31:04 +0000 (10:31 +0000)]
1.Update IPsec driver to set the Transform structure’s Next Payload field to be zero when it is the last transform structure in a proposal. The same as Proposal Structure’s Next Payload filed, it also should be zero when it is the last proposal in the SA.
2.Delete all SAs in the IPsec->Stop().

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

12 years agoUpdate code to follow coding style. Mainly change about:
ydong10 [Wed, 23 Nov 2011 09:20:57 +0000 (09:20 +0000)]
Update code to follow coding style. Mainly change about:
1. Remove duplicate lib
2. Refine the name for enum member.
Signed-off-by: ydong10
Reviewed-by: lgao4
Reviewed-by: gdong1
Reviewed-by: vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12767 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoMdeModulePkg DXE Core: Update implementation of SetMemorySpaceAttributes() DXE Servic...
rsun3 [Wed, 23 Nov 2011 08:15:14 +0000 (08:15 +0000)]
MdeModulePkg DXE Core: Update implementation of SetMemorySpaceAttributes() DXE Service to return EFI_NOT_AVAILABLE_YET if CPU Arch Protocol is not available per PI 1.2 Errata C spec.

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

12 years ago1. Check input PK/KEK variable data to make sure it is a valid EFI_SIGNATURE_LIST.
sfu5 [Wed, 23 Nov 2011 05:10:40 +0000 (05:10 +0000)]
1. Check input PK/KEK variable data to make sure it is a valid EFI_SIGNATURE_LIST.

Signed-off-by: sfu5
Reviewed-by: gdong1
Reviewed-by : czhan46

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

12 years agoAdd pointer check for NULL before dereference it.
sfu5 [Wed, 23 Nov 2011 05:05:12 +0000 (05:05 +0000)]
Add pointer check for NULL before dereference it.

Signed-off-by: sfu5
Reviewed-by: gdong1
Reviewed-by : czhan46

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

12 years agoUpdate DxeCore handle FV Image file with Depex section per PI spec.
lgao4 [Wed, 23 Nov 2011 03:12:04 +0000 (03:12 +0000)]
Update DxeCore handle FV Image file with Depex section per PI spec.
Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12763 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd the missing supported module type in MdePkg DxeServicesTableLib instance.
lgao4 [Wed, 23 Nov 2011 02:00:05 +0000 (02:00 +0000)]
Add the missing supported module type in MdePkg DxeServicesTableLib instance.
Signed-off-by: lgao4
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12762 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoMdePkg DxeServicesLib: Search further in GetFileBufferByFilePath
jljusten [Tue, 22 Nov 2011 17:15:23 +0000 (17:15 +0000)]
MdePkg DxeServicesLib: Search further in GetFileBufferByFilePath

This function supports loading via these interfaces, in order:
* gEfiFirmwareVolume2ProtocolGuid
* gEfiSimpleFileSystemProtocolGuid
* gEfiLoadFile2ProtocolGuid
* gEfiLoadFileProtocolGuid

Previously, if a device path supported any of these interfaces,
it would only check that interface.  (If it failed to load via
that interface, it would not move on and check the others.)

This change causes the other interfaces to still be checked if
the previous ones fail.

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

12 years agoRemove assumption on EAX and R10 usage for IA32 compiler and X64 compiler.
jyao1 [Tue, 22 Nov 2011 08:07:30 +0000 (08:07 +0000)]
Remove assumption on EAX and R10 usage for IA32 compiler and X64 compiler.

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

12 years agoAdd support for EFI_IFR_QUESTION_REF3 opcode for browser when this opcode has the...
ydong10 [Tue, 22 Nov 2011 07:46:35 +0000 (07:46 +0000)]
Add support for EFI_IFR_QUESTION_REF3 opcode for browser when this opcode has the device path info.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12759 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoUpdate comments in BaseExtractGuidedSectionLib library instance to say its used memor...
lgao4 [Tue, 22 Nov 2011 07:17:37 +0000 (07:17 +0000)]
Update comments in BaseExtractGuidedSectionLib library instance to say its used memory is the physical memory space.

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

12 years agoUpdate SetupBrowser to initialize the question value before extract default value...
lgao4 [Tue, 22 Nov 2011 07:15:08 +0000 (07:15 +0000)]
Update SetupBrowser to initialize the question value before extract default value so that the default expression can be evaluated correctly.

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

12 years agoPcAtChipsetPkg: install RTC ARCH protocol even if RTC h/w is functioning incorrectly.
erictian [Tue, 22 Nov 2011 06:11:16 +0000 (06:11 +0000)]
PcAtChipsetPkg: install RTC ARCH protocol even if RTC h/w is functioning incorrectly.

signed-off-by: erictian
reviewed-by: mdkinney

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

12 years agoUse PCD to customize if ps2 mouse and mouse pointer device do full reset.
li-elvin [Mon, 21 Nov 2011 11:16:39 +0000 (11:16 +0000)]
Use PCD to customize if ps2 mouse and mouse pointer device do full reset.

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

12 years agoAccording to PI errata 0000654 and 000811, we need use 0xFFFE to instead of 0 for...
lzeng14 [Mon, 21 Nov 2011 09:32:09 +0000 (09:32 +0000)]
According to PI errata 0000654 and 000811, we need use 0xFFFE to instead of 0 for EFI_SMBIOS_PROTOCOL.Add() SmbiosHandle parameter to assign a unique handle to the SMBIOS record, and for EFI_SMBIOS_PROTOCOL.GetNext() SmbiosHandle parameter to get the first matched SMBIOS handle or indicate no more SMBIOS record.

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

12 years agoAccording to PI errata 0000654 and 000811, we need use 0xFFFE to instead of 0 for...
lzeng14 [Mon, 21 Nov 2011 08:59:54 +0000 (08:59 +0000)]
According to PI errata 0000654 and 000811, we need use 0xFFFE to instead of 0 for EFI_SMBIOS_PROTOCOL.Add() SmbiosHandle parameter to assign a unique handle to the SMBIOS record, and for EFI_SMBIOS_PROTOCOL.GetNext() SmbiosHandle parameter to get the first matched SMBIOS handle or indicate no more SMBIOS record.

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

12 years agoAccording to PI errata 0000654 and 000811, we need use 0xFFFE to instead of 0 for...
lzeng14 [Mon, 21 Nov 2011 08:57:02 +0000 (08:57 +0000)]
According to PI errata 0000654 and 000811, we need use 0xFFFE to instead of 0 for EFI_SMBIOS_PROTOCOL.Add() SmbiosHandle parameter to assign a unique handle to the SMBIOS record, and for EFI_SMBIOS_PROTOCOL.GetNext() SmbiosHandle parameter to get the first matched SMBIOS handle or indicate no more SMBIOS record.

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

12 years agoAccording to PI errata 0000654 and 000811, we need use 0xFFFE to instead of 0 for...
lzeng14 [Mon, 21 Nov 2011 08:56:48 +0000 (08:56 +0000)]
According to PI errata 0000654 and 000811, we need use 0xFFFE to instead of 0 for EFI_SMBIOS_PROTOCOL.Add() SmbiosHandle parameter to assign a unique handle to the SMBIOS record, and for EFI_SMBIOS_PROTOCOL.GetNext() SmbiosHandle parameter to get the first matched SMBIOS handle or indicate no more SMBIOS record.

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

12 years agoAccording to PI errata 0000654 and 000811, we need use 0xFFFE to instead of 0 for...
lzeng14 [Mon, 21 Nov 2011 08:53:54 +0000 (08:53 +0000)]
According to PI errata 0000654 and 000811, we need use 0xFFFE to instead of 0 for EFI_SMBIOS_PROTOCOL.Add() SmbiosHandle parameter to assign a unique handle to the SMBIOS record, and for EFI_SMBIOS_PROTOCOL.GetNext() SmbiosHandle parameter to get the first matched SMBIOS handle or indicate no more SMBIOS record.

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

12 years agoAccording to PI errata 0000654 and 000811, we need use 0xFFFE to instead of 0 for...
lzeng14 [Mon, 21 Nov 2011 08:53:04 +0000 (08:53 +0000)]
According to PI errata 0000654 and 000811, we need use 0xFFFE to instead of 0 for EFI_SMBIOS_PROTOCOL.Add() SmbiosHandle parameter to assign a unique handle to the SMBIOS record, and for EFI_SMBIOS_PROTOCOL.GetNext() SmbiosHandle parameter to get the first matched SMBIOS handle or indicate no more SMBIOS record.

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

12 years agoAccording to PI errata 0000654 and 000811, we need use 0xFFFE to instead of 0 for...
lzeng14 [Mon, 21 Nov 2011 08:52:27 +0000 (08:52 +0000)]
According to PI errata 0000654 and 000811, we need use 0xFFFE to instead of 0 for EFI_SMBIOS_PROTOCOL.Add() SmbiosHandle parameter to assign a unique handle to the SMBIOS record, and for EFI_SMBIOS_PROTOCOL.GetNext() SmbiosHandle parameter to get the first matched SMBIOS handle or indicate no more SMBIOS record.

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

12 years agoAccording to PI errata 0000654 and 000811, we need use 0xFFFE to instead of 0 for...
lzeng14 [Mon, 21 Nov 2011 08:51:39 +0000 (08:51 +0000)]
According to PI errata 0000654 and 000811, we need use 0xFFFE to instead of 0 for EFI_SMBIOS_PROTOCOL.Add() SmbiosHandle parameter to assign a unique handle to the SMBIOS record, and for EFI_SMBIOS_PROTOCOL.GetNext() SmbiosHandle parameter to get the first matched SMBIOS handle or indicate no more SMBIOS record.

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

12 years agoAccording to PI errata 0000654 and 000811, we need use 0xFFFE to instead of 0 for...
lzeng14 [Mon, 21 Nov 2011 08:50:41 +0000 (08:50 +0000)]
According to PI errata 0000654 and 000811, we need use 0xFFFE to instead of 0 for EFI_SMBIOS_PROTOCOL.Add() SmbiosHandle parameter to assign a unique handle to the SMBIOS record, and for EFI_SMBIOS_PROTOCOL.GetNext() SmbiosHandle parameter to get the first matched SMBIOS handle or indicate no more SMBIOS record.

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

12 years ago1) Fix GCC version EBC interpreter bug.
jyao1 [Mon, 21 Nov 2011 08:35:14 +0000 (08:35 +0000)]
1) Fix GCC version EBC interpreter bug.
Add missing EFIPAI for EbcInterpret and ExecuteEbcImageEntryPoint().
Get return value in EbcLLCALLEXNative(), remove EbcLLGetReturnValue().

2) Fix IA32 EBC interpreter bug on MOVsnw and MOVsnd.

3) Some cleanup
Add missing ReturnEBCStack() for IA32 build.
Remove unnecessary EbcLLGetStackPointer() for X64 and IPF build.
Remove deadcode EbcLLGetStackPointer() and EbcLLGetReturnValue() in IA32/X64/IPF ASM code.
Dump more info in CommonEbcExceptionHandler().

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

12 years agoInitialize the variable before use it to avoid SCT test failed.
ydong10 [Mon, 21 Nov 2011 07:42:53 +0000 (07:42 +0000)]
Initialize the variable before use it to avoid SCT test failed.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12744 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoPI 1.2 Errata C: A new return condition is added for the returned status code EFI_INV...
rsun3 [Mon, 21 Nov 2011 05:23:58 +0000 (05:23 +0000)]
PI 1.2 Errata C: A new return condition is added for the returned status code EFI_INVALID_PARAMETER for SMM Control2 Protocol.Trigger().

signed-off-by: rsun3
reviewed-by: lgao4

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

12 years ago1.Fix a bug in Dhcp4Dxe driver to correct the ‘secs’ field in DHCP message.
sfu5 [Mon, 21 Nov 2011 03:40:24 +0000 (03:40 +0000)]
1.Fix a bug in Dhcp4Dxe driver to correct the ‘secs’ field in DHCP message.

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

12 years agoShellPkg: Updates the printing of echo for script commands to after the @ checking.
jcarsey [Fri, 18 Nov 2011 18:58:25 +0000 (18:58 +0000)]
ShellPkg: Updates the printing of echo for script commands to after the @ checking.

The add and remove are really a move of the code block from before the @ parsing into the else block.

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

12 years agoShellPkg: Correct incorrect use of sizeof to use macro for EFI_FILE_INFO size.
jcarsey [Fri, 18 Nov 2011 17:02:36 +0000 (17:02 +0000)]
ShellPkg: Correct incorrect use of sizeof to use macro for EFI_FILE_INFO size.

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

12 years agoEnable buffer type when process some expression opcode which support buffer type.
ydong10 [Fri, 18 Nov 2011 07:07:31 +0000 (07:07 +0000)]
Enable buffer type when process some expression opcode which support buffer type.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12739 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoPatch for:
ydong10 [Fri, 18 Nov 2011 07:05:17 +0000 (07:05 +0000)]
Patch for:
1. Get default value base on the priority: default opcode has highest priority and get from minimum or first option has lowest.
2. When default value saved in expression, not set default value for this question.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12738 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAccording to PI errata 0000718 and PI 1.2c Vol 3 3.2.1, comment out "Types" for EFI_F...
lzeng14 [Fri, 18 Nov 2011 01:29:39 +0000 (01:29 +0000)]
According to PI errata 0000718 and PI 1.2c Vol 3 3.2.1, comment out "Types" for EFI_FIRMWARE_VOLUME_EXT_ENTRY_OEM_TYPE structure and "Data" for EFI_FIRMWARE_VOLUME_EXT_ENTRY_GUID_TYPE structure.

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

12 years agoShellPkg: Update the ‘for’ command to check number length correctly with trailing...
jcarsey [Thu, 17 Nov 2011 21:38:20 +0000 (21:38 +0000)]
ShellPkg: Update the ‘for’ command to check number length correctly with trailing spaces.

This fix corrects the logic that checks number length such that is functions correctly without a trailing space.

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

12 years agoIn BootScriptSaver, put INFORMATION_OPCODE message to LockBox.
jyao1 [Thu, 17 Nov 2011 09:35:20 +0000 (09:35 +0000)]
In BootScriptSaver, put INFORMATION_OPCODE message to LockBox.
In BootScriptExecutor, add code to display this INFORMATION_OPCODE message.

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

12 years agoPcAtChipsetPkg: install RTC ARCH protocol even if the "RTC" variable is corrupted.
erictian [Thu, 17 Nov 2011 08:35:08 +0000 (08:35 +0000)]
PcAtChipsetPkg: install RTC ARCH protocol even if the "RTC" variable is corrupted.

signed-off-by: erictian
reviewed-by: hhtian

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

12 years agoRemove CONST prefix to follow PI Specification.
vanjeff [Thu, 17 Nov 2011 07:01:12 +0000 (07:01 +0000)]
Remove CONST prefix to follow PI Specification.
This was one incompatible updating, the module produced SMBUS HC protocol should be updated to remove CONST prefix accordingly.

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

12 years agoPcAtChipsetPkg: Do right sign extension to avoid a wrong daylight value saving into...
erictian [Thu, 17 Nov 2011 06:43:01 +0000 (06:43 +0000)]
PcAtChipsetPkg: Do right sign extension to avoid a wrong daylight value saving into "RTC" variable

signed-off-by: erictian
reviewed-by: niruiyu

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

12 years agoRegenerate the related EDK Shell binaries after fixing a bug in Pci.c to add missing...
niruiyu [Thu, 17 Nov 2011 05:20:56 +0000 (05:20 +0000)]
Regenerate the related EDK Shell binaries after fixing a bug in Pci.c to add missing (UINTN) type cast.

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

12 years agoChange IPF version AuthVariable driver to support multiple-platform feature.
niruiyu [Thu, 17 Nov 2011 02:40:28 +0000 (02:40 +0000)]
Change IPF version AuthVariable driver to support multiple-platform feature.

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

12 years agoUpdate PI Service Table Versions per PI 1.2 Errata C.
rsun3 [Thu, 17 Nov 2011 02:14:30 +0000 (02:14 +0000)]
Update PI Service Table Versions per PI 1.2 Errata C.

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

12 years agoCorrect the code to use SIZE_OF_EFI_FILE_INFO instead of sizeof (EFI_FILE_INFO) to...
niruiyu [Thu, 17 Nov 2011 01:59:30 +0000 (01:59 +0000)]
Correct the code to use SIZE_OF_EFI_FILE_INFO instead of sizeof (EFI_FILE_INFO) to fix a bug when creating a file/directory with single char as file name in root directory.

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

12 years agoCorrect the code to use SIZE_OF_EFI_FILE_INFO instead of sizeof (EFI_FILE_INFO) to...
niruiyu [Thu, 17 Nov 2011 01:56:30 +0000 (01:56 +0000)]
Correct the code to use SIZE_OF_EFI_FILE_INFO instead of sizeof (EFI_FILE_INFO) to fix a bug when creating a file/directory with single char as file name in root directory.

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

12 years agoArmPlatformPkg/PrePi: Ony synchronize cores when it is a MPCore System
oliviermartin [Wed, 16 Nov 2011 12:53:25 +0000 (12:53 +0000)]
ArmPlatformPkg/PrePi: Ony synchronize cores when it is a MPCore System

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

12 years agoMdeModulePkg: Enable port power if port power control feature is supported by EHCI
erictian [Wed, 16 Nov 2011 10:24:47 +0000 (10:24 +0000)]
MdeModulePkg: Enable port power if port power control feature is supported by EHCI

signed-off-by: erictian
reviewed-by: li-elvin

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

12 years agoUEFI231 spec compliance:
jyao1 [Wed, 16 Nov 2011 09:41:55 +0000 (09:41 +0000)]
UEFI231 spec compliance:
UEFI231 defines EFI_SMM_COMMUNICATION_ACPI_TABLE. We should move it from Pi/ dir to Uefi/ dir.
UEFI231 defines EFI_SMM_COMMUNICATE_HEADER. We should move it from Protocol/SmmCommunication.h to Uefi/ dir.
The original file will still include the new data structure to keep compatibility.

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

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

12 years agoDuetPkg BootSector:
rsun3 [Wed, 16 Nov 2011 09:38:12 +0000 (09:38 +0000)]
DuetPkg BootSector:
Update start.asm(S)/start16.asm(S)/start32.asm(S)/efi32.asm(S) under DuetPkg\BootSector to follow the IA32 recommendations on switching to protected mode: Immediately following the MOV CR0 instruction, execute a far JMP or far CALL instruction. (This operation is typically a far jump or call to the next instruction in the instruction stream.)

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

12 years agoPatch include:
ydong10 [Wed, 16 Nov 2011 07:16:03 +0000 (07:16 +0000)]
Patch include:
1. Browser not support suppress attribute for date/time opcode, not enable this attribute.
2. Show year field in %04d format, old format is %4d.
3. Add sample to use the suppress attribute.

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

12 years agoEnable lock attribute for statement and form; show this attribute same as grayout.
ydong10 [Wed, 16 Nov 2011 05:23:38 +0000 (05:23 +0000)]
Enable lock attribute for statement and form; show this attribute same as grayout.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12721 6f19259b-4bc3-4df7-8a09-765794883524