#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
//\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