]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/Include/Common/BaseTypes.h
Sync basetools' source and binary files with r1707 of the basetools project.
[mirror_edk2.git] / BaseTools / Source / C / Include / Common / BaseTypes.h
index 438d949a6b3575c310c53ae3a28906379a2108c1..43721ae469198d8a3dfa10d1f6251817bc6f703e 100644 (file)
@@ -26,7 +26,7 @@
 #include <stdarg.h>\r
 \r
 //\r
-// Modifiers to absract standard types to aid in debug of problems\r
+// Modifiers to abstract standard types to aid in debug of problems\r
 //\r
 #define CONST     const\r
 #define STATIC    static\r
@@ -38,8 +38,8 @@
 //\r
 #ifndef IN\r
 //\r
-// Some other envirnments use this construct, so #ifndef to prevent\r
-// mulitple definition.\r
+// Some other environments use this construct, so #ifndef to prevent\r
+// multiple definition.\r
 //\r
 #define IN\r
 #define OUT\r
 //\r
 //  Support for variable length argument lists using the ANSI standard.\r
 //  \r
-//  Since we are using the ANSI standard we used the standard nameing and\r
-//  did not folow the coding convention\r
+//  Since we are using the ANSI standard we used the standard naming and\r
+//  did not follow the coding convention\r
 //\r
 //  VA_LIST  - typedef for argument list.\r
 //  VA_START (VA_LIST Marker, argument before the ...) - Init Marker for use.\r
 //  VA_END (VA_LIST Marker) - Clear Marker\r
-//  VA_ARG (VA_LIST Marker, var arg size) - Use Marker to get an argumnet from\r
+//  VA_ARG (VA_LIST Marker, var arg size) - Use Marker to get an argument from\r
 //    the ... list. You must know the size and pass it in this macro.\r
 //\r
 //  example:\r
 #define _CR(Record, TYPE, Field)  ((TYPE *) ((CHAR8 *) (Record) - (CHAR8 *) &(((TYPE *) 0)->Field)))\r
 \r
 ///\r
-///  ALIGN_POINTER - aligns a pointer to the lowest boundry\r
+///  ALIGN_POINTER - aligns a pointer to the lowest boundary\r
 ///\r
 #define ALIGN_POINTER(p, s) ((VOID *) ((UINTN)(p) + (((s) - ((UINTN) (p))) & ((s) - 1))))\r
 \r
 ///\r
-///  ALIGN_VARIABLE - aligns a variable up to the next natural boundry for int size of a processor\r
+///  ALIGN_VARIABLE - aligns a variable up to the next natural boundary for int size of a processor\r
 ///\r
 #define ALIGN_VARIABLE(Value, Adjustment) \\r
   Adjustment = 0U; \\r