10 years agoFix boot script thunk issue that we need dispatch in PEI mode for Framework dispatch...
jyao1 [Thu, 23 Dec 2010 02:20:13 +0000 (02:20 +0000)]
Fix boot script thunk issue that we need dispatch in PEI mode for Framework dispatch function, not in DXE mode.

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

10 years agoRemove PcdSmmVariableEnable from MdeModulePkg since it is not used in core package...
gdong1 [Thu, 23 Dec 2010 02:03:51 +0000 (02:03 +0000)]
Remove PcdSmmVariableEnable from MdeModulePkg since it is not used in core package currently.

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

10 years agoRevert patch 11146 about file guid.
ydong10 [Thu, 23 Dec 2010 01:03:34 +0000 (01:03 +0000)]
Revert patch 11146 about file guid.

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

10 years agoUpdate inappropriate comments.
ydong10 [Wed, 22 Dec 2010 08:32:56 +0000 (08:32 +0000)]
Update inappropriate comments.
fine code to make code run more safely.

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

10 years agoFix a potential bug that SetVariable is invoked for NV variable prior to the installa...
gdong1 [Wed, 22 Dec 2010 07:33:13 +0000 (07:33 +0000)]
Fix a potential bug that SetVariable is invoked for NV variable prior to the installation of EFI_VARIABLE_WRITE_ARCH_PROTOCOL.

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

10 years agoFix boot script thunk issue that we need dispatch in PEI mode for Framework dispatch...
jyao1 [Wed, 22 Dec 2010 04:26:08 +0000 (04:26 +0000)]
Fix boot script thunk issue that we need dispatch in PEI mode for Framework dispatch function, not in DXE mode.

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

10 years agoDocument the inconsistency of EFI_SMM_CPU_SAVE_STATE between the EDK2 code base and...
rsun3 [Wed, 22 Dec 2010 03:15:24 +0000 (03:15 +0000)]
Document the inconsistency of EFI_SMM_CPU_SAVE_STATE between the EDK2 code base and the Framework SMM CIS 0.91 spec.

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

10 years agoUpdate definition of EFI_SMM_CPU_SAVE_STATE to exclude Itanium save state. Note this...
rsun3 [Wed, 22 Dec 2010 02:34:45 +0000 (02:34 +0000)]
Update definition of EFI_SMM_CPU_SAVE_STATE to exclude Itanium save state. Note this is an inconsistency with the Framework SMM CIS spec.

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

10 years agoChange the modifiers of the RegisterContext parameter of EFI SMM SW Dispatch2 Protoco...
rsun3 [Tue, 21 Dec 2010 06:34:32 +0000 (06:34 +0000)]
Change the modifiers of the RegisterContext parameter of EFI SMM SW Dispatch2 Protocol.Register() from IN, CONST to IN, OUT. This is for support for the case where SwSmiInputValue is set to -1, a unique value will be returned in the RegisterContext structure.

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

10 years agoFix ICC build issues
mdkinney [Mon, 20 Dec 2010 01:32:07 +0000 (01:32 +0000)]
Fix ICC build issues

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

10 years agoAdd generic SerialPortLib instance for 16550 UARTs configured through PCDs. Depends...
mdkinney [Sat, 18 Dec 2010 01:02:59 +0000 (01:02 +0000)]
Add generic SerialPortLib instance for 16550 UARTs configured through PCDs.  Depends on new library class called PlatformHookLib to perform platform specific initialization of the UART.
Add PlatformHookLib.h that defines the PlatformHookLib class
Add PlatformHookLibNull instance that is a Null implementation of the PlatformHookLib class

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

10 years agoAdd CONSTRUCTOR to BaseDebugLibSerialPort to call SerialPortInitialize() in the Seria...
mdkinney [Sat, 18 Dec 2010 00:24:34 +0000 (00:24 +0000)]
Add CONSTRUCTOR to BaseDebugLibSerialPort to call SerialPortInitialize() in the SerialPortLib to make sure the serial port hardware is in the proper state for use.

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

10 years agoRemove CONSTRUCTOR from DxePcdLib aligning the DxePcdLib design with the PeiPcdLib...
mdkinney [Sat, 18 Dec 2010 00:22:08 +0000 (00:22 +0000)]
Remove CONSTRUCTOR from DxePcdLib aligning the DxePcdLib design with the PeiPcdLib and reduces the number of CONSTRUCTORs that have to be run for most DXE modules.

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

10 years agoAdd an empty CONSTRUCTOR to the UefiLib to resolve library dependency issues.
mdkinney [Sat, 18 Dec 2010 00:10:30 +0000 (00:10 +0000)]
Add an empty CONSTRUCTOR to the UefiLib to resolve library dependency issues.

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

10 years agoFix DxeHobLib to also support a module type of SMM_CORE.
mdkinney [Fri, 17 Dec 2010 23:04:57 +0000 (23:04 +0000)]
Fix DxeHobLib to also support a module type of SMM_CORE.

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

10 years agoRemove UefiDriverEntryPoint from [LibraryClasses] section. Library implementations...
mdkinney [Fri, 17 Dec 2010 22:47:06 +0000 (22:47 +0000)]
Remove UefiDriverEntryPoint from [LibraryClasses] section.  Library implementations should never link against an entry point lib.  Only modules implementation should link against an entry point lib.

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

10 years agoRemoves the assumption in Supported() and Start() routine that the EFI_SIO_PROTOCOL...
niruiyu [Fri, 17 Dec 2010 05:55:47 +0000 (05:55 +0000)]
Removes the assumption in Supported() and Start() routine that the EFI_SIO_PROTOCOL is installed in the immediate child handle of the PCI controller. Multiple SIO platform could have an additional layer between the PCI controller and the EFI_SIO_PROTOCOL instance.

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

10 years agoFix a bug that the size of a gate descriptor in the IDT is 8 bytes. The size is 8...
rsun3 [Fri, 17 Dec 2010 02:38:26 +0000 (02:38 +0000)]
Fix a bug that the size of a gate descriptor in the IDT is 8 bytes. The size is 8 bytes in 32-bit mode, while it is 16 bytes in 64-bit mode. Replace the hard-coded size with a sizeof.

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

10 years agoAdd support for ARM MOVW/MOVT instructions that were added in the latest PE/COFF...
andrewfish [Thu, 16 Dec 2010 21:44:49 +0000 (21:44 +0000)]
Add support for ARM MOVW/MOVT instructions that were added in the latest PE/COFF specification. Currently they are not hooked in as we need to wait for the tools to get updated. Tools are needed to convert ELF to PE/COFF and to refixup FVs.

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

10 years agoMinor code update to make TcpIo unchanged when return EFI_DEVICE_ERROR.
tye1 [Thu, 16 Dec 2010 09:26:28 +0000 (09:26 +0000)]
Minor code update to make TcpIo unchanged when return EFI_DEVICE_ERROR.

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

10 years agoRemove wrongly added SuperIoInit protocol.
niruiyu [Thu, 16 Dec 2010 08:28:51 +0000 (08:28 +0000)]
Remove wrongly added SuperIoInit protocol.

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

10 years agoFix ARM link issue.
andrewfish [Wed, 15 Dec 2010 21:06:24 +0000 (21:06 +0000)]
Fix ARM link issue.

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

10 years agoUpdate inappropriate comments.
ydong10 [Wed, 15 Dec 2010 07:39:28 +0000 (07:39 +0000)]
Update inappropriate comments.

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

10 years agoFix semihosting on gcc. We need to save lr as svc instruction will change it.
andrewfish [Wed, 15 Dec 2010 02:39:00 +0000 (02:39 +0000)]
Fix semihosting on gcc. We need to save lr as svc instruction will change it.

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

10 years agoUpdate inappropriate comments.
gdong1 [Wed, 15 Dec 2010 01:51:46 +0000 (01:51 +0000)]
Update inappropriate comments.

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

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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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