summaryrefslogtreecommitdiff
path: root/MdeModulePkg
AgeCommit message (Collapse)Author
2011-01-061. fix AtaPassThru.PassThru() sct failureerictian
2. avoid reenumerate existing device to reduce boot time at AtaBus. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11232 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-06Add DEBUG() macros to all GCD services to monitor all changes to the GCD ↵mdkinney
Memory and GCD I/O maps when DEBUG_GCD is set in PcdDebugPrintErrorLevel. If DEBUG_PROPERTY_DEBUG_CODE_ENABLED is also set in PcdDebugPropertyMask, then the GCD Memory and I/O Maps will be dumped every time there is a GCD change. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11230 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-03Use REPORT_STATUS_CODExxx() macros directly.mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11223 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-311. Invoke InstallConfigurationTable () in OnReadyToBoot() to avoid the new ↵gdong1
registered table may be NULL. 2. For SMM variable driver, it doesn’t need to mark the variable storage region of the FLASH as RUNTIME, so only keep it for non-SMM variable driver. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11212 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-30Prevent a NULL device path from being passed into ↵mdkinney
REPORT_STATUS_CODE_WITH_DEVICE_PATH by building child device path before using any of the Serial I/O Protocol services. This guarantees that child device path is valid even if an error is returned from one of Serial I/O Protocol services in Start(). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11210 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-30Enable number input for numeric, date and time opcodeydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11208 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-29Add mapping for PlatformHookLib to [LibraryClasses] sectionmdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11206 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-28Clean ISA_IO/ISA_IO_16 and VGA_IO/VGA_IO_16 attribute usage in PCI bus ↵rsun3
driver/PCI host bridge drivers/LPC/VGA device drivers. 1. Fix the incorrect definition of EFI_PCI_IO_ATTRIBUTE_VGA_IO_16 (does not conform to the UEFI spec) in PciIo.h. 2. Add missing definitions of ISA and VGA IO attributes in PCI Root Bridge IO protocol. 3. Improve the algorithm in the PCI bus driver to get PCI platform policy from PCI Platform Protocol and PCI Override Protocol. 4. Update the PCI bus driver to use the PCI platform policy to determine the supported attributes that are returned by the EFI_PCI_IO_PROTOCOL.Attributes() function. This is required by the PI spec. 5. Add a backward compatibility workaround for PCI VGA drivers in Option ROM, which typically sets VGA_IO without checking supported attributes. 6. Update the PCI host bridge driver in PcAtChipsetPkg to report VGA_IO_16 and ISA_IO_16 instead of VGA_IO/ISA_IO attributes. Modern chipsets don’t have hardware capability to control 10-bit or 16-bit decoding for ISA/VGA aliases. 7. Update LPC/VGA device drivers to check supported attributes of VGA_IO/VGA_IO_16 or ISA_IO/ISA_IO_16. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11204 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-27Add missing @param to function header comment.mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11203 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-24Remove ASSERT here for the zero attributes means deleting preexisting variable.gdong1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11199 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-241. update MatchUsbWwid() to check Vendor Id, Product Id and Interface Number. xdu2
2. update SerialNumber comparing logic to handle possible NULL-terminator in WWID device path 3. fix bug in UsbIo->UsbIoGetSupportedLanguages(): TableSize is size in bytes of LangIDTable instead of number of LangID. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11197 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-231. Support inconsistent if opcode used in string/password opcode.ydong10
2. Add sample code of using inconsistent if opcode in string opcode. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11196 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-231. support numeric item +/- action generate callbackydong10
2. when user change numeric opcode, call to refresh form. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11195 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-23Remove PcdSmmVariableEnable from MdeModulePkg since it is not used in core ↵gdong1
package currently. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11193 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-22Fix a potential bug that SetVariable is invoked for NV variable prior to the ↵gdong1
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
2010-12-20Fix ICC build issuesmdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11185 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-18Add generic SerialPortLib instance for 16550 UARTs configured through PCDs. ↵mdkinney
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
2010-12-17Remove UefiDriverEntryPoint from [LibraryClasses] section. Library ↵mdkinney
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
2010-12-16Minor code update to make TcpIo unchanged when return EFI_DEVICE_ERROR.tye1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11175 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-15Fix ARM link issue.andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11173 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-15Update inappropriate comments.gdong1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11170 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-14Add special treatment for EFI_PCI_IO_ATTRIBUTE_EMBEDDED_DEVICE and ↵rsun3
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
2010-12-14Add a TcpIo library to facilitate usage of TCP service.tye1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11162 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-14Update the PCI bus driver to correctly set the ↵rsun3
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
2010-12-12Remove the unnecessary package from VariableSmmRuntimeDxe.inf.gdong1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11157 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-11Add typecast to remove warning with ICC.gdong1
VariableSmm.inf: Remove SmmLib git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11156 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-10MdeModulePkg VariableRuntimeDxe: Fix build for GCC44 toolchainjljusten
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
2010-12-10Add SMM Variable implementation.gdong1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11151 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-09EFI_INVALID_PARAMETER should return when the input Block is NULL for ↵lgao4
ConfigRouting.ConfigToBlock(). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11145 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-09Add missing Handle parameter for UninstallMultipleProtocolInterfaces().xdu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11144 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-09when SMM Communication Protocol.Communicate() is called from within SMM, ↵rsun3
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
2010-12-09update the comments.ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11140 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-09Co-work with patch V11137 to refine the Hii menu.ydong10
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
2010-12-061) Change location of DEBUG() macro that prints the name of the FFS file ↵mdkinney
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
2010-12-06DuetPkg, MdeModulePkg: Fix variable services hang with GCC44 X64jljusten
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
2010-12-04Update PEI/DXE/SMM dispatchers to include DEBUG ((DEBUG_DISPATCH, )) macros ↵mdkinney
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
2010-11-26EHCI Controllers with a CapLen of 0 are ignored.erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11093 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-25Fix a bug in GetLangFromSupportedLangCodes()niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11091 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-24Fix AutoUpdateLangVariable() logic to handle the case PlatformLang/Lang is ↵niruiyu
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
2010-11-23 Fix the bug that HiiConfigToBlock doesn't update BlockSize when Block is ↵lgao4
not large enough git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11085 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-231. Rollback the changing on replacing MAX_EXTENDED_DATA_SIZE by ↵vanjeff
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
2010-11-22The PCI HotPlug Init Protocol returns a list of Root HPC, but it is possible ↵rsun3
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
2010-11-22Add a new PCD PcdResetOnMemoryTypeInformationChange in MdeModulePkg to ↵niruiyu
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
2010-11-22Include BaseMemoryLib.h for macro EFI_IP4_EQUAL, EFI_IP6_EQUAL etc.xdu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11078 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-22Compare DXE performance token name by DXE performance string length. lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11077 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-18Fix AutoUpdateLangVariable() logic to handle the case PlatformLang/Lang is ↵niruiyu
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
2010-11-16Fix spelling error in commentmdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11058 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-12Fix bug: The lower 2 bits of Width and stripped, Count will always be ↵vanjeff
multiplied by 1, which will leave Count unchanged. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11043 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-11Print Arrow for Goto button.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11042 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-10Replaced MAX_EXTENDED_DATA_SIZE by EFI_STATUS_CODE_DATA_MAX_SIZE.vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11023 6f19259b-4bc3-4df7-8a09-765794883524