]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Base.h
correct a operation mistake
[mirror_edk2.git] / MdePkg / Include / Base.h
index d1b6c82f6ddaeb1c0609ae58c42be309a1bfe4df..734886fbe7122be6ba46d432d8e1e502fc111a15 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