summaryrefslogtreecommitdiff
path: root/MdeModulePkg
AgeCommit message (Collapse)AuthorFilesLines
2011-09-17Fix Build fail for NT32 platform.ydong101-1/+1
Sigened-off-by: ydong10 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12371 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-16Correct comments for NULL return value of HiiLib HiiAddPackages().lgao42-4/+4
Signed-off-by: lgao4 Reviewed-by: ydong10 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12366 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-16Add exit action when Config_Access_Protocol.CallBack function returns Submit ↵ydong104-3/+5
or Reset which is follow UEFI spec 2.3.1. Also update the impact drivers to keep the old behaviors. Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12365 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-16Refine the logic about getting Value info to avoid check data error.ydong101-1/+7
Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12360 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-15Enhance the PEI Core to convert pointers pointing to PPI descriptors on the ↵rsun34-48/+53
temporary stack. Signed-off by: rsun3 Reviewed-by: li-elvin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12354 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-141) remove wrong global variable usage because it will bring data corrupt if ↵erictian11-1047/+1315
there are multiple XHCI host controllers. 2) coding style clean up. Signed-off-by: erictian Reviewed-by: ydong10 Reviewed-by: jshi19 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12351 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-14Fix build error.jyao11-0/+2
sign of by: jyao1 reviewed by: li-elvin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12347 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-14Add [LibraryClasses] definition for MdeModulePkg\Include\Library\LockBoxLib.h.jyao11-0/+4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12343 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-13MdeModulePkg/HiiDatabaseDxe: Removed unused variablesoliviermartin1-4/+0
'VarDefaultName' and 'ResultSize' were set but not used. Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12341 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-13MdeModulePkg/UsbBusDxe: Removed unused variableoliviermartin1-2/+0
'SnString' is set but not used. Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12340 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-13Add comments for gEfiFormBrowserExProtocolGuid.lgao41-4/+2
Signed-off-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12338 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-13Enhance EDKII Browser to support flexible HotKey setting. lgao411-266/+1389
Signed-off-by: lgao4 Reviewed-by: ydong10 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12336 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-13Add NULl check for pointer.li-elvin2-0/+3
Signed-off-by: li-elvin Reviewed-by: lgao4, lzeng14 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12333 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-13Use CPU_HOB to detect max address support from platform, and added 1G page ↵jyao14-75/+223
table support. Sign-off-by: jyao1 Reviewed-by: li-elvin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12332 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-091. Fix bug in PXE driver UdpRead function to handle the IP fragmentation.sfu51-15/+46
Signed-off-by: sfu5 Reviewed-by: xdu2 Reviewed-by: hhuan13 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12309 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-07Media detection logic is enhanced to be more robust.erictian1-70/+86
Signed-off-by: erictian Reviewed-by: hhuan13 Reviewed-by: mdkinney git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12289 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-05Update capsule pei module to pass IPF build.li-elvin5-69/+78
Signed-off-by: li-elvin Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12280 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-05Support new format of IPv4 device path node, FibreEx and PcieRoot device ↵niruiyu3-164/+264
path node in DevicepathDxe driver. Meanwhile, unnecessary (UINTN) typecast is removed and a buffer truncating bug is fixed. The buffer truncating bug may cause DevicePathToText generates wrong text representation if a input device path is too long. Signed-off-by: niruiyu Reviewed-by: tye Reviewed-by: jjin9 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12276 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-02MdeModulePkg: Remove UefiBootServicesTableLib dependency from ↵jcarsey2-16/+5
DxePrintLibPrint2Protocol. The use of the BootServicesTableLib inside the DxePrintLibPrint2Protocol allows for potential circular library dependency. Signed-off-by: jcarsey Reviewed-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12273 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-02Resolve conflicted PCD TokenValuehhtian1-1/+1
Signed-off-by: hhtian git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12268 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-02Add capsule > 4GB support. When capsule data is put above 4GB, IA32 PEI ↵li-elvin13-848/+2215
transfers to long mode to get capsule data. Signed-off-by: li-elvin Reviewed-by: lgao4, mdkinney git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12264 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-01Fix bug for UefiPxeBcDxe driver to catch the return status.sfu51-0/+5
Signed-off-by: sfu5 Reviewed-by: hhuan13 Reviewed-by: xdu2 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12252 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-01Update HiiBlockToConfig function to follow spec.ydong101-4/+11
Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12249 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-01Remove, correct and refine some debug messages.lzeng143-26/+8
Signed-off-by: lzeng14 Reviewed-by: erictian Reviewed-by: qianouyang Reviewed-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12248 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-31Rollback SMRAM Lock locationmdkinney1-11/+1
Signed-off-by: mdkinney Reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12243 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-30Add new op-code samples, includes efi varstore, refresh guid group and ref ↵ydong105-62/+182
op-code. Signed-off-by:ydong10 Reviewed-by:lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12232 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-30Enable the follow feature for string op-code:ydong103-15/+76
1. Show old string before enter new. 2. Enable cursor moves left or right and insert new char or remove the char before the cursor. Signed-off-by:ydong10 Reviewed-by:lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12231 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-29MdeModulePkg: Add ACPI S3 Save State driversjljusten7-0/+2237
Signed-off-by: jljusten Reviewed-by: mdkinney Reviewed-by: rsun3 Reviewed-by: jyao1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12228 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-29MdeModulePkg: Add PostBootScriptTable PPIjljusten2-0/+30
Signed-off-by: jljusten Reviewed-by: mdkinney Reviewed-by: rsun3 Reviewed-by: jyao1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12226 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-29MdeModulePkg: Add BootScriptExecutorDxe driverjljusten12-0/+1137
Signed-off-by: jljusten Reviewed-by: mdkinney Reviewed-by: rsun3 Reviewed-by: jyao1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12225 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-29MdeModulePkg: Add PiDxeS3BootScriptLibjljusten6-0/+3964
Signed-off-by: jljusten Reviewed-by: mdkinney Reviewed-by: rsun3 Reviewed-by: jyao1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12224 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-29MdeModulePkg, IntelFramworkModulePkg: Add S3 PCDsjljusten1-0/+13
Signed-off-by: jljusten Reviewed-by: mdkinney Reviewed-by: rsun3 Reviewed-by: jyao1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12223 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-29Fix issue with SMBIOS driver assumming memory exists below 4GB. andrewfish1-10/+27
approved-by: andrewfish reviewed-by: li-elvin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12220 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-26Fixed memory leak and buffer overrun for string op-code.ydong101-1/+5
Signed-off-by:ydong10 Reviewed-by:lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12213 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-25MdeModulePkg: Define PPI to convey performance information from SEC phase to ↵xdu22-0/+70
PEI. Signed-off-by: xdu2 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12212 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-25MdeModulePkg: Add OEM specific Report Status Code definition for OS Loader ↵xdu21-0/+16
Load, OS Loader Start, S3 Suspend Start and S3 Suspend End. Signed-off-by: xdu2 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12210 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-25Fixed build error reported by ICC and GCCerictian4-23/+19
Signed-off-by: erictian Reviewed-by: li-elvin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12209 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-25RestoreLockBox in DXE with Length NULL, Buffer NULL will fail to get data ↵li-elvin1-6/+14
from Lockbox. Fix this issue. Signed-off-by: li-elvin Reviewed-by: jyao1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12208 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-25Add UEFI_APPLICATION module type support for the capsule lib.niruiyu1-2/+2
Signed-off-by: niruiyu Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12205 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-25Error handling refinement at UsbIoResetPort() to avoid device state machine ↵erictian1-12/+10
getting corrupted when the device disconnect happens Signed-off-by: erictian Reviewed-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12204 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-24Update to NOT to use EFI_BROWSER_ACTION_FORM_OPEN in Callback function thus ↵tye14-17/+23
able to function properly in UEFI2.1 platform. Signed-off-by: tye Reviewed-by: lgao4 Reviewed-by: xdu2 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12197 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-24Remove CONST modifier to be spec complianceerictian7-37/+37
Signed-off-by: erictian Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12194 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-241. Refine the error handling for PXE-v4 driver.hhuan132-4/+6
Signed-off-by: hhuan13 Reviewed-by: xdu2, tye git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12191 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-24Update SMM Core to use SMM Mode as soon as SMM Mode is availablemdkinney3-47/+179
Signed-off-by: mdkinney Reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12190 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-24Refine code to follow coding style.ydong101-1/+1
Signed-off-by: ydong10 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12189 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-23Enabling usb3.0 XHCI support.erictian16-84/+8042
Signed-off-by: erictian Reviewed-by: jshi19 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12185 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-18Updated GCD implementation to consume the correct EFI Resources ↵vanjeff1-3/+28
Attributes(Capabilities) instead of the wrong EFI Resources Attributes(Settings). ASSERT() if memory resource HOB includes protect memory setting but not included the corresponding protect memory capabilities Signed-off-by: vanjeff Reviewed-by: rsun3 Reviewed-by: mdkinney git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12158 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-17Remove the blank line. lgao41-2/+1
Signed-off-by: lgao4 Reviewed-by: lzeng14 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12150 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-161. Add two performance measurement points for SMM performance measurement;rsun38-5/+166
2. Introduce SmmCorePlatformHookLib library class defining two platform hook points. Update PI Smm Core to call the hook points before and after invoking registered SMI handlers. A NULL instance of this library class is implemented. Note that after this check in, DSC files consuming the PiSmmCore.inf need to be updated to add a library instance for SmmCorePlatformHookLib library class. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12140 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-10MdeModulePkg: Don't build SmmLockBoxPeiLib for IPFjljusten1-1/+1
Move SmmLockBoxPeiLib to IA32/X64 components section. It does not currently support the IPF architecture. Signed-off-by: jljusten Reviewed-by: jcarsey Reviewed-by: geekboy15a git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12115 6f19259b-4bc3-4df7-8a09-765794883524