10 years agoUpdate remaining ARM .S files with INTERWORK_FUNC macro. This is the 2nd half of...
andrewfish [Wed, 15 Dec 2010 01:06:20 +0000 (01:06 +0000)]
Update remaining ARM .S files with INTERWORK_FUNC macro. This is the 2nd half of check-in 11167.

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

10 years agoAdd support for semihosting with GCC. Still needs more testing.
andrewfish [Wed, 15 Dec 2010 01:00:54 +0000 (01:00 +0000)]
Add support for semihosting with GCC. Still needs more testing.

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

10 years agoFix issue with CodeSourcery gcc requiring assembly functions to have a .type define...
andrewfish [Wed, 15 Dec 2010 00:58:34 +0000 (00:58 +0000)]
Fix issue with CodeSourcery gcc requiring assembly functions to have a .type define inorder to support interworking (calling from thumb(C code) to ARM code (hadn written assembly). We had to add a macro as the .type directive is not supported, or needed, by Xcode. All ARM .S files need to be updated.

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

10 years agoFix build break on Apple Xcode, caused by fixing normal gcc build break.
andrewfish [Tue, 14 Dec 2010 22:45:46 +0000 (22:45 +0000)]
Fix build break on Apple Xcode, caused by fixing normal gcc build break.

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

10 years agoAdd special treatment for EFI_PCI_IO_ATTRIBUTE_EMBEDDED_DEVICE and EFI_PCI_IO_ATTRIBU...
rsun3 [Tue, 14 Dec 2010 09:52:38 +0000 (09:52 +0000)]
Add special treatment for EFI_PCI_IO_ATTRIBUTE_EMBEDDED_DEVICE and EFI_PCI_IO_ATTRIBUTE_EMBEDDED_ROM, because these attributes are only for PCI IO, while not supported by PCI Root Bridge IO.

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

10 years agoFix the IsaIo driver to not create ISA resource item when the ACPI resource returned...
niruiyu [Tue, 14 Dec 2010 07:17:55 +0000 (07:17 +0000)]
Fix the IsaIo driver to not create ISA resource item when the ACPI resource returned from EFI_SIO_PROTOCOL::GetResources() is 0.
This could avoid creating the ISA resource item with StartRange = 0 and EndRange = 0xffffffff when the ACPI resource Base and Len both are 0 because we set StartRange = Base and EndRange = Base + End - 1.

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

10 years agoAdd the SuperIoInit protocol to MdePkg.
niruiyu [Tue, 14 Dec 2010 06:57:22 +0000 (06:57 +0000)]
Add the SuperIoInit protocol to MdePkg.

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

10 years agoAdd a TcpIo library to facilitate usage of TCP service.
tye1 [Tue, 14 Dec 2010 03:19:21 +0000 (03:19 +0000)]
Add a TcpIo library to facilitate usage of TCP service.

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

10 years agoupdate USB_PORT_STAT_OWNER from 2^11 to 2^13 which is added as a possible value of...
erictian [Tue, 14 Dec 2010 02:50:56 +0000 (02:50 +0000)]
update USB_PORT_STAT_OWNER from 2^11 to 2^13 which is added as a possible value of EFI_USB_PORT_STATUS and is the equivalent of EfiUsbPortOwner of EFI_USB_PORT_FEATURE

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

10 years agoupdate USB_PORT_STAT_OWNER from 2^11 to 2^13 which is added as a possible value of...
erictian [Tue, 14 Dec 2010 02:50:25 +0000 (02:50 +0000)]
update USB_PORT_STAT_OWNER from 2^11 to 2^13 which is added as a possible value of EFI_USB_PORT_STATUS and is the equivalent of EfiUsbPortOwner of EFI_USB_PORT_FEATURE

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

10 years agoUpdate the PCI bus driver to correctly set the EFI_PCI_IO_ATTRIBUTE_EMBEDDED_ROM...
rsun3 [Tue, 14 Dec 2010 02:33:15 +0000 (02:33 +0000)]
Update the PCI bus driver to correctly set the EFI_PCI_IO_ATTRIBUTE_EMBEDDED_ROM attribute of PCI IO. Per UEFI spec, this attribute is used to determine if the ROM image is from the ROM BAR or from a platform specific location.

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

10 years agoUpdate FrameworkSpecConformance.txt after adding new datahub definitions for SMBIOS...
li-elvin [Mon, 13 Dec 2010 03:22:35 +0000 (03:22 +0000)]
Update FrameworkSpecConformance.txt after adding new datahub definitions for SMBIOS Type 4.

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

10 years agoRemove the unnecessary package from VariableSmmRuntimeDxe.inf.
gdong1 [Sun, 12 Dec 2010 10:18:47 +0000 (10:18 +0000)]
Remove the unnecessary package from VariableSmmRuntimeDxe.inf.

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

10 years agoAdd typecast to remove warning with ICC.
gdong1 [Sat, 11 Dec 2010 11:17:47 +0000 (11:17 +0000)]
Add typecast to remove warning with ICC.
VariableSmm.inf: Remove SmmLib

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

10 years agoMdeModulePkg VariableRuntimeDxe: Fix build for GCC44 toolchain
jljusten [Fri, 10 Dec 2010 23:57:42 +0000 (23:57 +0000)]
MdeModulePkg VariableRuntimeDxe: Fix build for GCC44 toolchain

Add typecast to remove warning with GCC 4.4.

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

10 years agoupdate copyright format
hhtian [Fri, 10 Dec 2010 15:20:43 +0000 (15:20 +0000)]
update copyright format

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

10 years agoupdate copyright format
hhtian [Fri, 10 Dec 2010 15:19:03 +0000 (15:19 +0000)]
update copyright format

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

10 years agofix potential memory access violation
ydong10 [Fri, 10 Dec 2010 11:16:24 +0000 (11:16 +0000)]
fix potential memory access violation

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

10 years agoAdd SMM Variable implementation.
gdong1 [Fri, 10 Dec 2010 09:27:54 +0000 (09:27 +0000)]
Add SMM Variable implementation.

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

10 years agofix build error on ICC compile.
ydong10 [Fri, 10 Dec 2010 08:42:36 +0000 (08:42 +0000)]
fix build error on ICC compile.

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

10 years agoAdd missing data record for Type 4.
li-elvin [Fri, 10 Dec 2010 08:01:52 +0000 (08:01 +0000)]
Add missing data record for Type 4.

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

10 years agoAdd missing fields of Type 4 conversion.
li-elvin [Fri, 10 Dec 2010 08:00:57 +0000 (08:00 +0000)]
Add missing fields of Type 4 conversion.

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

10 years agoEnhance IdeBusDxe to check the class code for IDE mode only.
lzeng14 [Fri, 10 Dec 2010 02:45:29 +0000 (02:45 +0000)]
Enhance IdeBusDxe to check the class code for IDE mode only.

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

10 years agoChange the file guid value to avoid conflict as another file.
ydong10 [Fri, 10 Dec 2010 02:21:56 +0000 (02:21 +0000)]
Change the file guid value to avoid conflict as another file.

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

10 years agoEFI_INVALID_PARAMETER should return when the input Block is NULL for ConfigRouting...
lgao4 [Thu, 9 Dec 2010 12:20:36 +0000 (12:20 +0000)]
EFI_INVALID_PARAMETER should return when the input Block is NULL for ConfigRouting.ConfigToBlock().

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

10 years agoAdd missing Handle parameter for UninstallMultipleProtocolInterfaces().
xdu2 [Thu, 9 Dec 2010 08:57:16 +0000 (08:57 +0000)]
Add missing Handle parameter for UninstallMultipleProtocolInterfaces().

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

10 years agoRefine code to make code run more safely.
ydong10 [Thu, 9 Dec 2010 08:25:59 +0000 (08:25 +0000)]
Refine code to make code run more safely.

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

10 years agowhen SMM Communication Protocol.Communicate() is called from within SMM, SMRAM is...
rsun3 [Thu, 9 Dec 2010 08:02:34 +0000 (08:02 +0000)]
when SMM Communication Protocol.Communicate() is called from within SMM, SMRAM is accessible so it is not necessary to check the SMRAM open/lock state via SMM ACCESS Protocol.

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

10 years agoupdate the comments.
ydong10 [Thu, 9 Dec 2010 02:52:04 +0000 (02:52 +0000)]
update the comments.

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

10 years agoupdate the comments.
ydong10 [Thu, 9 Dec 2010 02:51:30 +0000 (02:51 +0000)]
update the comments.

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

10 years agoCo-work with patch V11137 to refine the Hii menu.
ydong10 [Thu, 9 Dec 2010 02:19:34 +0000 (02:19 +0000)]
Co-work with patch V11137 to refine the Hii menu.
1. Move the Mac address string from the form title to form title help for the driver Ipv6

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

10 years agoCo-work with patch V11137 to refine the Hii menu.
ydong10 [Thu, 9 Dec 2010 02:18:44 +0000 (02:18 +0000)]
Co-work with patch V11137 to refine the Hii menu.
1. Move the Mac address string from the form title to form title help for the driver Ipv4 and VLAN.
2. Change the menu show in the device manager from "Network Controller Information" to "ABC Information Sample".

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

10 years ago[BDS] Device Manager was requested to add more sub-level menu about network device.
ydong10 [Thu, 9 Dec 2010 01:44:07 +0000 (01:44 +0000)]
[BDS] Device Manager was requested to add more sub-level menu about network device.
Now show menu like:
Network Device List -> Mac:XX:XX:XX... -> IPv4 Network Config
                       Mac:XX:XX:XX...    VLAN Configuration

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

10 years agoMove away from 0x40 block size (worked around a DXE core bug assuming the FV header...
andrewfish [Wed, 8 Dec 2010 19:58:48 +0000 (19:58 +0000)]
Move away from 0x40 block size (worked around a DXE core bug assuming the FV header fit in a block) of the FV to 1 byte. This makes more sense as the FV is shadowed from FLASH into RAM by HW so it is never on top of a real block device.

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

10 years agoadd progress code definitions defined in Framework Specification.
vanjeff [Wed, 8 Dec 2010 07:05:10 +0000 (07:05 +0000)]
add progress code definitions defined in Framework Specification.

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

vanjeff [Wed, 8 Dec 2010 06:58:33 +0000 (06:58 +0000)]
add note for EFI_SW_PEI_EC_INVALID_CAPSULE_DESCRIPTOR and EFI_SW_PEI_PC_RECOVERY_BEGIN to express they are different with the current PI specification 1.2.

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

10 years agoupdated progress code definitions to match PI Spec 1.2.
vanjeff [Wed, 8 Dec 2010 06:52:51 +0000 (06:52 +0000)]
updated progress code definitions to match PI Spec 1.2.

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

10 years agoFixed a bug: when underlayer receives much more data, return EFI_BUFFER_TOO_SMALL.
hhuan13 [Wed, 8 Dec 2010 04:42:40 +0000 (04:42 +0000)]
Fixed a bug: when underlayer receives much more data, return EFI_BUFFER_TOO_SMALL.

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

10 years agoAdd vpush/vpop to the exception handler as we added CopyMem/SetMem that can use NEON...
andrewfish [Wed, 8 Dec 2010 00:14:23 +0000 (00:14 +0000)]
Add vpush/vpop to the exception handler as we added CopyMem/SetMem that can use NEON registers to speed things up. This means we need to save state so we don't blow up a CopyMem.

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

10 years agoOlder tools rounded down the size of the FV, and the new tools round up. Our main...
andrewfish [Tue, 7 Dec 2010 22:44:08 +0000 (22:44 +0000)]
Older tools rounded down the size of the FV, and the new tools round up. Our main FV region is not a multiple of the block size, but it is set to fill the space. Probably need to move to a block size of 1 at some point.

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

10 years agoAdd MtrrLib and LocalApicLib declarations to the UefiCpuPkg DEC file.
mdkinney [Tue, 7 Dec 2010 20:23:20 +0000 (20:23 +0000)]
Add MtrrLib and LocalApicLib declarations to the UefiCpuPkg DEC file.

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

10 years ago1) Change location of DEBUG() macro that prints the name of the FFS file being evalua...
mdkinney [Mon, 6 Dec 2010 21:55:14 +0000 (21:55 +0000)]
1) Change location of DEBUG() macro that prints the name of the FFS file being evaluated by the DXE Dispatcher to eliminate a duplicate print.
2) Change location of DEBUG() macro that prints the name of the FFS file being evaluated by the SMM Dispatcher to eliminate a duplicate print.
3) Remove all references and processing of SOR from the PiSmmCore.  Treat use of SOR in the dependency expression of an SMM Driver as an invalid depex opcode.
4) Remove all references for an SMM Driver being in the "Untrusted" state from the PiSmmCore.

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

10 years agoRoll back comment change for SOR. SOR does not apply to SMM.
mdkinney [Mon, 6 Dec 2010 21:33:45 +0000 (21:33 +0000)]
Roll back comment change for SOR.  SOR does not apply to SMM.

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

10 years agofixes for NULL verification.
jcarsey [Mon, 6 Dec 2010 18:10:34 +0000 (18:10 +0000)]
fixes for NULL verification.

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

10 years agoFix dec file to pass new stricter error checking.
andrewfish [Mon, 6 Dec 2010 17:50:31 +0000 (17:50 +0000)]
Fix dec file to pass new stricter error checking.

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

10 years agoRefine code to make code more safely.
ydong10 [Mon, 6 Dec 2010 09:14:47 +0000 (09:14 +0000)]
Refine code to make code more safely.

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

10 years agoDuetPkg: Update create boot disk script to not modify bootsect.com
jljusten [Mon, 6 Dec 2010 06:06:54 +0000 (06:06 +0000)]
DuetPkg: Update create boot disk script to not modify bootsect.com

Previously the script would modify DuetPkg/BootSector/bin/bootsect.com.
Now a temporary file is used in place of bootsect.com.

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

10 years agoMdePkg: Fix GCC Thunk support for IA32
jljusten [Mon, 6 Dec 2010 06:06:35 +0000 (06:06 +0000)]
MdePkg: Fix GCC Thunk support for IA32

In r11047 Ia32/Thunk.S was modified.  However, the current
implemention of Ia32/Thunk.S has contant values in the code
which must be updated if the code is changed.

This change updates those constants for the r11047 change.

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

10 years agoDuetPkg, OvmfPkg, UnixPkg: Remove unnecessary reset during boot
jljusten [Mon, 6 Dec 2010 06:05:41 +0000 (06:05 +0000)]
DuetPkg, OvmfPkg, UnixPkg: Remove unnecessary reset during boot

PcdResetOnMemoryTypeInformationChange is required to
be set to TRUE for ACPI S4 support.

These platforms do not support ACPI S4.

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

10 years agoDuetPkg, MdeModulePkg: Fix variable services hang with GCC44 X64
jljusten [Mon, 6 Dec 2010 06:04:38 +0000 (06:04 +0000)]
DuetPkg, MdeModulePkg: Fix variable services hang with GCC44 X64

The C ellipses parameters are passed to functions differently
by default with GCC 4.4.  To make sure they are properly sent to
VariableGetBestLanguage, we add 'EFIAPI' to this function.

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

10 years agoSync EDKII BaseTools to BaseTools project r2100.
lgao4 [Mon, 6 Dec 2010 05:17:09 +0000 (05:17 +0000)]
Sync EDKII BaseTools to BaseTools project r2100.

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

10 years agoUpdate PEI/DXE/SMM dispatchers to include DEBUG ((DEBUG_DISPATCH, )) macros to log...
mdkinney [Sat, 4 Dec 2010 20:05:09 +0000 (20:05 +0000)]
Update PEI/DXE/SMM dispatchers to include DEBUG ((DEBUG_DISPATCH, )) macros to log the evaluation of all dependency expressions.

This logging can be enabled by setting the DEBUG_DISPATCH bit(0x80) of the PCD gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel.

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

11 years agoFixed a bug for OPTION_NII(62) defined in RFC 5970.
hhuan13 [Fri, 3 Dec 2010 08:00:22 +0000 (08:00 +0000)]
Fixed a bug for OPTION_NII(62) defined in RFC 5970.

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

11 years agofix for exit was specified in the startup script.
jcarsey [Wed, 1 Dec 2010 20:31:45 +0000 (20:31 +0000)]
fix for exit was specified in the startup script.

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

11 years agoTo align w/ UEFI 2.3 Spec, PXE driver installs PxeBc, LoadFile and SNP Protocol on...
hhuan13 [Wed, 1 Dec 2010 07:04:48 +0000 (07:04 +0000)]
To align w/ UEFI 2.3 Spec, PXE driver installs PxeBc, LoadFile and SNP Protocol on IPV4/V6 child handle separately.

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

11 years agoUpdate comments for PI 1.2 SMM support.
mdkinney [Wed, 1 Dec 2010 06:17:44 +0000 (06:17 +0000)]
Update comments for PI 1.2 SMM support.

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

11 years agoFix the bug that <continue> may not boot the first boot option but return back to...
niruiyu [Wed, 1 Dec 2010 05:57:13 +0000 (05:57 +0000)]
Fix the bug that <continue> may not boot the first boot option but return back to front page.

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

11 years agoRemove unused files to make it easier to add new thunks.
andrewfish [Wed, 1 Dec 2010 02:25:46 +0000 (02:25 +0000)]
Remove unused files to make it easier to add new thunks.

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

11 years agoFix token dup caused by merge.
andrewfish [Wed, 1 Dec 2010 01:15:16 +0000 (01:15 +0000)]
Fix token dup caused by merge.

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

11 years ago2nd wave of r11105 checkin.2nd wave of r11105 checkin.
andrewfish [Wed, 1 Dec 2010 00:41:31 +0000 (00:41 +0000)]
2nd wave of r11105 checkin.2nd wave of r11105 checkin.

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

11 years agoAdding Simple Pointer, GOP, SimpleTextInEx, and Networking protocols to the emulator...
andrewfish [Tue, 30 Nov 2010 23:38:40 +0000 (23:38 +0000)]
Adding Simple Pointer, GOP, SimpleTextInEx, and Networking protocols to the emulator. Cleaned up POSIX include situation by centralizing it in a single file, like NT32. Fixed TPL issue with TPL High not being emulated correctly, it was possible to take a timer tick when the locks in the DXE core should have prevented this. Remove some unused files to make things easier to maintain.

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

11 years agoSync update to improve compiler compatibility
mdkinney [Mon, 29 Nov 2010 21:58:46 +0000 (21:58 +0000)]
Sync update to improve compiler compatibility

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

11 years agoFix ICC 9.1 build break
mdkinney [Mon, 29 Nov 2010 21:52:24 +0000 (21:52 +0000)]
Fix ICC 9.1 build break

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

11 years agoFirst try to get log time at TPL level <= TPL_CALLBACK, then fill time into DataHub.
lgao4 [Mon, 29 Nov 2010 04:41:58 +0000 (04:41 +0000)]
First try to get log time at TPL level <= TPL_CALLBACK, then fill time into DataHub.

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

11 years agoLost a file in last check-in.
rsun3 [Mon, 29 Nov 2010 03:37:13 +0000 (03:37 +0000)]
Lost a file in last check-in.

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

11 years agoAdd a new Timer Library instance SecPeiDxeTimerLibUefiCpu into UefiCpuPkg. This libra...
rsun3 [Mon, 29 Nov 2010 03:30:38 +0000 (03:30 +0000)]
Add a new Timer Library instance SecPeiDxeTimerLibUefiCpu into UefiCpuPkg. This library differs with the SecPeiDxeTimerLibCpu library in the MdePkg in that it uses the local APIC library so that it supports x2APIC mode.

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

11 years ago1. enable /GL optimization building on OpensslLib.
vanjeff [Fri, 26 Nov 2010 07:23:30 +0000 (07:23 +0000)]
1. enable /GL optimization building on OpensslLib.
2. add DDK3790 compiler option for IA32.

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

11 years agoFix the checking logic for the boot option enumeration.
niruiyu [Fri, 26 Nov 2010 06:33:19 +0000 (06:33 +0000)]
Fix the checking logic for the boot option enumeration.
Fix the memory leak issue.

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

11 years agoReduce DataHub TPL Level to TPL_CALLBACK, because DataHub uses GetTime() service...
lgao4 [Fri, 26 Nov 2010 06:32:35 +0000 (06:32 +0000)]
Reduce DataHub TPL Level to TPL_CALLBACK, because DataHub uses GetTime() service that must be called <= TPL_CALLBACK.

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

11 years agoSync all bug fixes between EDK1.04 and EDK1.06 into EdkCompatibilityPkg.
lgao4 [Fri, 26 Nov 2010 01:54:49 +0000 (01:54 +0000)]
Sync all bug fixes between EDK1.04 and EDK1.06 into EdkCompatibilityPkg.

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

11 years agoEHCI Controllers with a CapLen of 0 are ignored.
erictian [Fri, 26 Nov 2010 01:49:27 +0000 (01:49 +0000)]
EHCI Controllers with a CapLen of 0 are ignored.

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

11 years agoFix a bug in GetLangFromSupportedLangCodes()
niruiyu [Thu, 25 Nov 2010 07:16:31 +0000 (07:16 +0000)]
Fix a bug in GetLangFromSupportedLangCodes()

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

11 years agoFix a bug in GetLangFromSupportedLangCodes()
niruiyu [Thu, 25 Nov 2010 07:04:04 +0000 (07:04 +0000)]
Fix a bug in GetLangFromSupportedLangCodes()

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

11 years agoSet PcdResetOnMemoryTypeInformationChange to FALSE in NT32 to avoid close down in...
niruiyu [Thu, 25 Nov 2010 02:00:29 +0000 (02:00 +0000)]
Set PcdResetOnMemoryTypeInformationChange to FALSE in NT32 to avoid close down in the first start up.

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

11 years agofix unaligned device path node access.
jcarsey [Wed, 24 Nov 2010 16:12:11 +0000 (16:12 +0000)]
fix unaligned device path node access.

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

11 years agoFix AutoUpdateLangVariable() logic to handle the case PlatformLang/Lang is set before...
niruiyu [Wed, 24 Nov 2010 03:23:30 +0000 (03:23 +0000)]
Fix AutoUpdateLangVariable() logic to handle the case PlatformLang/Lang is set before PlatformLangCodes/LangCodes.
Pre-allocate pool for runtime phase.

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

11 years agoFix AutoUpdateLangVariable() logic to handle the case PlatformLang/Lang is set before...
niruiyu [Wed, 24 Nov 2010 03:04:20 +0000 (03:04 +0000)]
Fix AutoUpdateLangVariable() logic to handle the case PlatformLang/Lang is set before PlatformLangCodes/LangCodes.
Pre-allocate pool for runtime phase.

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

11 years agoAdds the missing return status description for HiiConfigRouting.ConfigToBlock() API.
lgao4 [Tue, 23 Nov 2010 11:14:39 +0000 (11:14 +0000)]
Adds the missing return status description for HiiConfigRouting.ConfigToBlock() API.

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

11 years ago Fix the bug that HiiConfigToBlock doesn't update BlockSize when Block is not large...
lgao4 [Tue, 23 Nov 2010 11:13:22 +0000 (11:13 +0000)]
 Fix the bug that HiiConfigToBlock doesn't update BlockSize when Block is not large enough

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

11 years ago1. Rollback the changing on replacing MAX_EXTENDED_DATA_SIZE by EFI_STATUS_CODE_DATA_...
vanjeff [Tue, 23 Nov 2010 07:51:00 +0000 (07:51 +0000)]
1. Rollback the changing on replacing MAX_EXTENDED_DATA_SIZE by EFI_STATUS_CODE_DATA_MAX_SIZE,
   use MAX_EXTENDED_DATA_SIZE as before.
2. Use DEBUG error message instead of ASSERT(FASLE) when extended data is too large
3. Expand 1 for buffer array size to avoid potential issue.

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

11 years ago1. Rollback the changing on replacing MAX_EXTENDED_DATA_SIZE by EFI_STATUS_CODE_DATA_...
vanjeff [Tue, 23 Nov 2010 07:50:31 +0000 (07:50 +0000)]
1. Rollback the changing on replacing MAX_EXTENDED_DATA_SIZE by EFI_STATUS_CODE_DATA_MAX_SIZE,
   use MAX_EXTENDED_DATA_SIZE as before.
2. Use DEBUG error message instead of ASSERT(FASLE) when extended data is too large
3. Expand 1 for buffer array size to avoid potential issue.

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

11 years agofix typo in comment.
jcarsey [Mon, 22 Nov 2010 22:49:12 +0000 (22:49 +0000)]
fix typo in comment.

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

11 years agoThe PCI HotPlug Init Protocol returns a list of Root HPC, but it is possible that...
rsun3 [Mon, 22 Nov 2010 07:16:02 +0000 (07:16 +0000)]
The PCI HotPlug Init Protocol returns a list of Root HPC, but it is possible that some HPCs in the list are not found during PCI enumeration. In this case, the PCI HotPlug Init Protocol.InitializeRootHpc() will not be called for the un-found HPCs. However, in AllRootHPCInitialized(), all reported HPCs are checked to see if it has been initialized, so TIME_OUT happens.

This check-in fix the issue by adding a flag to indicate if a HPC is found during PCI enumeration or not. This check-in also adds a debug message if any found HPC failed with initialization.

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

11 years agoUse PcdResetOnMemoryTypeInformationChange in MdeModulePkg to control whether to reset...
niruiyu [Mon, 22 Nov 2010 05:25:03 +0000 (05:25 +0000)]
Use PcdResetOnMemoryTypeInformationChange in MdeModulePkg to control whether to reset system when memory type information changes.
Check memory type information after signaling the ReadyToBoot event.

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

11 years agoAdd a new PCD PcdResetOnMemoryTypeInformationChange in MdeModulePkg to control whethe...
niruiyu [Mon, 22 Nov 2010 05:23:39 +0000 (05:23 +0000)]
Add a new PCD PcdResetOnMemoryTypeInformationChange in MdeModulePkg to control whether to reset system when memory type information changes.

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

11 years agoInclude BaseMemoryLib.h for macro EFI_IP4_EQUAL, EFI_IP6_EQUAL etc.
xdu2 [Mon, 22 Nov 2010 05:21:26 +0000 (05:21 +0000)]
Include BaseMemoryLib.h for macro EFI_IP4_EQUAL, EFI_IP6_EQUAL etc.

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

11 years agoCompare DXE performance token name by DXE performance string length.
lgao4 [Mon, 22 Nov 2010 05:15:11 +0000 (05:15 +0000)]
Compare DXE performance token name by DXE performance string length.

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

11 years agoFix a potential issue in calling Cpu->GetTimerValue (Cpu, 0, &CurrentTick, (UINT64...
tye1 [Thu, 18 Nov 2010 08:09:09 +0000 (08:09 +0000)]
Fix a potential issue in calling Cpu->GetTimerValue (Cpu, 0, &CurrentTick, (UINT64 *) &TimerPeriod);

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

11 years agoFix AutoUpdateLangVariable() logic to handle the case PlatformLang/Lang is set before...
niruiyu [Thu, 18 Nov 2010 01:40:22 +0000 (01:40 +0000)]
Fix AutoUpdateLangVariable() logic to handle the case PlatformLang/Lang is set before PlatformLangCodes/LangCodes.
Pre-allocate pool for runtime phase.

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

11 years agoUpdate the file description in IpSec.h to refer to an accurate UEFI version.
qianouyang [Wed, 17 Nov 2010 05:36:14 +0000 (05:36 +0000)]
Update the file description in IpSec.h to refer to an accurate UEFI version.

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

11 years agoFixed the K9 failure.
qianouyang [Wed, 17 Nov 2010 03:41:37 +0000 (03:41 +0000)]
Fixed the K9 failure.

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

11 years agoRemoved unnecessary GLOBAL_REMOVE_IF_UNREFERENCED.
vanjeff [Wed, 17 Nov 2010 01:25:34 +0000 (01:25 +0000)]

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

11 years agoAdd "Debug1" profile (all but Edit and HexEdit commands)
jcarsey [Tue, 16 Nov 2010 22:36:37 +0000 (22:36 +0000)]
Add "Debug1" profile (all but Edit and HexEdit commands)

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

11 years agoadding "Install1" profile.
jcarsey [Tue, 16 Nov 2010 22:32:21 +0000 (22:32 +0000)]
adding "Install1" profile.

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

11 years agofixes for IPF, CTRL-C support, and file redirection.
jcarsey [Tue, 16 Nov 2010 22:31:47 +0000 (22:31 +0000)]
fixes for IPF, CTRL-C support, and file redirection.

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

11 years agoadding new commands (libraries) to the build.
jcarsey [Tue, 16 Nov 2010 20:55:07 +0000 (20:55 +0000)]
adding new commands (libraries) to the build.

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

11 years agoFix PxeBcDhcp6.c comments since official UEFI 2.3 Errata D spec is published.
hhuan13 [Tue, 16 Nov 2010 07:52:05 +0000 (07:52 +0000)]
Fix PxeBcDhcp6.c comments since official UEFI 2.3 Errata D spec is published.

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

11 years agoOverride MSFT build option in INF files to remove /GL or /Oi.
vanjeff [Tue, 16 Nov 2010 02:06:29 +0000 (02:06 +0000)]
Override MSFT build option in INF files to remove /GL or /Oi.

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

11 years agoFix spelling error in comment
mdkinney [Tue, 16 Nov 2010 00:33:52 +0000 (00:33 +0000)]
Fix spelling error in comment

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

11 years agoSync EDKII BaseTools to BaseTools project r2093.
lgao4 [Mon, 15 Nov 2010 02:51:34 +0000 (02:51 +0000)]
Sync EDKII BaseTools to BaseTools project r2093.

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