Commit Graph

306 Commits

Author SHA1 Message Date
Michael D Kinney 22a69a5efe IntelFrameworkPkg: Replace BSD License with BSD+Patent License
https://bugzilla.tianocore.org/show_bug.cgi?id=1373

Replace BSD 2-Clause License with BSD+Patent License.  This change is
based on the following emails:

  https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html
  https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html

RFCs with detailed process for the license change:

  V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html
  V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html
  V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
2019-04-09 10:58:02 -07:00
Liming Gao 1c2f052de2 IntelFrameworkPkg: Clean up source files
1. Do not use tab characters
2. No trailing white space in one line
3. All files must end with CRLF

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
2018-06-28 11:19:43 +08:00
Jian J Wang 7619eed8aa IntelFrameworkPkg/LegacyBios.h: Add a macro to guarantee page 0 access
Due to the introduction of NULL pointer detection feature, page 0 will be
disabled if the feature is enabled, which will cause legacy code failed to
update legacy data in page 0. This macro is introduced to make sure the
page 0 is enabled before those code and restore the original status of it
afterwards.

Another reason to introduce this macro is to eliminate the dependency on
the PcdNullPointerDetectionPropertyMask. Because this is a new PCD, it
could cause some backward compatibility issue for some old packages.

This macro will simply check if the page 0 is disabled or not. If it's
disabled, it will enable it before code updating page 0 and disable it
afterwards. Otherwise, this macro will do nothing to page 0.

The usage of the macro will be look like (similar to DEBUG_CODE macro):

    ACCESS_PAGE0_CODE(
      <code accessing page 0>
    );

Cc: Liming Gao <liming.gao@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jian J Wang <jian.j.wang@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
2017-12-08 14:38:44 +08:00
Gary Lin d6a1c70de1 IntelFrameworkPkg: Fix typos in comments
- paramter -> parameter
- availible -> available

Cc: Jeff Fan <jeff.fan@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
2016-10-24 09:09:26 +08:00
Qiu Shumin ed6fde4113 IntelFrameworkPkg: Fix a non ASCII char in LegacyBios.h.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>




git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17185 6f19259b-4bc3-4df7-8a09-765794883524
2015-04-16 06:50:38 +00:00
David Woodhouse 881644d741 IntelFrameworkPkg: Update EFI_COMPATIBILITY16_TABLE to CSM 0.98.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Reviewed-by: Elvin Li <elvin.li@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17130 6f19259b-4bc3-4df7-8a09-765794883524
2015-04-08 01:40:47 +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
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
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 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 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 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
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
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 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
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
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
qhuang8 dd72d66af8 Update framework CPU I/O protocol to solve some symbol duplication and conflict issues. This protocol is different from PI one in that it is a runtime protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9441 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-18 04:12:26 +00:00
qhuang8 abc0c38ac3 Add Framework version of EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL_GUID and its GUID C Name to IntelFrameworkPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9395 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-09 05:12:25 +00:00
vanjeff 15cc889129 update comments with the right words.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9337 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-10 08:32:06 +00:00
vanjeff 689b2d720c clean up non-English characters.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9336 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-10 08:25:50 +00:00
vanjeff 1910fbaf70 clean up non-English characters.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9335 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-10 03:32:25 +00:00
eric_tian f759064285 specify the spec revision number followed by protocol
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9237 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-03 09:21:05 +00:00
qhuang8 7854d05f75 Make end of line consistent.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9186 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-24 15:53:33 +00:00
klu2 f527a6f1ab Fix invalid doxygen comment, should not mix the usage of /// and /**
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9084 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-18 06:21:10 +00:00
eric_tian 33d228aa02 refine some definitions comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9031 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-10 06:32:30 +00:00
pkandel 27d9ad0656 Lightly revised SmmCis.h based on information in the PI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9023 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-30 11:26:30 +00:00
pkandel 69c8f27cd8 Updated comment at line 595 to be PI 1.1 spec, instead of 1.0.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9020 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-29 13:31:16 +00:00
vanjeff d9fdf2ca96 fixed wrong comments format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9019 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-28 14:24:26 +00:00
pkandel 5259c97d7a Committing changes to the comments, after review with engineers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9018 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-28 13:25:37 +00:00
eric_tian ef73b4a854 add comment on mismatch between code and MiscSubclass spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9013 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-27 05:48:29 +00:00
mdkinney d5555a107c Move EFI_SMM_COMMUNICATE_HEADER into SmmBase.h because this structure is really associated with the ComminicationBuffer parameter to the EFI_SMM_CALLBACK_ENTRY_POINT in the SMM Base Protocol and not the gSmmCommunicateHeaderGuid. This GUID is just one of many possible GUIDs that could be used to fill in the HeaderGuid field of the EFI_SMM_COMMUNICATE_HEADER.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8990 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 04:35:02 +00:00
mdkinney 7f58645482 Move those status code definitions that exactly match the PI 1.2 Specification from the IntelFrameworkPkg to MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8989 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 03:27:05 +00:00