Commit Graph

52 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
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
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
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
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
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
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
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
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
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
eric_tian 409669d53e comments refine
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8978 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-22 04:55:02 +00:00
mdkinney c9a4a97748 Remove the following PPIs from the IntelFrameworkPkg because they were identical to PPIs from the PI 1.2 Specification
1) Block I/O PPI 
2) Device Recovery PPI 
3) Recovery Module PPI 
4) S3 Resume PPI 

Also add Include/Guid/BlockIo.h that contains two hardware device specific GUIDs for recovery devices that are only defined in the Framework Specifications



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8915 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13 05:01:48 +00:00
mdkinney ccd1862c8b Fix Doxygen comment syntax
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8909 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13 00:09:04 +00:00
mdkinney 87d6344732 1) Add Include/Framework/BootScript.h that contains defines shared between Boot Script Executer PPI and Boot Script Save Protocol. Remove those safe defines from Include/Ppi/BootScriptExecuter.h
2) Remove Include/Framework/DataHubRecords.h and merge its content into Include/Guid/DataHubRecords.h
3) Remove Include/Framework/Legacy16.h and merge its contents into Include/Protocol/LegacyBios.h
4) Update FrameworkDxe.h to no longer include all the Legacy16.h and DataHubRecords.h contents.  This reduces the number of include file and definitions pulled in when a module include FrameworkDxe.h.  The Legacy16.h contents can now be included by a module through Protocol/LegacyBios.h and the DataHubRecords.h contents can be included by a module through Guid/DataHubRecords.h
5) Update Include/Guid/StatusCodeDataTypeId.h so it can be safely included by both PEIMs and DXE Modules since both the PEI and DXE phases support status codes
6) Remove extra #includes where possible to reduce number of files included during a build.
7) Update Include/Protocol/LegacyBiosPlatform.h to #include Include/Protocol/LegacyBios.h since it depends on HDD_INFO and COMPATIBILITY16 strictures carried by LegacyBios.h



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8899 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-11 23:25:44 +00:00
mdkinney 3a228b9ed5 Remove "Module Name:" from include file headers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8893 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-11 16:02:13 +00:00
darylm503 ab6fc27acd Add Doxygen comment block to SMRAM state macro definitions.
Clean up comment for the EFI_SMRAM_HOB_DESCRIPTOR_BLOCK structure type to combine the orphan comment about the specification inconsistency with the comment for the type.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8888 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 21:55:33 +00:00
eric_tian afb84e4247 restore @par Revision Reference.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8884 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 12:40:31 +00:00
lgao4 0e0eeecad4 Clean the public header files to remove the unnecessary include files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8871 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 09:30:53 +00:00
xli24 a5baf84537 Keep inconsistency in code and add additional comments for that.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8856 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 03:28:16 +00:00
eric_tian 905574d8a0 update the file header comment
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8796 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-08 03:26:32 +00:00
eric_tian 500764753c Inconsistent with specification here:
This field in StatusCodes spec0.9 is defined as UINT32, keep code unchanged.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8795 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-08 03:20:57 +00:00
xli24 ee896758cc Add comments to describe inconsistency between code and Framework spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8791 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-08 02:44:46 +00:00
eric_tian ee09c93f45 change comment style from 3 line to 1 line
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8784 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-07 07:49:14 +00:00
eric_tian cb8df8c596 supply comments on data structure to follow spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8779 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-07 06:36:42 +00:00
xli24 444bf90deb Refine include file of GUID HOB for SMRAM memory reserve, according to review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8763 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-06 15:09:45 +00:00
lgao4 aa4a31e348 Update code comments according to intel framework specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8724 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-02 08:52:18 +00:00
klu2 2bbaeb0d62 Correct the structure's comments to follow doxygen format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8721 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-02 07:40:24 +00:00
lgao4 8bcd1d7003 Retire FrameworkDevicePath header file. It is not defined in framework spec. And it is not used by EDKII modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8592 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-18 05:21:54 +00:00
mdkinney 2c236ad7bc 1) Move gEfiStatusCodeDataTypeDebugGuid from the IntelFrameworkPkg to the IntelFrameworkModulePkg. This GUID is not defined in the Framework Specifications, so it is part of the implementation. This GUID is used to pass DEBUG() information to the Status Code Protocol and PPI. This GUID is now defined in IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h. The GUID definition was also moved from the DEC file in the IntelFrameworkPkg to the IntelFrameworkModulePkg.
2) Move data structure use to pass DEBUG() info to Status Code Protocol and Status Code PPI from IntelFrameworkModulePkg.Include/DebugInfo.h into the new GUID file IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h

3) Delete IntelFrameworkModulePkg/Include/DebugInfo.h because all the content is now in IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h

Module Impacts
==============
1) Modules that currently use #include <DebugInfo.h> must be updated to #include <Guid/StatusCodeDataTypeDebug.h>.  
2) Modules that currently use #include <Guid/StatusCodeDataTypeId.h> and don't #include <DebugInfo.h> will have to add #include <Guid/StatusCodeDataTypeDebug.h>.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8432 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-01 21:18:12 +00:00
mdkinney 0ca9ea41f9 Remove the GUID declared as gEfiStatusCodeDataTypeErrorGuid and EFI_STATUS_CODE_DATA_TYPE_ERROR_GUID because it is not present in the Intel Framework Specifications.
Remove the GUID declared as gEfiStatusCodeDataTypeProgressCodeGuid and EFI_STATUS_CODE_DATA_TYPE_PROGRESS_CODE_GUID because it is not present in the Intel Framework Specifications.




git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8428 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-01 19:59:53 +00:00
mdkinney 810881f08f Remove the GUID declared as gEfiStatusCodeDataTypeAssertGuid and EFI_STATUS_CODE_DATA_TYPE_ASSERT_GUID because it is not present in the Intel Framework Specifications.
Any usage of this GUID should be replaced with gEfiStatusCodeSpecificDataGuid or EFI_STATUS_CODE_SPECIFIC_DATA_GUID.  The Intel Framework Specification Status Codes 0.92 defines the method for producing a status code for an ASSERT() condition by using an error code of EFI_SW_EC_ILLEGAL_SOFTWARE_STATE.  Any consumer of produced status codes should evaluate the error code to determine if it is an ASSERT() type, and then know how to interpret the extended data as EFI_DEBUG_ASSERT_DATA.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8426 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-01 18:41:05 +00:00
mdkinney d4764d1f64 Remove the GUID declared as gEfiStatusCodeDataTypeExceptionHandlerGuid and EFI_STATUS_CODE_DATA_TYPE_EXCEPTION_HANDLER_GUID because it is not present in the Intel Framework Specifications.
Any usage of this GUID should be replaced with gEfiStatusCodeSpecificDataGuid or EFI_STATUS_CODE_SPECIFIC_DATA_GUID.  The Intel Framework Specification Status Codes 0.92 defines the method for producing a status code with a CPU exception record.  The subclass of the error code defines the type of processor exception.  Any consumer of produced status codes should evaluate the error code to determine if it is a CPU exception type, and then know how to interpret the extended data as a CPU exception record.




git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8425 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-01 18:18:52 +00:00
gikidy 0f899407a3 Update revision reference tag.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8369 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-21 09:04:03 +00:00
gikidy 470d0b274c Synchronize code with specs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8367 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-21 06:11:39 +00:00
jchen20 8bd2aa7503 retire AcpiTableStorage.h and implement the gEfiAcpiTableStorageGuid with a fixed at build PCD
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8106 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 01:58:21 +00:00
qhuang8 e89ec8f685 Clean up to update the reference of the these macros:
EFI_SIGNATURE_16 -> SIGNATURE_16
  EFI_SIGNATURE_32 -> SIGNATURE_32
  EFI_SIGNATURE_64 -> SIGNATURE_64
  EFI_FIELD_OFFSET -> OFFSET_OF
  EFI_MAX_BIT      -> MAX_BIT
  EFI_MAX_ADDRESS  -> MAX_ADDRESS
These macros are not defined in UEFI spec. It makes more sense to use the equivalent macros in Base.h to avoid alias.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7051 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 15:31:58 +00:00
qwang12 dc7b4a5c43 UEFI HII: Merge UEFI HII support changes from branch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4597 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-21 14:33:26 +00:00
klu2 514ba42778 Move some datahub producer GUID from IntelFrameworkPkg to IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3653 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-16 03:16:05 +00:00
klu2 c7458efd36 1) Move the structure definitions related GUID EFI_STATUS_CODE_SPECIFIC_DATA_GUID and EFI_STATUS_CODE_DATA_TYPE_STRING_GUID from IntelFrameworkPkg\Framework/StatusCodeDataTypeId.h to IntelFrameworkPkg\Guid/StatusCodeDataTypeId.h
2) Remove IntelFrameworkPkg/Framework/StatusCodeDataTypeId.h

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3609 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-10 09:48:47 +00:00
klu2 c0691ef009 1) Move definition of FFS-related in Include/Framework/FirmwareFileSystem.h to IntelFrameworkPkg/Include/Guid/FirmwareFileSystem.h
2) Remove Include/Framework/FirmwareFileSystem.h

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3608 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-10 07:35:19 +00:00
klu2 1b144bbfe3 Move the definition of Capsule from IntelFrameworkPkg/Include/Framework/Capsule.h to IntelFrameworkPkg/Include/Guid/Capsule.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3605 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-10 06:56:22 +00:00
yshang1 351986ae7d 1) Remove Protocol/AcpiS3Save.h from IntelFrameworkPkg, which should be defined in TianoModulePkg.
2) Move Crc32 GuidedSectionExtraction GUID definition to MdeModulePkg.
3) Move Protocol/FirmwareVolumeDispatch.h to MdeModulePkg.
4) Remove Protcol/GuidedSectionExtraction.h of IntelFrameworkPkg, since it has been introduced in PI.
5) Clean up PROTOCOL/PPI/GUID declaration in MdeModulePkg.dec, IntelFrameworkModulePkg.dec, IntelFrameworkPkg.dec to match package spec.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3400 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-23 06:43:10 +00:00
bxing 0b2f42c25e Fixed FirmwareFileSystem.h to make it compile independently.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3054 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-04 12:31:57 +00:00
qwang12 7e5eeb0ca4 add in FirmwareFileSystem.h which define Framework File System Guid.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3035 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-04 09:12:01 +00:00
bxing b80fbe8543 Modified header files to make them compile
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2846 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-28 12:23:11 +00:00