Commit Graph

656 Commits

Author SHA1 Message Date
lgao4 27e36f23bf Clean up the private GUID definition in module Level.
Signed-off-by: lgao4

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12386 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-20 02:15:00 +00:00
hhtian afc5448e18 Rename SMM_CPU_IO_Protocol to SMM_CPU_IO2_PROTOCOL in PiSmmDefintions.h of SmmScriptLib to keep consistent with SMM_CPU_IO2_PROTOCOL defined in MdePkg.
Signed-off-by: hhtian
Reviewed-by:  rsun3

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12307 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-09 06:01:22 +00:00
ydong10 3857083c07 Refine code to make code run more safely.
Signed-off-by:ydong10
Reviewed-by:rsun3


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12250 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-01 08:38:08 +00:00
jljusten b96fef9f4d EdkCompatibilityPkg: Add BootScriptThunkHelper driver
Signed-off-by: jljusten
Reviewed-by: rsun3

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12247 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-31 18:58:35 +00:00
rsun3 2e7c8ac41d Enhance the SmmBaseHelper driver to support changing SMBASE/IORestart/AutoHALTRestart CPU Save State registers for Framework SMM driver.
Signed-off-by: rsun3
Reviewed-by: jfan12


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12230 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-30 09:12:43 +00:00
vanjeff ee6cf42c53 Added 3 new EFI Resources Attributes defined in PI 1.2 Specification, Errata B.
Signed-off-by: vanjeff
Reviewed-by: lgao4


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12159 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-18 02:54:57 +00:00
lgao4 6c7274a01e 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@12074 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-02 06:26:07 +00:00
li-elvin afe05b7a45 Create smbios table before ReadyToBoot event. For SMBIOS thunk driver, create/update smbios table in configuration table when each field is updated.
Signed-off-by: li-elvin
Reviewed-by: lzeng14


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12066 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-01 07:23:14 +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
andrewfish 58e3a1864a EdkCompatabilityPg: Add missing .globl statement
signed-off-by:andrewfish
reviewed-by: lgao4



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12057 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-29 15:36:43 +00:00
jljusten 4851f24430 EdkCompatibilityPkg: Add SmmScriptLib
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@12032 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-19 20:48:30 +00:00
jljusten caf93abc43 EdkCompatibilityPkg: Add DxeSmmReadyToLockOnExitPmAuthThunk 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@12031 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-19 20:48:04 +00:00
andrewfish 271d2c7f99 EdkCompatabilityPkg: Fix build issues with X64 clang
Removed passing VA_LIST and some assembly language compatability issues. Did not fix ReportStatusCode passing VA_LIST (non-ANSI C Code), and some of the assembler was not not ported and int 3 was inserted, as it likely is not needed.

signed-off-by: andrewfish
reviewed-by: lgao4


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12006 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-12 02:57:30 +00:00
jljusten a7a0f78bd6 EdkCompatibilityPkg: Add AcpiVariableHobOnSmramReserveHobThunk
Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: geekboy15a

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11904 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-27 23:32:02 +00:00
lzeng14 8a18c8c24e Update prototype name of Get()/Set() to EFI_AUTHENTICATION_INFO_PROTOCOL_GET/ EFI_AUTHENTICATION_INFO_PROTOCOL_SET,
remove star before ControllerHandle for Get()/Set() and add star before Buffer for Get().

Signed-off-by: lzeng14
Reviewed-by: lgao4

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11834 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-16 10:09:38 +00:00
niruiyu f99d3d23cb Change BuildGuidHob and BuildGuidDataHob to return NULL upon failure.
Guarantee no memory corruption in an out of memory condition even in production builds.

Signed-off-by: niruiyu
Reviewed-by: mdkinney

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11778 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-09 02:55:17 +00:00
lzeng14 4f0779023c String Reference Cleanup.
Signed-off-by: lzeng14
Reviewed-by: lgao4

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11762 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-08 05:53:18 +00:00
lzeng14 d490265ca6 Update code to pass packaging tool.
Signed-off-by: lzeng14
Reviewed-by: lgao4

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11712 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-30 09:56:57 +00:00
ydong10 d664f8a25c Refine all R9 call back function to return EFI_UNSUPPORTED for all unsupported call back type.
Signed-off-by:  ydong10
Reviewed-by: lgao4


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11680 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-20 01:28:17 +00:00
mdkinney 043d7c3b91 Clean up DEC files:
1) Remove section header comment blocks that do not provide any information
2) Combine PCDs listed in multiple sections into a single section that supports multiple PCD types to reduce maintenance overhead
3) Remove ModuleTypeList comments from [Includes], [Protocols], [Ppis], and [Guids] sections that do not properly describe the module type restrictions.
4) Clean up formatting of GUID structure declarations
5) Remove ".common" from section names if they are not required.
6) Order sections consistently as [Defines], [Includes], [LibraryClasses], [Guid], [Ppis], [Protocols], [PcdsFeatureFlag], [PcdsFixedAtBuild], [PcdsPatchableInModule], [PcdsDynamic], and [PcdsDynamicEx]


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11628 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-09 17:48:14 +00:00
mdkinney 775afc8b57 Fix DEC files so any PCD declared as Dynamic is also declared as DynamicEx
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11619 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-04 21:41:17 +00:00
jyao1 54e4b37e36 Fix 2 BootScript thunk issue on MEM_POLL.
1)	MEM_POLL stall time is incorrect.
Framework version: Duration is used for Stall(), which is Microseconds.
                   Total time is: Duration(Microseconds) * LoopTimes.
PI version:        Duration is always 100ns. Delay is LoopTimes.
                   Total time is: 100ns * Delay.
So Delay = Duration(Microseconds) * LoopTimes / 100ns
         = Duration * 1000ns * LoopTimes / 100ns
         = Duration * 10 * LoopTimes

2)	MEM_POLL BitMask/BitValue order is incorrect.
Framework version: First BitMask, then BitValue
PI version: First Data, then DataMask
So we revert their order in function call


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11595 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-27 07:35:20 +00:00
lzeng14 0ec4f1cb6f Add missing Type 35 support and correct SmbiosFldMiscType13 implementation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11571 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-20 02:17:42 +00:00
ydong10 33b71404f0 Update inf file to follow spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11453 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-30 03:38:50 +00:00
ydong10 36f0b7c245 Enhance inf file to follow inf spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11389 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-14 08:36:16 +00:00
mdkinney 6bd01ebce0 Update DebugLib to provide support for "err" command in the EFI Shell to adjust the filter mask for DEBUG() messages. The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol. In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask.
1) Add default mappings for the DebugPrintErrorLevelLib to the DSC file for this package.






git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11370 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-10 22:32:53 +00:00
mdkinney ca1677d839 Update module to pass in a valid EFI_HANDLE when is reloads and restarts itself using the PeCoffLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11364 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-10 21:59:39 +00:00
lgao4 a1fe1d6dd8 ECP package BootScriptSaveOnS3SaveStateThunk driver needs to support framework 32bit dispatch code. It must be loaded into <4G memory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11349 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-07 02:23:00 +00:00
hhtian 60d8f1f856 clean non-ASCII char
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11338 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-26 06:23:18 +00:00
lgao4 a34688db37 Don't need to update its copy right. It is same to previous version.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11282 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-28 08:19:23 +00:00
lgao4 1fade6cf65 Roll back previous change. GCC assembly file should use .S postfix.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11280 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-28 05:22:14 +00:00
lgao4 8db466cc13 Correct file name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11269 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-24 04:54:52 +00:00
lgao4 c10dc4c120 Export EDKII_GLUE_DebugPrintErrorLevel and EDKII_GLUE_DebugPropertyMask macro
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11256 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-18 02:12:32 +00:00
jyao1 b16ad4b87b Correct return value check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11227 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-05 13:43:00 +00:00
jljusten 58b9f0f0ee EdkCompatibilityPkg RuntimeDxe Lib: Fix GCC warning
Fix warning seen with GCC 4.4.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11222 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-03 18:53:51 +00:00
lgao4 2a6433fef2 Use SmmStatusCode protocol in EfiInitializeSmmDriverLib() funciton.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11213 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-31 04:36:50 +00:00
jyao1 4eed2dbd89 Fix CYG GCC build fail on retf.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11202 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-26 07:25:12 +00:00
jyao1 ef291d07a1 Replace @@ symbol since GCC does not recognize it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11201 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-25 12:52:52 +00:00
jyao1 6dd67b60c4 Fix GCC build failure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11200 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-24 11:06:17 +00:00
jyao1 47cc0634ba Fix boot script thunk issue that we need dispatch in PEI mode for Framework dispatch function, not in DXE mode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11194 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-23 02:20:13 +00:00
jyao1 d766b22843 Fix boot script thunk issue that we need dispatch in PEI mode for Framework dispatch function, not in DXE mode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11189 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-22 04:26:08 +00:00
erictian 4e36d6f526 update USB_PORT_STAT_OWNER from 2^11 to 2^13 which is added as a possible value of EFI_USB_PORT_STATUS and is the equivalent of EfiUsbPortOwner of EFI_USB_PORT_FEATURE
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11161 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-14 02:50:56 +00:00
li-elvin 5a0c0390e0 Add missing fields of Type 4 conversion.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11148 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-10 08:00:57 +00:00
ydong10 2349cf6f63 Refine code to make code run more safely.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11143 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-09 08:25:59 +00:00
ydong10 54790583c0 Refine code to make code more safely.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11123 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-06 09:14:47 +00:00
lgao4 3e99020dbf Sync all bug fixes between EDK1.04 and EDK1.06 into EdkCompatibilityPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11094 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-26 01:54:49 +00:00
li-elvin be3b67bca5 Fix the issue that the high 16-bit of EAX may contain invalid data, which cause bad stack pointer, the change will ensure the high 16-bit of EAX is cleared.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11046 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-12 07:45:08 +00:00
lgao4 cccdc95f79 Correct Comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10984 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-28 02:44:00 +00:00
jljusten 2b0fcbf537 EdkCompatibilityPkg: Re-add VA_COPY macro
This macro was lost in r10585.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10930 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-13 07:07:54 +00:00
rsun3 2b8999e131 Add Framework SMM Status Code Protocol on PI SMM Status Code Protocol Thunk driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10918 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-12 04:01:18 +00:00