Commit Graph

450 Commits

Author SHA1 Message Date
lgao4 890ff9a498 Add ASSERT() for BitField operations to make sure the input value is valid.
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Kinney, Michael D <Michael.D.Kinney@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14020 6f19259b-4bc3-4df7-8a09-765794883524
2012-12-25 02:29:46 +00:00
niruiyu abe4c4590b Enhance CreatePopup to call ReadKeyStroke() before calling WaitForEvent(). This can handle the case when in lazy ConIn mode.
Signed-off-by: Ruiyu Ni<ruiyu.ni@intel.com>
Reviewed-by: Eric Dong<eric.dong@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13946 6f19259b-4bc3-4df7-8a09-765794883524
2012-11-15 06:31:43 +00:00
hhtian bff8c6f61d Update copyright format
Signed-off-by: Hot Tian <hot.tian@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13213 6f19259b-4bc3-4df7-8a09-765794883524
2012-04-24 06:49:39 +00:00
jljusten ea4ee7ac38 EDK II Packages: Add Contributions.txt and License.txt files
Contributions.txt documents the contribution process for all
tianocore projects. The conents of Contributions.txt should
match in all cases.

License.txt is a per-project document showing the license terms
used by that project.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13187 6f19259b-4bc3-4df7-8a09-765794883524
2012-04-11 23:19:46 +00:00
lgao4 b0855f925c Update FrameworkUefiLib library instance to implement the missing CatSPrint() and CatVSPrint() API.
Signed-off-by: lgao4
Reviewed-by: rsun3

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13070 6f19259b-4bc3-4df7-8a09-765794883524
2012-02-29 04:57:44 +00:00
rsun3 3bbe68a362 Add Missing invocations to VA_END() for VA_START().
Signed-off-by: rsun3
Reviewed-by: lgao4

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12979 6f19259b-4bc3-4df7-8a09-765794883524
2012-02-01 06:06:08 +00:00
lzeng14 f7d5dbabe3 Add comments for EFI_CACHE_SRAM_TYPE_DATA because of the inconsistency between CacheSubclass 0.9 and SMBIOS specifications.
Signed-off-by: lzeng14
Reviewed-by: li-elvin

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12872 6f19259b-4bc3-4df7-8a09-765794883524
2011-12-15 06:42:15 +00:00
vanjeff 718afdec99 Update IntelFrameworkPkg version: 0.91->0.92
Signed-off-by: vanjeff
Reviewed-by: hhtian




git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12852 6f19259b-4bc3-4df7-8a09-765794883524
2011-12-14 02:12:17 +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
niruiyu 2dfdd3eb97 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@11777 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-09 02:53:56 +00:00
lzeng14 081ecf333c Order sections as [Defines], [Includes], [LibraryClasses], [Guids], [Ppis], [Protocols], [PcdsFeatureFlag], [PcdsFixedAtBuild], [PcdsPatchableInModule], [PcdsDynamic] and [PcdsDynamicEx].
Signed-off-by: lzeng14
Reviewed-by: lgao4

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11683 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-20 02:14:48 +00:00
lzeng14 33d9d83439 Update and add some definitions to reflect the latest industry standard or for backward compatibility.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11570 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-20 02:10:52 +00:00
ydong10 e76553dac9 Enhance dec file to follow spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11391 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-14 08:40:55 +00:00
jyao1 f43c43c72c Correct comments for EFI_LEGACY_PIRQ_ENTRY.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11287 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-31 02:37:03 +00:00
li-elvin 4eb5628525 Updated IntelFrameworkPkg\Include\Guid\DataHubRecords.h same with ECP definition
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11275 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-26 09:08:45 +00:00
rsun3 23228db382 Document the inconsistency of EFI_SMM_CPU_SAVE_STATE between the EDK2 code base and the Framework SMM CIS 0.91 spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11188 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-22 03:15:24 +00:00
rsun3 6ac6f98708 Update definition of EFI_SMM_CPU_SAVE_STATE to exclude Itanium save state. Note this is an inconsistency with the Framework SMM CIS spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11187 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-22 02:34:45 +00:00
li-elvin f92d103109 Update FrameworkSpecConformance.txt after adding new datahub definitions for SMBIOS Type 4.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11158 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-13 03:22:35 +00:00
li-elvin 54acdc7b04 Add missing data record for Type 4.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11149 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-10 08:01:52 +00:00
vanjeff 55b902c377 add progress code definitions defined in Framework Specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11135 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-08 07:05:10 +00:00
mdkinney 4e36109357 Add comment that describes the TPL restrictions for the Data Hub Protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11009 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-05 20:29:16 +00:00
xli24 7ae58ec2ea The definition of NumberOfSmmReservedRegions is incorrect in Framework SmmCis specification 0.91, in which the type of this field is defined as UINTN. However, HOBs are supposed to be CPU neutral, so UINT32 should be used. Here the code is updated and comments in FrameworkSpecConformance.txt is added.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10813 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-20 17:32:04 +00:00
xli24 8194a0232c Add explicit type cast to suppress possible warning of precession loss.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10784 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-10 07:15:06 +00:00
xli24 c5b900bed8 Fix the bug that definition of EFI_DISPATCH_OPROM_TABLE does not follow Framework CSM Spec v0.97.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10588 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-17 05:51:31 +00:00
mdkinney 4ea439fb1d Sync FrameworkUefiLib with the MdePkg UefiLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10583 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-14 23:32:07 +00:00
lgao4 779bf66127 Clean up package/platform DSC files by the following steps:
1. Remove PCDs those use the default values/types from the DEC file.
  2. Remove the unused library instances.
  3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10529 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-21 02:49:26 +00:00
hhtian 2b3687dbb5 Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10404 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 15:52:13 +00:00
lgao4 2521180e14 Remove the duplicated SmmLibNull, which has been moved into MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10340 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-06 02:51:03 +00:00
hhtian 72d792fd6e Not maintained.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10313 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-25 14:45:55 +00:00
xli24 54f8d22a23 Add missing words for the description of EFI_SMM_CONTROL_PROTOCOL.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10250 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-16 04:08:24 +00:00
myronporter f22f941ed2 Grammatical and disclaimer changes (does not follow internal C coding stds.)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10249 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-16 01:53:11 +00:00
xli24 37cc05695c Update package version for IntelFrameworkPkg and IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10194 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04 15:57:53 +00:00
xli24 d5e821adc7 Correct the CIS spec version info.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10190 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04 09:51:23 +00:00
jchen20 42686f2990 Move the framework version of EFI_S3_RESUME_PPI defintion to Intel framework package from MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10137 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01 07:10:27 +00:00
hhuan13 eccf7f519f Move EFI_SMRAM_DESCRIPTOR into PiMultiPhase.h. Since the top level includes in the other packages all include PiPei.h or PiDxe.h, and PiPei.h and PiDxe.h both include PiuMultiPhase.h, EFI_SMRAM_DESCRIPTOR will be declared for SMM Access 2 Protocol and the SmramMemoryReserve GUIDed HOB.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10104 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-26 06:09:11 +00:00
klu2 c63af3f402 Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10079 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-25 17:00:18 +00:00
lgao4 6bfbb5f0e0 1. Correct File header to ## @file
2. Remove unnecessary .common] postfix on section.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10052 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-24 00:21:16 +00:00
qhuang8 cdfe0fa69a Remove the duplicate protocol header files in IntelFrameworkPkg. Modules that using SMM status code protocol should use MdePkg/Include/SmmStatusCode.h instead.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9915 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-03 03:01:49 +00:00
mdkinney d76597869f Move SmmLib from IntelFrameworkPkg to MdePkg because this library is useful to both Framework SMM and PI SMM implementations.
Add SMM CPU Save State Protocol defined in the Framework SMM CIS 0.91 Specification.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9841 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-27 23:04:34 +00:00
lgao4 bde6776887 Remove the duplicated definitions between Framework AcpiSupport and PI AcpiSystemDescriptionTable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9772 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-15 03:00:06 +00:00
mdkinney 225352556c Remove duplicate typedef of EFI_SMM_CPU_IO_INTERFACE
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9756 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 19:23:56 +00:00
mdkinney 88ab69a3f2 Put Framework SMM CPU I/O Protocol into its own .h file and add the GUID for this protocol to the DEC file.
Some definitions are shared between the Framework SMM CPU I/O Protocol and the PI SMM CPU I/O 2 Protocol, so SmmCpuIo.h include SmmCpuIo2.h from the MdePkg




git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9736 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 04:22:06 +00:00
xli24 77a725127c Remove unnecessary colon for @note tag.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9708 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-11 07:35:49 +00:00
mdkinney 33338afebd Remove dependency on PCI Root Bridge I/O Protocol. This library should only layer on top of the CPU I/O Protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9690 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-07 22:03:51 +00:00
xli24 ce9b1e3ae0 Minor code enhancement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9685 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-07 09:12:14 +00:00
rsun3 a77e0eb17a Remove duplicated definition of EFI_SMM_COMMUNICATE_HEADER in PI and Framework SMM.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9656 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-31 06:54:11 +00:00
davidhuang 4fd13cd57d PI 1.1 SMM Feature Check-in
1. Update SmmLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9592 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-23 06:52:07 +00:00
xli24 2aa76eacfd Update header file to include common definition of FRAMEWORK_EFI_AP_PROCEDURE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9497 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-30 07:59:07 +00:00
jchen20 4ac7f45373 Add PI complied S3 implementation. Include the Opcode definition and EFI_BOOT_SCRIPT_WIDTH definition from MdePkg PI definition and rename the conflict opcode defintion with FRAMEWORK_ prifix.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9491 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-26 05:31:49 +00:00
rsun3 a2bb197e80 Rename PI SMM definitions which has same name with those of Framework SMM spec but with different content (Note these renamings are not yet in public PI spec or errata now); Remove common definitions shared between PI and Framework Spec from include files for Framework SMM Spec, and change includes files for Framework SMM Spec to include PI SMM include files. The goal is to allow a module include both PI and Framework SMM definitions without conflict.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9453 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-20 03:21:02 +00:00