]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Base.h
Add the missing Guid header file.
[mirror_edk2.git] / MdePkg / Include / Base.h
index d1b6c82f6ddaeb1c0609ae58c42be309a1bfe4df..031faa7eff7643ee1d2f287ea4faef8db7a081f1 100644 (file)
@@ -70,7 +70,7 @@ struct _LIST_ENTRY {
 #define STATIC    static\r
 \r
 ///\r
-/// Undclared type\r
+/// Undeclared type\r
 ///\r
 #define VOID      void\r
 \r
@@ -223,6 +223,13 @@ struct _LIST_ENTRY {
 //  }\r
 //\r
 \r
+/**\r
+  Return the size of argument that has been aligned to sizeof (UINTN).\r
+\r
+  @param  n    The parameter size is to be aligned.\r
+\r
+  @return The aligned size\r
+**/\r
 #define _INT_SIZE_OF(n) ((sizeof (n) + sizeof (UINTN) - 1) &~(sizeof (UINTN) - 1))\r
 \r
 ///\r
@@ -398,7 +405,7 @@ typedef INTN RETURN_STATUS;
 /**\r
   Produces a RETURN_STATUS code with the highest bit set. \r
 \r
-  @param  StatusCode   The status code value to convert into a warning code.  \r
+  @param  StatusCode    The status code value to convert into a warning code.  \r
                         StatusCode must be in the range 0x00000000..0x7FFFFFFF.\r
 \r
   @return The value specified by StatusCode with the highest bit set.\r
@@ -409,7 +416,7 @@ typedef INTN RETURN_STATUS;
 /**\r
   Produces a RETURN_STATUS code with the highest bit clear. \r
 \r
-  @param  StatusCode   The status code value to convert into a warning code.  \r
+  @param  StatusCode    The status code value to convert into a warning code.  \r
                         StatusCode must be in the range 0x00000000..0x7FFFFFFF.\r
 \r
   @return The value specified by StatusCode with the highest bit clear.\r
@@ -422,7 +429,7 @@ typedef INTN RETURN_STATUS;
 \r
   This function returns TRUE if StatusCode has the high bit set.  Otherwise FALSE is returned.  \r
   \r
-  @param  StatusCode   The status code value to evaluate.\r
+  @param  StatusCode    The status code value to evaluate.\r
 \r
   @retval TRUE          The high bit of StatusCode is set.\r
   @retval FALSE         The high bit of StatusCode is clear.\r
@@ -463,7 +470,7 @@ typedef INTN RETURN_STATUS;
 #define RETURN_BUFFER_TOO_SMALL      ENCODE_ERROR (5)\r
 \r
 ///\r
-/// There is no data oending upon return.\r
+/// There is no data pending upon return.\r
 ///\r
 #define RETURN_NOT_READY             ENCODE_ERROR (6)\r
 \r
@@ -484,7 +491,7 @@ typedef INTN RETURN_STATUS;
 #define RETURN_OUT_OF_RESOURCES      ENCODE_ERROR (9)\r
 \r
 ///\r
-/// An inconsistancy was detected on the file system causing the \r
+/// An inconsistency was detected on the file system causing the \r
 /// operation to fail.\r
 ///\r
 #define RETURN_VOLUME_CORRUPTED      ENCODE_ERROR (10)\r
@@ -547,23 +554,23 @@ typedef INTN RETURN_STATUS;
 #define RETURN_ABORTED               ENCODE_ERROR (21)\r
 \r
 ///\r
-/// An ICMP error occurred during the nrtwork operation.\r
+/// An ICMP error occurred during the network operation.\r
 ///\r
 #define RETURN_ICMP_ERROR            ENCODE_ERROR (22)\r
 \r
 ///\r
-/// A TFTP error occurred during the nrtwork operation.\r
+/// A TFTP error occurred during the network operation.\r
 ///\r
 #define RETURN_TFTP_ERROR            ENCODE_ERROR (23)\r
 \r
 ///\r
-/// A protocol error occurred during the nrtwork operation.\r
+/// A protocol error occurred during the network operation.\r
 ///\r
 #define RETURN_PROTOCOL_ERROR        ENCODE_ERROR (24)\r
 \r
 ///\r
 /// A function encountered an internal version that was\r
-/// iuncomptible with a version requested by the caller.\r
+/// incompatible with a version requested by the caller.\r
 ///\r
 #define RETURN_INCOMPATIBLE_VERSION  ENCODE_ERROR (25)\r
 \r