summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg
Commit message (Collapse)AuthorAgeFilesLines
* 1. Add two performance measurement points for SMM performance measurement;rsun32011-08-168-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
* MdeModulePkg: Don't build SmmLockBoxPeiLib for IPFjljusten2011-08-101-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
* Fix the bug in AcpiTableDxe drivers that doesn't work when more than 20 Acpi ↵lgao42011-08-091-44/+49
| | | | | | | | | | | tables are installed. Signed-off-by: lgao4 Signed-off-by: jljusten Reviewed-by: jyao1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12112 6f19259b-4bc3-4df7-8a09-765794883524
* Fix X64 VS2005 and VS2008 compile error.lgao42011-08-091-1/+1
| | | | | | Signed-off-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12111 6f19259b-4bc3-4df7-8a09-765794883524
* clarify the logic of the print length counting functions in both PrintLib ↵jcarsey2011-08-081-40/+8
| | | | | | | | | library instances. signed-off-by: jcarsey reviewed-by: geekboy15a git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12102 6f19259b-4bc3-4df7-8a09-765794883524
* add IPv4 address copy macro.jcarsey2011-08-081-0/+1
| | | | | | | signed-off-by: jcarsey Reviewed-by: geekboy15a git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12098 6f19259b-4bc3-4df7-8a09-765794883524
* MdeModulePkg/Dxe: Move assertions inside CoreInsertGcdMapEntry()oliviermartin2011-08-081-2/+4
| | | | | | | | | | | | | | CoreInsertGcdMapEntry() does not assume the new region could overlap two existing GCDs. In this case, we need to call this function twice and the TopEntry or BottomEntry could have been updated by the previous call. Reviewed by: rsun3 Reviewed by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12097 6f19259b-4bc3-4df7-8a09-765794883524
* Add non null assertion before using the bridge instance.niruiyu2011-08-081-0/+6
| | | | | | Signed-off-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12095 6f19259b-4bc3-4df7-8a09-765794883524
* Print resource allocation/bar programming when PciBus driver does PCI BUS ↵niruiyu2011-08-046-288/+324
| | | | | | | | | enumeration. Signed-off-by: niruiyu Reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12087 6f19259b-4bc3-4df7-8a09-765794883524
* Add 2 functions to UefiLib library class: CatSPrint and CatVSPrint.jcarsey2011-08-021-2/+884
| | | | | | | | | | | | | Implement these functions in the UefiLib instance. Add 2 functions to PrintLib library class: SPrintLengthAsciiFormat and SPrintLength. Implement these functions in the BasePrintLib instance and the DxePrintLib2Protocol instance. Signed-off-by: jcarsey Reviewed-by: jljusten Reviewed-by: geekboy15a git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12081 6f19259b-4bc3-4df7-8a09-765794883524
* MdeModulePkg: Add SmmLockBox PEI implementationjljusten2011-08-023-0/+799
| | | | | | | Signed-off-by: jljusten Reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12077 6f19259b-4bc3-4df7-8a09-765794883524
* Fixed the issue in RuntimeStatusCode library that may not work on the early ↵lgao42011-08-022-5/+46
| | | | | | dispatched Runtime driver. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12073 6f19259b-4bc3-4df7-8a09-765794883524
* Fix 32-bit bios build error.li-elvin2011-08-021-1/+1
| | | | | | | | Signed-off-by: li-elvin Reviewed-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12071 6f19259b-4bc3-4df7-8a09-765794883524
* When status code handler unregister itself, status code dispatch in status ↵li-elvin2011-08-013-13/+43
| | | | | | | | | | code router driver will have problem to get next handler. Fixed the issue in status code router. Signed-off-by: li-elvin Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12068 6f19259b-4bc3-4df7-8a09-765794883524
* Create smbios table when user adds/removes/Updatestring for a SMBIOS entry. ↵li-elvin2011-08-012-113/+191
| | | | | | | | | | It is for UEFI driver to access SMBIOS table in configuration table before boot. Signed-off-by: li-elvin Reviewed-by: lzeng14 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12067 6f19259b-4bc3-4df7-8a09-765794883524
* Fixes two issues in HiiFontProtocol->StringToImage() implementation on how ↵lgao42011-08-011-7/+29
| | | | | | | | to show string with wrap flag. Signed-off-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12064 6f19259b-4bc3-4df7-8a09-765794883524
* Clean and split AcpiVariable.h in IntelFrameworkModulePkg into 2 new .h ↵rsun32011-08-012-0/+74
| | | | | | | | | | | | files for better modularity: IntelFrameworkModulePkg\Include\Guid\AcpiVariableCompatibility.h, MdeModulePkg\Include\Guid\AcpiS3Context.h. Signed-off-by: rsun3 Reviewed-by: jljusten Reviewed-by: jyao1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12063 6f19259b-4bc3-4df7-8a09-765794883524
* MdeModulePkg: Fix build error for UNIXGCC with IPFjljusten2011-07-281-2/+2
| | | | | | | | | | #pragma pack with push/pop is not supported with all GCC types. Signed-off-by: jljusten Reviewed-by: geekboy15a git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12056 6f19259b-4bc3-4df7-8a09-765794883524
* Adjust the day field when update the month and year field.ydong102011-07-281-0/+74
| | | | | | | Signed-off-by:ydong10 Reviewed-by:lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12054 6f19259b-4bc3-4df7-8a09-765794883524
* For libraries that have multiple module types support, just define a [Depex] ↵lzeng142011-07-273-6/+6
| | | | | | | | | section for specified module types that are permitted to have a [Depex] section. Signed-off-by: lzeng14 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12052 6f19259b-4bc3-4df7-8a09-765794883524
* MdeModulePkg: Add Recovery PCD feature flagsjljusten2011-07-221-0/+12
| | | | | | | | Signed-off-by: jljusten Reviewed-by: mdkinney Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12049 6f19259b-4bc3-4df7-8a09-765794883524
* MdeModulePkg: Add SmmControl PPI definitionjljusten2011-07-192-0/+99
| | | | | | | | | | Signed-off-by: jljusten Reviewed-by: mdkinney Reviewed-by: geekboy15a Reviewed-by: jyao1 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12033 6f19259b-4bc3-4df7-8a09-765794883524
* MdeModulePkg: Add SMM LockBoxjljusten2011-07-1914-0/+2010
| | | | | | | | | | | | | | | | | | This includes: * LockBox protocol definition * LockBoxLib library interface definition * SmmLockBox GUID * LockBoxNullLib library implementation * 2 SmmLockBoxLib library implementations * SmmLockBox SMM driver Signed-off-by: jljusten Reviewed-by: mdkinney Reviewed-by: geekboy15a Reviewed-by: jyao1 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12029 6f19259b-4bc3-4df7-8a09-765794883524
* MdeModulePkg: Add SmmCommunication PPI definitionjljusten2011-07-192-0/+67
| | | | | | | | | | Signed-off-by: jljusten Reviewed-by: mdkinney Reviewed-by: geekboy15a Reviewed-by: jyao1 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12028 6f19259b-4bc3-4df7-8a09-765794883524
* MdeModulePkg: Add SmmAccess PPI definitionjljusten2011-07-192-0/+148
| | | | | | | | | | Signed-off-by: jljusten Reviewed-by: mdkinney Reviewed-by: geekboy15a Reviewed-by: jyao1 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12027 6f19259b-4bc3-4df7-8a09-765794883524
* MdeModulePkg: Fix VS2008 warning.andrewfish2011-07-151-0/+1
| | | | | | | | | | This looks amlost like a bug in VS2008, please verify that the warning is fixed as I don't ahve a copy of VS2008. signed-off-by: andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12020 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Define a netlib library function NetLibGetSystemGuid()hhuan132011-07-146-150/+112
| | | | | | 2. Update PXE driver to use NetLibGetSystemGuid() git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12017 6f19259b-4bc3-4df7-8a09-765794883524
* MdeModulePkg: Add PcdDxeIplBuildPageTables for DxeIpl X64 to optionally not ↵andrewfish2011-07-143-7/+20
| | | | | | | | | | | rebuild the page tables. signed-off-by: andrewfish reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12016 6f19259b-4bc3-4df7-8a09-765794883524
* Fix an issue that there may be an infinite loop in the ↵rsun32011-07-131-70/+109
| | | | | | | | | | CoreInitializeMemoryServices() in Gcd.c of the DXE Core. Also update logic to use continue statements to reduce the level of nesting in the two loops that search the HOB lists. More comment are added. Signed-off-by: rsun3 Reviewed-by: mdkinney Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12015 6f19259b-4bc3-4df7-8a09-765794883524
* Fixed build fail with GCC/ICC toolsydong102011-07-131-1/+1
| | | | | | Signed-off-by:ydong10 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12014 6f19259b-4bc3-4df7-8a09-765794883524
* MdeModulePkg: Add CD Express PEIMjljusten2011-07-126-0/+1057
| | | | | | | Signed-off-by: jljusten Reviewed-by: mdkinney git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12012 6f19259b-4bc3-4df7-8a09-765794883524
* MdeModulePkg: Add Capsule PEIMjljusten2011-07-126-0/+1567
| | | | | | | | Signed-off-by: jljusten Reviewed-by: mdkinney Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12011 6f19259b-4bc3-4df7-8a09-765794883524
* Correct the status code value to EFI_SW_PC_INIT_END after PEIM returns ↵lgao42011-07-121-1/+1
| | | | | | | | | control to PeiCore. Signed-off-by: lgao4 Reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12010 6f19259b-4bc3-4df7-8a09-765794883524
* Change the HiiDataBase and browser codes to support new efi varstore data ↵ydong102011-07-125-313/+939
| | | | | | | | | | | structure. Signed-off-by:ydong10 Reviewed-by:lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12009 6f19259b-4bc3-4df7-8a09-765794883524
* Fix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is ↵niruiyu2011-07-0667-145/+142
| | | | | | | | | valid/invalid. Signed-off-by: niruiyu Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11987 6f19259b-4bc3-4df7-8a09-765794883524
* correct leap year calculate method.ydong102011-07-051-2/+2
| | | | | | | | Signed-off-by:ydong10 Reviewed-by:hhtian git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11982 6f19259b-4bc3-4df7-8a09-765794883524
* Refine name definition for better user experience.ydong102011-07-051-3/+3
| | | | | | | | Signed-off-by:ydong10 Reviewed-by:lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11978 6f19259b-4bc3-4df7-8a09-765794883524
* Enable value roll over when hit max or min.ydong102011-07-051-5/+30
| | | | | | | | | Update the maximum value when input day field in date opcode. Signed-off-by:ydong10 Reviewed-by:lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11977 6f19259b-4bc3-4df7-8a09-765794883524
* Refine code to avoid potential access violation.ydong102011-07-052-2/+2
| | | | | | | | | | | | | | Signed-off-by:ydong10 Reviewed-by:lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11976 6f19259b-4bc3-4df7-8a09-765794883524
* Keep the highlight field after user changes the value for time/date opcodeydong102011-07-052-1/+7
| | | | | | | | | | | | | Signed-off-by:ydong10 Reviewed-by:lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11975 6f19259b-4bc3-4df7-8a09-765794883524
* Return the correct status at the last of UnregisterAtaDevice.li-elvin2011-07-051-1/+1
| | | | | | | | Signed-off-by: li-elvin Reviewed-by: erictian, hhuan13 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11973 6f19259b-4bc3-4df7-8a09-765794883524
* MdeModulePkg: Add unload support for SnpDxe and fix NULL ImageHandle in ↵xdu22011-07-042-4/+5
| | | | | | | | | EfiLibInstallDriverBindingComponentName2() in driver entry point. Signed-off-by: xdu2 Reviewed-by: vanjeff git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11967 6f19259b-4bc3-4df7-8a09-765794883524
* MdeModulePkg: Add ResetSystemRuntimeDxe driverjljusten2011-07-014-0/+330
| | | | | | | Signed-off-by: jljusten Reviewed-by: mdkinney git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11938 6f19259b-4bc3-4df7-8a09-765794883524
* MdeModulePkg: Add GenericMemoryTestDxe driverjljusten2011-07-014-0/+1308
| | | | | | | Signed-off-by: jljusten Reviewed-by: mdkinney git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11937 6f19259b-4bc3-4df7-8a09-765794883524
* Fix a potential memory free failure bug in AtaAtapiPassThruerictian2011-06-301-7/+9
| | | | | | | Signed-off-by: erictian Reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11932 6f19259b-4bc3-4df7-8a09-765794883524
* Fix DevPathToTextIPv6(): no comma between protocol and type string.niruiyu2011-06-301-2/+2
| | | | | | | Signed-off-by: niruiyu Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11931 6f19259b-4bc3-4df7-8a09-765794883524
* Enable new "ref5" opcode in browser.ydong102011-06-286-147/+236
| | | | | | | | | | | | Signed-off-by:ydong10 Reviewed-by:lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11913 6f19259b-4bc3-4df7-8a09-765794883524
* Restore the whole form set to default value when user enter F9, old logical ↵ydong102011-06-283-48/+47
| | | | | | | | | | | | | | only for form level. Signed-off-by:ydong10 Reviewed-by:lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11911 6f19259b-4bc3-4df7-8a09-765794883524
* MdeModulePkg: Add IdeBusPei driverjljusten2011-06-276-0/+3177
| | | | | | | | Signed-off-by: jljusten Reviewed-by: mdkinney Reviewed-by: geekboy15a git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11902 6f19259b-4bc3-4df7-8a09-765794883524
* MdeModulePkg: Add PEI USB drivers and related PPIsjljusten2011-06-2736-0/+15879
| | | | | | | | Signed-off-by: jljusten Reviewed-by: mdkinney Reviewed-by: geekboy15a git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11901 6f19259b-4bc3-4df7-8a09-765794883524