summaryrefslogtreecommitdiff
path: root/MdeModulePkg
AgeCommit message (Collapse)Author
2010-04-091.Fixed the bug when retrieved component name by child handle. It should ↵vanjeff
used gEfiConsoleInDeviceGuid, gEfiConsoleOutDeviceGuid instead of gEfiSimpleTextInProtocolGuid and gEfiSimpleTextOutProtocolGuid. 2.Fixed one bug when creating Console Standard error handle. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10350 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-07Fix the issue that GCC treat enum type as unsigned int which incompatible ↵klu2
with UEFI spec's INT32. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10347 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-06Update the modules with the different module GUID to avoid the different ↵lgao4
modules with the same module GUID. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10341 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-05MdeModulePkg: Fix warning with VS2005 toolchain on IA32jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10338 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-03Avoid DEBUG_CLEAR_MEMORY clearing MemoryMap internal structure.jgong5
In CoreFreePages(), the following sequence might break the MemoryMap internal structure: CoreConvertPages() -> CoreFreeMemoryMapStack() -> AllocateMemoryMapEntry() -> CoreAllocatePoolPages() -> DEBUG_CLEAR_MEMORY() CoreConvertPages() will call CoreFreeMemoryMapStack() after it adds the freed memory range, so the latter might use the just freed memory range when calling AllocateMemoryMapEntry(). But CoreFreePages() will call DEBUG_CLEAR_MEMORY() after CoreConvertPages(). This might clear up the memory map entry structure. The fix calls DEBUG_CLEAR_MEMORY() just after freed memory range is added in CoreConvertPages(), which is safe. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10335 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-01Enhance SNP to be compatible with UNDI driver which doesn’t report correct ↵xdu2
network cable status in Initialize(), i.e. force MediaPresent in Snp Mode to be TRUE in case UNDI driver report no media but actually we have already received packet from network interface. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10327 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-28fixed IP fragment issue which caused the MTU used by IP is less than the one ↵qianouyang
IP exposed to upper layers. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10320 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-27remove PxeBc->Stop () when EFI_BUFFER_TOO_SMALL, the calling PxeBc->Stop() ↵vanjeff
in Driver Binding Stop() could make sure PXE functionality is stopped when disconnecting UefiPxeBcDxe module. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10318 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-25Not maintained.hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10314 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-21Change BufferSize from UINTN * to UINTN to eliminate pointer to pointer in ↵jyao1
SmmCore for security consideration. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10299 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-21Fix sync issue to make EbcLLCALLEX() function check the same value to ones ↵lgao4
that are used in EbcCreateThunks() to decide whether the input function is a thunk to EBC. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10297 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-20Fix compile break on IA32 arch.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10292 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-19Fix an bug for PXE boot asserthhuan13
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10291 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-19git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10288 ↵rsun3
6f19259b-4bc3-4df7-8a09-765794883524
2010-03-19Fix a bug that usb keybarod can not work well when it is inserted at a usb ↵erictian
2.0 hub. It's due to AsyncInterruptList does not update the corresponding QTDHw->Data with pci bus master address. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10286 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-19Hold Memory Lock until DEBUG_CLEAR_MEMORY called in CoreFreePages(). jgong5
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10284 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-18changing UDP default timeout value to 2s to improve PXE BC boot performance.vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10282 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-18variable driver doesn't support EFI_AUTHENTICATED_WRITE_ACCESS. we use:erictian
1. EFI_INVALID_PARAMETER as a return value of SetVariable() to indicate it does not support this feature. 2. EFI_NOT_FOUND will be a return value of QueryVariableInfo() to indicate it does not support this feature. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10281 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-18Fixed a minor bug in PlatformDriOverrideDxe which will assert when user ↵jchen20
trigger "Clear all mapping record" twice. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10277 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-181, For Pcd_PPI, UnregistedCallBack should return EFI_INVALID_PARAMETER if ↵klu2
Callback function can not be found. 2, PCD_PPI/PROTOCOL should return EFI_INVALID_PARAMETER if size is unmatched git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10276 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-18Bug Fix: IPv4 Fragment is not correct when VLAN is enable.qianouyang
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10275 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-18Roll back previous change.rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10274 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-17Former change breaks build; changed back to commented lines 58 & 59, but as ↵myronporter
regular comments (not Doxygen comments). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10270 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-17Grammatical and disclaimer changes (does not follow internal C coding stds.)myronporter
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10269 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-17fix ia32 build error.erictian
With IA32 tool chain, we can not use a 64bit data to divide a 32 bit data. MS tool chain may introduce an intrinsic function. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10267 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-17The ATA alignment_logic_in_phy_blocks field doesn’t directly report the ↵erictian
lowest aligned LBA. Instead, there’s some modulo arithmetic involved. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10265 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-16Add check of MediaPresentSupported field in SNP mode data to support UNDI ↵xdu2
without cable detect capability. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10256 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-16Add sample use case for IFR security op-code.rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10255 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-16Fix a bug in SetupBrowserDxe driver when check current user's access setup ↵rsun3
permission. EFI_USER_INFO_ACCESS_CONTROL.Size may be equal to sizeof (EFI_USER_INFO_ACCESS_CONTROL) because of no extra data. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10254 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-131. update the definitions in debug agent library, rename ↵vanjeff
DEBUG_AGENT_INIT_DXE to DEBUG_AGENT_INIT_DXE_CORE and add DEBUG_AGENT_INIT_S3. 2. disable debug timer interrupt in ExitBootServices(). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10239 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-12Fixed a bug in LMFA code jchen20
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10233 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-11roll back IDT_ENTRY counter to 32vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10229 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-10Minor comment fix.rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10226 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-10The patch attached is to fix the issue that LMFA feature is failed on OVMF. ↵jchen20
The root cause is that OVMF platform reserved 128k top memory range for EMU variable range before PEI memory range re-locate to specified memory range, which is quite different from real platform. The original implementation has an assumption that AllocatePage will NOT be invoked until PEI memory range is re-located to preassigned memory range, , which is TRUE in most real platform, but FALSE on OVMF platform. So This patch is to enhanced the memory resource HOB re-organization algorithm to eliminate the assumption. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10225 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-09MdeModule Package version updated from 0.90 to 0.91.rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10216 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-09Minor update comment to remove unprintable character in source file.qhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10214 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-09Fix the SMRAM caching range base and size. The original code uses the ↵jgong5
biggest SMRAM range base and size to set the cache attribute by gDS->SetMemorySpaceAttributes(). This is not correct because the platform code might split the TSEG into several ranges. The fix searches and joins all the adjacent ranges to the biggest SMRAM range into a cacheable range so that TSEG can be cached as a whole. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10213 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-05Add a blank line in the end of file.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10210 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-05Add some robustness check in DriverSample driver.rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10209 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-05Minor update to some protocol interface function prototype for Doxygen documentrsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10207 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-05fix build errorerictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10206 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-05roll back the parameter check of AsyncInterruptTransfer() and ↵erictian
SyncInterruptTransfer() of Usb2HcProtocol to follow current uefi spec. current uefi spec only supports interrupt in endpoint. but there are usb devices which support interrupt out endpoint. we propose to update uefi spec to remove the limitation. after the ecr is approved, the corresponding patch will be submitted. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10205 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-05Move SmmCoreSmmServicesTableLib from MdePkg to MdeModulePkg.jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10204 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04Add an EHCI register dump function for debug. Not hooked in any place...andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10195 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04Fix wrong BufferSize for Configuration data.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10192 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04Update the title Network Configuration to IPv4 Network Configuration since ↵tye1
IPv6 UI is enabled. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10191 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04Change back the TPL of PCD from TPL_CALLBACK to TPL_NOTIFY because the ↵niruiyu
following issue is found: When we manually connect a device path mapping to the serial terminal with non-default band rate, the SerialIo driver would Reinstall its device path protocol eventually causing ConSplitter::DriverBindingStart() to run and finally would call PcdGet32 (PcdConOutColumn) in ConsplitterSetConsoleOutMode(). Since SerialIo driver raises TPL to TPL_NOTIFY initially, the call to PcdGet32 would cause TPL assertion if TPL of PCD is TPL_CALLBACK. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10188 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04uniform the sw and hw expression to avoid confusing. it does not effect hw ↵erictian
function. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10186 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04Use the input Request string as check string.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10184 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10182 ↵gdong1
6f19259b-4bc3-4df7-8a09-765794883524