diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-04-08 06:29:25 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-04-08 06:29:25 +0000 |
commit | 4a71b21a6375549aa514e4680449a29f9c64802f (patch) | |
tree | 97f8683ca5371f3488bccad2f3cdac6313792d8d /IntelFrameworkPkg | |
parent | f42be64210ea5ef394835a3c35f0444086537f66 (diff) | |
download | edk2-platforms-4a71b21a6375549aa514e4680449a29f9c64802f.tar.xz |
Add more comments for IntelFramework's header files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5003 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkPkg')
-rw-r--r-- | IntelFrameworkPkg/Include/Framework/DataHubRecords.h | 2 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Framework/FrameworkInternalFormRepresentation.h | 2 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Library/FrameworkHiiLib.h | 14 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Library/FrameworkIfrSupportLib.h | 12 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Library/SmmLib.h | 2 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Ppi/BootScriptExecuter.h | 7 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Ppi/DeviceRecoveryModule.h | 7 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Ppi/ReadOnlyVariable.h | 5 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Ppi/RecoveryModule.h | 3 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Ppi/S3Resume.h | 20 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Ppi/SectionExtraction.h | 2 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Ppi/Security.h | 6 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Ppi/Smbus.h | 3 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Protocol/AcpiS3Save.h | 12 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Protocol/AcpiSupport.h | 16 | ||||
-rw-r--r-- | IntelFrameworkPkg/Include/Protocol/BootScriptSave.h | 5 |
16 files changed, 79 insertions, 39 deletions
diff --git a/IntelFrameworkPkg/Include/Framework/DataHubRecords.h b/IntelFrameworkPkg/Include/Framework/DataHubRecords.h index 1c2e598359..4ea9e50c4a 100644 --- a/IntelFrameworkPkg/Include/Framework/DataHubRecords.h +++ b/IntelFrameworkPkg/Include/Framework/DataHubRecords.h @@ -1,4 +1,4 @@ - /** @file
+/** @file
This file defines GUIDs and associated data structures for records posted to the Data Hub.
The producers of these records use these definitions to construct records.
The consumers of these records use these definitions to retrieve, filter and parse records.
diff --git a/IntelFrameworkPkg/Include/Framework/FrameworkInternalFormRepresentation.h b/IntelFrameworkPkg/Include/Framework/FrameworkInternalFormRepresentation.h index 8280117745..cb632df215 100644 --- a/IntelFrameworkPkg/Include/Framework/FrameworkInternalFormRepresentation.h +++ b/IntelFrameworkPkg/Include/Framework/FrameworkInternalFormRepresentation.h @@ -21,8 +21,6 @@ #ifndef __FRAMEWORK_INTERNAL_FORMREPRESENTATION_H__
#define __FRAMEWORK_INTERNAL_FORMREPRESENTATION_H__
-
-
//
// IFR Op codes
//
diff --git a/IntelFrameworkPkg/Include/Library/FrameworkHiiLib.h b/IntelFrameworkPkg/Include/Library/FrameworkHiiLib.h index ceb91cf8b9..771d70cad0 100644 --- a/IntelFrameworkPkg/Include/Library/FrameworkHiiLib.h +++ b/IntelFrameworkPkg/Include/Library/FrameworkHiiLib.h @@ -1,6 +1,11 @@ /** @file
- Public include file for the HII Library
-
+ Library class name: FrameworkHiiLib.
+
+ FrameworkHiiLib is designed for produce interfaces to access
+ framework HII things. It firstly also produce all interfaces define
+ in HiiLib library class in MdePkg/Include/HiiLib.h. It also produce
+ framework's old interface PreparePackages to keep compatiblity.
+
Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -10,8 +15,6 @@ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
- Module Name: HiiLib.h
-
**/
#ifndef __FRAMEWORK_HII_LIB_H__
@@ -34,8 +37,7 @@ @param NumberOfPackages The number of HII packages to prepare.
@param Guid Package GUID.
- @return
- The allocated and initialized packages.
+ @return The allocated and initialized packages.
**/
EFI_HII_PACKAGES *
diff --git a/IntelFrameworkPkg/Include/Library/FrameworkIfrSupportLib.h b/IntelFrameworkPkg/Include/Library/FrameworkIfrSupportLib.h index d8c507d5b2..a062f87177 100644 --- a/IntelFrameworkPkg/Include/Library/FrameworkIfrSupportLib.h +++ b/IntelFrameworkPkg/Include/Library/FrameworkIfrSupportLib.h @@ -1,5 +1,9 @@ /** @file
+ Library class name: FrameworkIfrSupportLib
+ FrameworkIfrSupportLib is designed for produce IFR operation interface .
+ The IFR format follows framework specification.
+
Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -9,14 +13,6 @@ http://opensource.org/licenses/bsd-license.php THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-Module Name:
-
- IfrSupportLib.h
-
-Abstract:
-
- The file contain all library function for Ifr Operations.
-
**/
#ifndef _IFRSUPPORTLIBRARY_H
diff --git a/IntelFrameworkPkg/Include/Library/SmmLib.h b/IntelFrameworkPkg/Include/Library/SmmLib.h index b0d8d891e1..76605fbb6f 100644 --- a/IntelFrameworkPkg/Include/Library/SmmLib.h +++ b/IntelFrameworkPkg/Include/Library/SmmLib.h @@ -1,4 +1,6 @@ /** @file
+ Library class name: SmmLib
+
SMM Library Services that abstracts both S/W SMI generation and detection.
Copyright (c) 2007, Intel Corporation
diff --git a/IntelFrameworkPkg/Include/Ppi/BootScriptExecuter.h b/IntelFrameworkPkg/Include/Ppi/BootScriptExecuter.h index 0cb81040be..c98f3821eb 100644 --- a/IntelFrameworkPkg/Include/Ppi/BootScriptExecuter.h +++ b/IntelFrameworkPkg/Include/Ppi/BootScriptExecuter.h @@ -1,6 +1,13 @@ /** @file
This file declares Boot Script Executer PPI.
+ This PPI is published by a PEIM upon dispatch and provides an execution engine for the
+ Framework boot script. This PEIM should be platform neutral and have no specific knowledge of
+ platform instructions and other information. The ability to interpret the boot script depends on the
+ abundance of other PPIs that are available. For example, if the script requests an SMBus command
+ execution, the PEIM looks for a relevant PPI that is available to execute it, rather than executing it
+ by issuing the native IA-32 instruction.
+
Copyright (c) 2007, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
diff --git a/IntelFrameworkPkg/Include/Ppi/DeviceRecoveryModule.h b/IntelFrameworkPkg/Include/Ppi/DeviceRecoveryModule.h index 7ed3217134..2139d158bf 100644 --- a/IntelFrameworkPkg/Include/Ppi/DeviceRecoveryModule.h +++ b/IntelFrameworkPkg/Include/Ppi/DeviceRecoveryModule.h @@ -1,5 +1,12 @@ /** @file
This file declares Device Recovery Module PPI.
+ The interface of this PPI does the following:
+ - Reports the number of recovery DXE capsules that exist on the associated device(s)
+ - Finds the requested firmware binary capsule
+ - Loads that capsule into memory
+ A device can be either a group of devices, such as a block device, or an individual device.T he
+ module determines the internal search order, with capsule number 1 as the highest load priority and
+ number N as the lowest priority.
Copyright (c) 2007, Intel Corporation
All rights reserved. This program and the accompanying materials
diff --git a/IntelFrameworkPkg/Include/Ppi/ReadOnlyVariable.h b/IntelFrameworkPkg/Include/Ppi/ReadOnlyVariable.h index 7c1c65470d..6e6c0873a5 100644 --- a/IntelFrameworkPkg/Include/Ppi/ReadOnlyVariable.h +++ b/IntelFrameworkPkg/Include/Ppi/ReadOnlyVariable.h @@ -1,5 +1,10 @@ /** @file
This file declares Read-only Variable Service PPI
+ These services provide a lightweight, read-only variant of the full EFI variable services. The
+ reason that these services are read-only is to reduce the complexity of flash management. Also,
+ some implementation of the PEI may use the same physical flash part for variable and PEIM
+ storage; as such, a write command to certain technologies would alter the contents of the entire part,
+ thus making the in situ PEIM execution not follow the required flow.
Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials
diff --git a/IntelFrameworkPkg/Include/Ppi/RecoveryModule.h b/IntelFrameworkPkg/Include/Ppi/RecoveryModule.h index 02b71837fe..adfe436d5f 100644 --- a/IntelFrameworkPkg/Include/Ppi/RecoveryModule.h +++ b/IntelFrameworkPkg/Include/Ppi/RecoveryModule.h @@ -1,5 +1,6 @@ /** @file
- This file declares Recovery Module PPI.
+ This file declares Recovery Module PPI.
+ This PPI is used to find and load the recovery files.
Copyright (c) 2007, Intel Corporation
All rights reserved. This program and the accompanying materials
diff --git a/IntelFrameworkPkg/Include/Ppi/S3Resume.h b/IntelFrameworkPkg/Include/Ppi/S3Resume.h index cbb38f5722..b04a62ab79 100644 --- a/IntelFrameworkPkg/Include/Ppi/S3Resume.h +++ b/IntelFrameworkPkg/Include/Ppi/S3Resume.h @@ -1,6 +1,22 @@ /** @file
- This file declares S3 Resume PPI.
-
+ This file declares S3 Resume PPI which accomplishes the firmware S3 resume boot path
+ and transfers control to OS.
+
+ This PPI is published by the S3 resume PEIM and can be used on the S3 resume boot path to
+ restore the platform to its preboot configuration and transfer control to OS. The information that is
+ required for an S3 resume can be saved during the normal boot path using
+ EFI_ACPI_S3_SAVE_PROTOCOL. This presaved information can then be restored in the S3
+ resume boot path using EFI_PEI_S3_RESUME_PPI. Architecturally, the S3 resume PEIM is the
+ last PEIM to be dispatched in the S3 resume boot path.
+ Before using this PPI, the caller has to ensure the necessary information for the S3 resume, such as
+ the following, is available for the S3 resume boot path:
+ - EFI_ACPI_S3_RESUME_SCRIPT_TABLE script table. Type
+ EFI_ACPI_S3_RESUME_SCRIPT_TABLE is defined in the Intel® Platform Innovation
+ Framework for EFI Boot Script Specification.
+ - OS waking vector.
+ - The reserved memory range to be used for the S3 resume.
+ Otherwise, the S3 resume boot path may fail.
+
Copyright (c) 2007, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
diff --git a/IntelFrameworkPkg/Include/Ppi/SectionExtraction.h b/IntelFrameworkPkg/Include/Ppi/SectionExtraction.h index e872bf78c9..7d2ea98e0a 100644 --- a/IntelFrameworkPkg/Include/Ppi/SectionExtraction.h +++ b/IntelFrameworkPkg/Include/Ppi/SectionExtraction.h @@ -1,5 +1,7 @@ /** @file
This file declares Section Extraction PPI.
+ This PPI supports encapsulating sections, such as GUIDed sections used to authenticate the file
+ encapsulation of other domain-specific wrapping.
Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials
diff --git a/IntelFrameworkPkg/Include/Ppi/Security.h b/IntelFrameworkPkg/Include/Ppi/Security.h index 4656e57774..8c7adb6fa0 100644 --- a/IntelFrameworkPkg/Include/Ppi/Security.h +++ b/IntelFrameworkPkg/Include/Ppi/Security.h @@ -1,6 +1,10 @@ /** @file
This file declares Security Architectural PPI.
-
+
+ This PPI is installed by some platform PEIM that abstracts the security policy to the PEI
+ Foundation, namely the case of a PEIM¡¯s authentication state being returned during the PEI section
+ extraction process.
+
Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
diff --git a/IntelFrameworkPkg/Include/Ppi/Smbus.h b/IntelFrameworkPkg/Include/Ppi/Smbus.h index e179d0ceb3..afb2491086 100644 --- a/IntelFrameworkPkg/Include/Ppi/Smbus.h +++ b/IntelFrameworkPkg/Include/Ppi/Smbus.h @@ -1,5 +1,6 @@ /** @file
- This file declares Smbus PPI.
+ This file declares Smbus PPI which provides the basic I/O interfaces that a PEIM
+ uses to access its SMBus controller and the slave devices attached to it.
Copyright (c) 2007, Intel Corporation
All rights reserved. This program and the accompanying materials
diff --git a/IntelFrameworkPkg/Include/Protocol/AcpiS3Save.h b/IntelFrameworkPkg/Include/Protocol/AcpiS3Save.h index a64ffd4531..0ef70175b6 100644 --- a/IntelFrameworkPkg/Include/Protocol/AcpiS3Save.h +++ b/IntelFrameworkPkg/Include/Protocol/AcpiS3Save.h @@ -1,5 +1,8 @@ /** @file
-
+ This protocol is used to prepare all information that is needed for the S3 resume boot path. This
+ protocol is not required for all platforms.
+ This protocol is defined in framework S3Resume v0.9, page 21.
+
Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -9,13 +12,6 @@ http://opensource.org/licenses/bsd-license.php THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-Module Name:
-
- AcpiS3Save.h
-
-Abstract:
-
-
**/
#ifndef _ACPI_S3_SAVE_PROTOCOL_H
diff --git a/IntelFrameworkPkg/Include/Protocol/AcpiSupport.h b/IntelFrameworkPkg/Include/Protocol/AcpiSupport.h index 8955e8e028..c22f637451 100644 --- a/IntelFrameworkPkg/Include/Protocol/AcpiSupport.h +++ b/IntelFrameworkPkg/Include/Protocol/AcpiSupport.h @@ -1,6 +1,15 @@ /** @file
- Definition of the ACPI Support protocol.
+ This protocol provides some basic services to support publishing ACPI system tables. The
+ services handle many of the more mundane tasks that are required to publish a set of tables. The
+ services will do the following:
+ - Generate common tables.
+ - Update the table links.
+ - Ensure that tables are properly aligned and use correct types of memory.
+ - Update checksum values and IDs.
+ - Complete the final installation of the tables.
+ This is defined in the ACPI Specification 0.9.
+
Copyright (c) 2007, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -10,11 +19,6 @@ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
- Module Name: AcpiSupport.h
-
- @par Revision Reference:
- This is defined in the ACPI Specification 0.9.
-
**/
#ifndef _ACPI_SUPPORT_PROTOCOL_H_
diff --git a/IntelFrameworkPkg/Include/Protocol/BootScriptSave.h b/IntelFrameworkPkg/Include/Protocol/BootScriptSave.h index cb1a9c98af..828cb8c46e 100644 --- a/IntelFrameworkPkg/Include/Protocol/BootScriptSave.h +++ b/IntelFrameworkPkg/Include/Protocol/BootScriptSave.h @@ -1,5 +1,6 @@ /** @file
- Definition of the Boot Script Save protocol.
+ This protocol is used to store or record various boot scripts into boot
+ script tables.
Copyright (c) 2007, Intel Corporation
All rights reserved. This program and the accompanying materials
@@ -10,8 +11,6 @@ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
- Module Name: BootScriptSave.h
-
@par Revision Reference:
This protocol defined in the Boot Script Specification, Version 0.91.
|