]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
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

12 years agoUpdate select highlight menu logic when opcode is date/time
ydong10 [Wed, 16 Nov 2011 05:09:36 +0000 (05:09 +0000)]
Update select highlight menu logic when opcode is date/time

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

12 years agoRestore original IDT entry if RegisterInterruptHandler() was used to unregister user...
vanjeff [Wed, 16 Nov 2011 02:31:31 +0000 (02:31 +0000)]
Restore original IDT entry if RegisterInterruptHandler() was used to unregister user defined interrupt handler.

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

12 years agoMake comments to be consistent with the parameter.
gdong1 [Wed, 16 Nov 2011 01:20:58 +0000 (01:20 +0000)]
Make comments to be consistent with the parameter.

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

12 years agoIn AtaAtapiPassThru driver
qianouyang [Tue, 15 Nov 2011 13:44:06 +0000 (13:44 +0000)]
In AtaAtapiPassThru driver
1. move the non-blocking task related setting ahead to store the MapTable and PageCount in case there is a IO operation error happened then the error handler code could use those information to release the resource.
2. Enlarge the TPL protective area to make sure the simulative delay time is accurate when there is mixing usage of Non blocking and blocking I/O.

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

12 years agoEFI_FVB2_ALIGNMNET_512K should be EFI_FVB2_ALIGNMENT_512K.
lzeng14 [Tue, 15 Nov 2011 11:06:36 +0000 (11:06 +0000)]
EFI_FVB2_ALIGNMNET_512K should be EFI_FVB2_ALIGNMENT_512K.

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

12 years agoAccording to PI 1.2c Vol 3, EFI_FVB2_ALIGNMNET_512K should be EFI_FVB2_ALIGNMENT_512K.
lzeng14 [Tue, 15 Nov 2011 11:04:37 +0000 (11:04 +0000)]
According to PI 1.2c Vol 3, EFI_FVB2_ALIGNMNET_512K should be EFI_FVB2_ALIGNMENT_512K.

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

12 years agoArmPlatformPkg: Remove inappropriate comment in ArmPlatformPkg.dec
oliviermartin [Tue, 15 Nov 2011 10:39:42 +0000 (10:39 +0000)]
ArmPlatformPkg: Remove inappropriate comment in ArmPlatformPkg.dec

The comment was not related to the context.

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

12 years agoArmPlatformPkg/patches: Update pending patches to fix builds
oliviermartin [Tue, 15 Nov 2011 10:26:58 +0000 (10:26 +0000)]
ArmPlatformPkg/patches: Update pending patches to fix builds

This update should fix the build errors due to the postfix 'U' added to PCD numbers.

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

12 years agoUpdate ConfigAcess Protocol which is produced by SecureBootConfigDxe to follow the...
qianouyang [Tue, 15 Nov 2011 10:22:35 +0000 (10:22 +0000)]
Update ConfigAcess Protocol which is produced by SecureBootConfigDxe to follow the UEFI SPEC (Handle the Request parameter is NULL in ExtractConfig interface).

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

12 years agoCorrect AtaAtapiPassThru module packaging info.
erictian [Tue, 15 Nov 2011 09:47:32 +0000 (09:47 +0000)]
Correct AtaAtapiPassThru module packaging info.

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

12 years agoAccording to PI errata 0000690, word "Ide Bus driver" has been replaced with "Driver...
erictian [Tue, 15 Nov 2011 09:43:32 +0000 (09:43 +0000)]
According to PI errata 0000690, word "Ide Bus driver" has been replaced with "Driver entity".

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

12 years agoAccording to PI errata 0000690, word "Ide Bus driver" has been replaced with "Driver...
erictian [Tue, 15 Nov 2011 09:43:04 +0000 (09:43 +0000)]
According to PI errata 0000690, word "Ide Bus driver" has been replaced with "Driver entity".

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

12 years agoAccording to PI errata 0000690, word "Ide Bus driver" has been replaced with "Driver...
erictian [Tue, 15 Nov 2011 09:42:16 +0000 (09:42 +0000)]
According to PI errata 0000690, word "Ide Bus driver" has been replaced with "Driver entity".

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

12 years agoRemove code comments since PI 1.2c has fixed the typo of some status code name.
vanjeff [Tue, 15 Nov 2011 08:36:06 +0000 (08:36 +0000)]
Remove code comments since PI 1.2c has fixed the typo of some status code name.

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

12 years agoCSM is updated to remove RaiseTPL (TPL_HIGH_LEVEL) and disable 2 known UEFI interrupt...
li-elvin [Tue, 15 Nov 2011 07:59:21 +0000 (07:59 +0000)]
CSM is updated to remove RaiseTPL (TPL_HIGH_LEVEL) and disable 2 known UEFI interrupts instead. This is needed to process HPET timer interrupt before going into real mode.

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

12 years agoHPET driver was updated and included:
li-elvin [Tue, 15 Nov 2011 07:58:00 +0000 (07:58 +0000)]
HPET driver was updated and included:
Comparator register automatically grow without breaking main counter register, this allow other driver to use HPET main counter.
Timer register overflow handle.
32-bit HPET timer support.
TimerDriverSetTimerPeriod is changed to handle HPET timer interrupt delivered into real mode.

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

12 years agoThe handler dispatcher in PEI statuscode router driver should check if handler is...
li-elvin [Tue, 15 Nov 2011 06:36:37 +0000 (06:36 +0000)]
The handler dispatcher in PEI statuscode router driver should check if handler is NULL, if it is not NULL, then handler can be called.

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

12 years agoAccording to PI 1.2c Vol 5, update the code to stipulate SMBIOS 2.7 and include the...
lzeng14 [Tue, 15 Nov 2011 06:30:05 +0000 (06:30 +0000)]
According to PI 1.2c Vol 5, update the code to stipulate SMBIOS 2.7 and include the new types defined therein.

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

12 years agoDo not call LocateProtocol when the current TPL is above or equal TPL_NOTIFY.
niruiyu [Tue, 15 Nov 2011 01:48:13 +0000 (01:48 +0000)]
Do not call LocateProtocol when the current TPL is above or equal TPL_NOTIFY.

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

12 years agoFix incorrect pointer check.
li-elvin [Tue, 15 Nov 2011 01:14:44 +0000 (01:14 +0000)]
Fix incorrect pointer check.

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

12 years agoUpdate comment for function header.
ydong10 [Mon, 14 Nov 2011 08:51:05 +0000 (08:51 +0000)]
Update comment for function header.

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

12 years agoFollow PI1.2c spec, check empty string and return EFI_INVALID_PARAMETER.
jyao1 [Mon, 14 Nov 2011 06:28:40 +0000 (06:28 +0000)]
Follow PI1.2c spec, check empty string and return EFI_INVALID_PARAMETER.
Clean up comment according to PI1.2c spec.

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

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

12 years agoFix a typo in the comments
niruiyu [Mon, 14 Nov 2011 02:41:04 +0000 (02:41 +0000)]
Fix a typo in the comments

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

12 years agoShellPkg: Update comments for functions to clarify buffer origin.
darylm503 [Sat, 12 Nov 2011 00:35:11 +0000 (00:35 +0000)]
ShellPkg: Update comments for functions to clarify buffer origin.

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

12 years agoShellpkg: Add support for filenames with spaces.
jcarsey [Fri, 11 Nov 2011 16:52:09 +0000 (16:52 +0000)]
Shellpkg: Add support for filenames with spaces.

This patch changes the file redirection support to allow for quote delimited filenames that contain spaces and updates the edit command to allow spaces in the filename.  This also properly fails for attempts to redirect to "" (empty quotes).

This was missing from the first portion of the commit.

signed-off-by: jcarsey
reviewed-by: jliu66

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

12 years agoShellpkg: Add support for filenames with spaces.
jcarsey [Fri, 11 Nov 2011 16:45:19 +0000 (16:45 +0000)]
Shellpkg: Add support for filenames with spaces.

This patch changes the file redirection support to allow for quote delimited filenames that contain spaces and updates the edit command to allow spaces in the filename.  This also properly fails for attempts to redirect to "" (empty quotes).

signed-off-by: jcarsey
reviewed-by: jliu66

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

12 years agoStdLib: Correct module type and [LibraryClasses] section.
darylm503 [Fri, 11 Nov 2011 01:19:10 +0000 (01:19 +0000)]
StdLib: Correct module type and [LibraryClasses] section.

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

12 years agoStdLib: Eliminate TimerLib dependencies.
darylm503 [Fri, 11 Nov 2011 00:32:31 +0000 (00:32 +0000)]
StdLib: Eliminate TimerLib dependencies.

Implement the clock() function using the EFI time-of-day clock instead of a TimerLib instance.

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

12 years agoOvmfPkg: Add CSM16 and related drivers if CSM_ENABLE is set
jljusten [Thu, 10 Nov 2011 22:04:49 +0000 (22:04 +0000)]
OvmfPkg: Add CSM16 and related drivers if CSM_ENABLE is set

Note: The CSM16 binary must be copied into the tree at
OvmfPkg/Csm/Csm16/Csm16.bin in order to use CSM_ENABLE.

If CSM_ENABLE is set during the build, then the CSM16 binary
and the CSM support (Legacy BIOS) drivers will be added to
the build.

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

12 years agoOvmfPkg: Add CsmSupportLib
jljusten [Thu, 10 Nov 2011 22:04:19 +0000 (22:04 +0000)]
OvmfPkg: Add CsmSupportLib

This library installs the legacy interrupt, region
and platform support required for CSM support
drivers.

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

12 years agoArmPlatformPkg/patches: Update the 'PendingPatches' on the latest BaseTools syncup
oliviermartin [Thu, 10 Nov 2011 10:57:37 +0000 (10:57 +0000)]
ArmPlatformPkg/patches: Update the 'PendingPatches' on the latest BaseTools syncup

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

12 years agoAdd description for the parameter of SafeFreePool().
lzeng14 [Thu, 10 Nov 2011 01:44:22 +0000 (01:44 +0000)]
Add description for the parameter of SafeFreePool().

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

12 years agoArmPlatformPkg: Fix Global Variable region initialization when GlobalVariable's size...
oliviermartin [Wed, 9 Nov 2011 11:52:37 +0000 (11:52 +0000)]
ArmPlatformPkg: Fix Global Variable region initialization when GlobalVariable's size is zero

The exit loop was not considering a size of zero for the Global Variable region.

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

12 years agoRemove some useless functions for EhciPei driver.
lzeng14 [Wed, 9 Nov 2011 09:38:56 +0000 (09:38 +0000)]
Remove some useless functions for EhciPei driver.

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

12 years agoSync BaseTool trunk (version r2397) into EDKII BaseTools. The change mainly includes
lgao4 [Wed, 9 Nov 2011 04:32:08 +0000 (04:32 +0000)]
Sync BaseTool trunk (version r2397) into EDKII BaseTools.  The change mainly includes
1. Fix the issue that root directory of disk can’t be used as WORKSPACE.
2. Update AutoGen code style to pass C++ compiler.

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

12 years agoMdePkg/BaseLib: Replaced inline assembly for ARMGCC by GCC assembly source file
oliviermartin [Tue, 8 Nov 2011 18:49:22 +0000 (18:49 +0000)]
MdePkg/BaseLib: Replaced inline assembly for ARMGCC by GCC assembly source file

The registers used to passed arguments to the DxeCore entrypoint in the inline
assembly function InternalSwitchStackAsm() where switched at compilation time.
This change replaces the inline assembly by a pure assembly source file to
avoid this kind of optimization.

Note: Inline assembly is generally not recommanded in system programming.

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

12 years agoBeagleBoardPkg: Check if the compiler arm-linux-gnueabi-gcc is present in the path
oliviermartin [Tue, 8 Nov 2011 18:30:26 +0000 (18:30 +0000)]
BeagleBoardPkg: Check if the compiler arm-linux-gnueabi-gcc is present in the path

'arm-linux-gnueabi-gcc' is the compiler attached to the ARMLINUXGCC toolchain.
This compiler is available in the PATH environment variable when the Linaro's
toolchain package is installed (Ubuntu distribution).

If if compiler is in the path then select the ARMLINUXGCC toolchain. This change
is to make easier to build UEFI on the BeagleBoard for new starters by hiding the
toolchain.

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

12 years agoAdd the missing (UINTN) type cast when calculating the end of variable store.
niruiyu [Tue, 8 Nov 2011 08:42:34 +0000 (08:42 +0000)]
Add the missing (UINTN) type cast when calculating the end of variable store.

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

12 years agoIntroduce video resolution and text mode PCDs for BIOS setup in BDS module. User...
li-elvin [Tue, 8 Nov 2011 07:34:56 +0000 (07:34 +0000)]
Introduce video resolution and text mode PCDs for BIOS setup in BDS module. User can use these PCDs to customize video resolution and text mode for setup when launching BIOS setup.

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

12 years agoSourceLevelDebugPkg: Check if PcdUsbEhciPciAddress is set correctly to avoid assertion
erictian [Tue, 8 Nov 2011 06:12:06 +0000 (06:12 +0000)]
SourceLevelDebugPkg: Check if PcdUsbEhciPciAddress is set correctly to avoid assertion

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

12 years agoCheck the return status of booting against EFI_SUCCESS instead of using EFI_ERROR...
niruiyu [Tue, 8 Nov 2011 03:10:36 +0000 (03:10 +0000)]
Check the return status of booting against EFI_SUCCESS instead of using EFI_ERROR() macro to catch the warning status.

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

12 years agoRoll back an incorrect change that causes EmuGetVariable always return EFI_NOT_FOUND.
niruiyu [Tue, 8 Nov 2011 03:00:56 +0000 (03:00 +0000)]
Roll back an incorrect change that causes EmuGetVariable always return EFI_NOT_FOUND.

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

12 years agoEmulatorPkg, OvmfPkg: Remove debug code in build.sh
jljusten [Tue, 8 Nov 2011 00:39:05 +0000 (00:39 +0000)]
EmulatorPkg, OvmfPkg: Remove debug code in build.sh

This debug code causes the build.sh script to exit
immediately for systems with GCC 4.4.

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

12 years agoIntelFrameworkModulePkg-GenericBdsLib: Add type cast for conversion from INTN to...
xdu2 [Mon, 7 Nov 2011 03:35:21 +0000 (03:35 +0000)]
IntelFrameworkModulePkg-GenericBdsLib: Add type cast for conversion from INTN to UINTN.

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

12 years agoIntelFrameworkModulePkg: Update GenericBdsLib to use BootLogo protocol to report...
xdu2 [Fri, 4 Nov 2011 08:28:09 +0000 (08:28 +0000)]
IntelFrameworkModulePkg: Update GenericBdsLib to use BootLogo protocol to report logo information after logo is drawn to screen; update BdsDxe to notify logo is corrupted when user is going to enter setup.

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

12 years agoMdeModulePkg: Define Boot Logo protocol to convey information of Logo dispayed during...
xdu2 [Fri, 4 Nov 2011 08:27:53 +0000 (08:27 +0000)]
MdeModulePkg: Define Boot Logo protocol to convey information of Logo dispayed during boot.

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

12 years agoMdePkg: Move Bmp.h from IntelFrameworkModulePkg/Library/GenericBdsLib/ to MdePkg...
xdu2 [Fri, 4 Nov 2011 08:27:47 +0000 (08:27 +0000)]
MdePkg: Move Bmp.h from IntelFrameworkModulePkg/Library/GenericBdsLib/ to MdePkg/Include/IndustryStandard.

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

12 years agoCorrect the logic to check EFI_FV2_WRITE_STATUS.
lzeng14 [Fri, 4 Nov 2011 06:26:26 +0000 (06:26 +0000)]
Correct the logic to check EFI_FV2_WRITE_STATUS.

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

12 years agoAdd debug information for secure boot test convenient.
gdong1 [Fri, 4 Nov 2011 05:41:06 +0000 (05:41 +0000)]
Add debug information for secure boot test convenient.

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

12 years agoUpdate return FALSE to ASSERT() for code consistent.
tye1 [Fri, 4 Nov 2011 02:55:30 +0000 (02:55 +0000)]
Update return FALSE to ASSERT() for code consistent.

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

12 years agoMdeModulePkg: ATA performance tuning.
erictian [Thu, 3 Nov 2011 12:38:21 +0000 (12:38 +0000)]
MdeModulePkg: ATA performance tuning.

1. Boost IDE mode boot when slave device is absent.
2. Use D2H FIS to check if the PIO OUT/DMA IN/DMA OUT transfer is finished or error happened. ATA PIO IN has special check as it may just receive PIO SETUP FIS for success case.
3. Add command status register check for IDE DMA transfer.
4. ScsiDiskReadCapacity() in ScsiDisk should return EFI_SUCCESS if SENSE Data request is success.

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

12 years agoMdeModulePkg: Define correct ABI for issuing UNDI command and UNDI callback functions...
xdu2 [Thu, 3 Nov 2011 02:59:20 +0000 (02:59 +0000)]
MdeModulePkg: Define correct ABI for issuing UNDI command and UNDI callback functions in SnpDxe.

This update ensure correct calling convention for interfaces between binary UNDI driver and SnpDxe.

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

12 years agoAdd NULL pointer check before free pool.
lzeng14 [Thu, 3 Nov 2011 02:45:25 +0000 (02:45 +0000)]
Add NULL pointer check before free pool.

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

12 years agoStdLib: Fix some corrupted comments and inconsistent indentation.
darylm503 [Thu, 3 Nov 2011 00:52:37 +0000 (00:52 +0000)]
StdLib: Fix some corrupted comments and inconsistent indentation.

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