li-elvin
1476a25761
RestoreLockBox in DXE with Length NULL, Buffer NULL will fail to get data 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-25 08:25:13 +00:00
niruiyu
6e5ed099af
Add UEFI_APPLICATION module type support for the capsule lib.
...
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-25 05:37:55 +00:00
erictian
c4b8c2d807
Error handling refinement at UsbIoResetPort() to avoid device state machine 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-25 05:13:22 +00:00
tye1
9ea13d7900
Update to NOT to use EFI_BROWSER_ACTION_FORM_OPEN in Callback function thus 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-24 10:53:54 +00:00
erictian
db0f0d3c79
Remove CONST modifier to be spec compliance
...
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-24 09:38:10 +00:00
hhuan13
379db4ac17
1. Refine the error handling for PXE-v4 driver.
...
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-24 08:48:23 +00:00
mdkinney
5657b268e7
Update SMM Core to use SMM Mode as soon as SMM Mode is available
...
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-24 06:49:21 +00:00
ydong10
ad9aa87b56
Refine code to follow coding style.
...
Signed-off-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12189 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-24 06:41:27 +00:00
erictian
92870c983c
Enabling usb3.0 XHCI support.
...
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-23 14:36:33 +00:00
vanjeff
d12a2ecb2a
Updated GCD implementation to consume the correct EFI Resources 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-18 02:05:46 +00:00
lgao4
46171fb68e
Remove the blank line.
...
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-17 05:04:33 +00:00
rsun3
495797c557
1. Add two performance measurement points for SMM performance measurement;
...
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-16 02:58:20 +00:00
jljusten
b5827cbd09
MdeModulePkg: Don't build SmmLockBoxPeiLib for IPF
...
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
2011-08-10 00:02:58 +00:00
lgao4
37abfb7ea1
Fix the bug in AcpiTableDxe drivers that doesn't work when more than 20 Acpi 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
2011-08-09 08:46:04 +00:00
lgao4
be5ec8c531
Fix X64 VS2005 and VS2008 compile error.
...
Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12111 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-09 06:48:31 +00:00
jcarsey
6bae492fb4
clarify the logic of the print length counting functions in both PrintLib 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
2011-08-08 20:50:31 +00:00
jcarsey
42372879b5
add IPv4 address copy macro.
...
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
2011-08-08 18:18:40 +00:00
oliviermartin
f75316c3ab
MdeModulePkg/Dxe: Move assertions inside CoreInsertGcdMapEntry()
...
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
2011-08-08 18:16:22 +00:00
niruiyu
9995c2e5d0
Add non null assertion before using the bridge instance.
...
Signed-off-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12095 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-08 09:23:51 +00:00
niruiyu
8db6a82c50
Print resource allocation/bar programming when PciBus driver does PCI BUS 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
2011-08-04 09:08:09 +00:00
jcarsey
f405c0674a
Add 2 functions to UefiLib library class: CatSPrint and CatVSPrint.
...
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
2011-08-02 23:33:06 +00:00
jljusten
993532d0b8
MdeModulePkg: Add SmmLockBox PEI implementation
...
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
2011-08-02 21:06:13 +00:00
lgao4
c05e7994a1
Fixed the issue in RuntimeStatusCode library that may not work on the early dispatched Runtime driver.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12073 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-02 06:23:54 +00:00
li-elvin
f93161b440
Fix 32-bit bios build error.
...
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
2011-08-02 05:57:15 +00:00
li-elvin
04bbf1f3f0
When status code handler unregister itself, status code dispatch in status 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
2011-08-01 07:39:02 +00:00
li-elvin
0ddd855318
Create smbios table when user adds/removes/Updatestring for a SMBIOS entry. 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
2011-08-01 07:30:02 +00:00
lgao4
fbf82a2cf2
Fixes two issues in HiiFontProtocol->StringToImage() implementation on how 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
2011-08-01 06:40:17 +00:00
rsun3
1261fe23ca
Clean and split AcpiVariable.h in IntelFrameworkModulePkg into 2 new .h 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
2011-08-01 06:09:17 +00:00
jljusten
d31182c1b3
MdeModulePkg: Fix build error for UNIXGCC with IPF
...
#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
2011-07-28 17:47:22 +00:00
ydong10
38d6bb9e71
Adjust the day field when update the month and year field.
...
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
2011-07-28 02:14:29 +00:00
lzeng14
3397c6f590
For libraries that have multiple module types support, just define a [Depex] 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
2011-07-27 08:54:57 +00:00
jljusten
74ef1d4294
MdeModulePkg: Add Recovery PCD feature flags
...
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
2011-07-22 18:01:26 +00:00
jljusten
3e4df77fc3
MdeModulePkg: Add SmmControl PPI definition
...
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
2011-07-19 20:48:48 +00:00
jljusten
1c837cd545
MdeModulePkg: Add SMM LockBox
...
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
2011-07-19 20:47:28 +00:00
jljusten
9fba8e7d3d
MdeModulePkg: Add SmmCommunication PPI definition
...
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
2011-07-19 20:46:45 +00:00
jljusten
e7b7db365c
MdeModulePkg: Add SmmAccess PPI definition
...
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
2011-07-19 20:46:24 +00:00
andrewfish
d042796c1a
MdeModulePkg: Fix VS2008 warning.
...
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
2011-07-15 15:19:05 +00:00
hhuan13
57b301b569
1. Define a netlib library function NetLibGetSystemGuid()
...
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
2011-07-14 11:27:05 +00:00
andrewfish
e47f0da408
MdeModulePkg: Add PcdDxeIplBuildPageTables for DxeIpl X64 to optionally not 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
2011-07-14 02:31:02 +00:00
rsun3
c4c085a2a6
Fix an issue that there may be an infinite loop in the 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
2011-07-13 08:40:55 +00:00
ydong10
f26b6a9cda
Fixed build fail with GCC/ICC tools
...
Signed-off-by:ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12014 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-13 06:19:41 +00:00
jljusten
30c00a1cfa
MdeModulePkg: Add CD Express PEIM
...
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
2011-07-12 20:36:05 +00:00
jljusten
da58b0db33
MdeModulePkg: Add Capsule PEIM
...
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
2011-07-12 20:35:46 +00:00
lgao4
619b3e0e8d
Correct the status code value to EFI_SW_PC_INIT_END after PEIM returns 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
2011-07-12 09:03:36 +00:00
ydong10
cce6230ffb
Change the HiiDataBase and browser codes to support new efi varstore data 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
2011-07-12 07:24:36 +00:00
niruiyu
284ee2e829
Fix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is 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
2011-07-06 03:55:36 +00:00
ydong10
c3342aa81f
correct leap year calculate method.
...
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
2011-07-05 09:30:49 +00:00
ydong10
fd94fb3be9
Refine name definition for better user experience.
...
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
2011-07-05 08:49:55 +00:00
ydong10
508b4e77f6
Enable value roll over when hit max or min.
...
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
2011-07-05 08:28:23 +00:00
ydong10
715cf6dd7e
Refine code to avoid potential access violation.
...
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
2011-07-05 08:24:22 +00:00