]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkPkg/Include/Protocol/SmmBase.h
Committing changes to the comments, after review with engineers.
[mirror_edk2.git] / IntelFrameworkPkg / Include / Protocol / SmmBase.h
index 264c2429e0f26c860ee0d9e624892cfb2c0dda28..8a73549b37ed6a9cafd3ea79d45bdcace9b37e77 100644 (file)
@@ -1,11 +1,11 @@
 /** @file\r
   This file declares SMM Base abstraction protocol.\r
   This protocol is used to install SMM handlers for support of subsequent SMI/PMI activations. This\r
-  protocol is available on both IA-32 and Itanium based systems.\r
+  protocol is available on both IA-32 and Itanium-based systems.\r
  \r
   The EFI_SMM_BASE_PROTOCOL is a set of services that is exported by a processor device. It is\r
   a required protocol for the platform processor. This protocol can be used in both boot services and\r
-  runtime mode. However, only the following member functions need to exist into runtime:\r
+  runtime mode. However, only the following member functions need to exist during runtime:\r
   - InSmm()\r
   - Communicate()\r
   This protocol is responsible for registering the handler services. The order in which the handlers are\r
@@ -85,7 +85,7 @@ typedef struct {
                                     to uniquely designate a specific DXE SMM driver.\r
   @param[in]  CommunicationBuffer   A pointer to a collection of data in memory\r
                                     that will be conveyed from a non-SMM environment into an SMM environment.\r
-                                    The buffer must be contiguous, physically mapped, and be a physical address.\r
+                                    The buffer must be contiguous and physically mapped, and must be a physical address.\r
   @param[in]  SourceSize            The size of the CommunicationBuffer.\r
 \r
   @return     Status code\r
@@ -103,24 +103,24 @@ EFI_STATUS
 // SMM Base Protocol Definition\r
 //\r
 /**\r
-  Register a given driver into SMRAM.This is the equivalent of performing\r
+  Register a given driver into SMRAM. This is the equivalent of performing\r
   the LoadImage/StartImage into System Management Mode.\r
 \r
   @param[in]   This                  Protocol instance pointer.\r
   @param[in]   FilePath              Location of the image to be installed as the handler.\r
-  @param[in]   SourceBuffer          Optional source buffer in case of the image file\r
-                                     being in memory.\r
+  @param[in]   SourceBuffer          Optional source buffer in case the image file\r
+                                     is in memory.\r
   @param[in]   SourceSize            Size of the source image file, if in memory.\r
   @param[out]  ImageHandle           The handle that the base driver uses to decode \r
                                      the handler. Unique among SMM handlers only, \r
                                      not unique across DXE/EFI.\r
-  @param[in]   LegacyIA32Binary      An optional parameter that details that the associated \r
+  @param[in]   LegacyIA32Binary      An optional parameter specifying that the associated \r
                                      file is a real-mode IA-32 binary.\r
 \r
   @retval      EFI_SUCCESS           The operation was successful.\r
   @retval      EFI_OUT_OF_RESOURCES  There were no additional SMRAM resources to load the handler\r
   @retval      EFI_UNSUPPORTED       This platform does not support 16-bit handlers.\r
-  @retval      EFI_UNSUPPORTED       In runtime.\r
+  @retval      EFI_UNSUPPORTED       Platform is in runtime.\r
   @retval      EFI_INVALID_PARAMETER The handlers was not the correct image type\r
 \r
 **/\r
@@ -144,7 +144,7 @@ EFI_STATUS
 \r
   @retval     EFI_SUCCESS           The operation was successful\r
   @retval     EFI_INVALID_PARAMETER The handler did not exist\r
-  @retval     EFI_UNSUPPORTED       In runtime.\r
+  @retval     EFI_UNSUPPORTED       Platform is in runtime.\r
 \r
 **/\r
 typedef\r
@@ -156,7 +156,7 @@ EFI_STATUS
 \r
 /**\r
   The SMM Inter-module Communicate Service Communicate() function\r
-  provides a services to send/received messages from a registered\r
+  provides a service to send/receive messages from a registered\r
   EFI service.  The BASE protocol driver is responsible for doing\r
   any of the copies such that the data lives in boot-service-accessible RAM.\r
 \r
@@ -189,14 +189,14 @@ EFI_STATUS
   @param[in]  CallbackAddress       Address of the callback service.\r
   @param[in]  MakeLast              If present, will stipulate that the handler is posted to \r
                                     be executed last in the dispatch table.\r
-  @param[in]  FloatingPointSave     This is an optional parameter which informs the\r
+  @param[in]  FloatingPointSave     An optional parameter that informs the\r
                                     EFI_SMM_ACCESS_PROTOCOL Driver core if it needs to save\r
-                                    the floating point register state. If any of the handlers\r
-                                    require this, then the state will be saved for all of the handlers.\r
+                                    the floating point register state. If any handler\r
+                                    require this, the state will be saved for all handlers.\r
 \r
   @retval     EFI_SUCCESS           The operation was successful\r
   @retval     EFI_OUT_OF_RESOURCES  Not enough space in the dispatch queue\r
-  @retval     EFI_UNSUPPORTED       In runtime.\r
+  @retval     EFI_UNSUPPORTED       Platform is in runtime.\r
   @retval     EFI_UNSUPPORTED       The caller is not in SMM.\r
 \r
 **/\r
@@ -228,7 +228,7 @@ EFI_STATUS
 \r
   @retval      EFI_SUCCESS           The requested number of bytes was allocated.\r
   @retval      EFI_OUT_OF_RESOURCES  The pool requested could not be allocated.\r
-  @retval      EFI_UNSUPPORTED       In runtime.\r
+  @retval      EFI_UNSUPPORTED       Platform is in runtime.\r
 \r
 **/\r
 typedef\r
@@ -250,7 +250,7 @@ EFI_STATUS
 \r
   @retval     EFI_SUCCESS           The memory was returned to the system.\r
   @retval     EFI_INVALID_PARAMETER Buffer was invalid.\r
-  @retval     EFI_UNSUPPORTED       In runtime.\r
+  @retval     EFI_UNSUPPORTED       Platform is in runtime.\r
 \r
 **/\r
 typedef\r
@@ -280,7 +280,7 @@ EFI_STATUS
   );\r
 \r
 /**\r
-  The GetSmstLocation() function returns the locatin of the System Management\r
+  The GetSmstLocation() function returns the location of the System Management\r
   Service Table.  The use of the API is such that a driver can discover the\r
   location of the SMST in its entry point and then cache it in some driver\r
   global variable so that the SMST can be invoked in subsequent callbacks.\r