\r
#include <Uefi.h>\r
\r
-\r
#include <Protocol/UnicodeCollation.h>\r
\r
#include <Library/DebugLib.h>\r
#include <Library/PcdLib.h>\r
\r
//\r
-// Defines\r
+// Bit mask to indicate the validity of character in FAT file name.\r
//\r
#define CHAR_FAT_VALID 0x01\r
\r
-#define TO_UPPER(a) (CHAR16) (a <= 0xFF ? mEngUpperMap[a] : a)\r
-#define TO_LOWER(a) (CHAR16) (a <= 0xFF ? mEngLowerMap[a] : a)\r
+//\r
+// Maximum FAT table size.\r
+//\r
+#define MAP_TABLE_SIZE 0x100\r
+\r
+//\r
+// Macro to map character a to upper case.\r
+//\r
+#define TO_UPPER(a) (CHAR16) ((a) <= 0xFF ? mEngUpperMap[a] : (a))\r
+\r
+//\r
+// Macro to map character a to lower case.\r
+//\r
+#define TO_LOWER(a) (CHAR16) ((a) <= 0xFF ? mEngLowerMap[a] : (a))\r
\r
//\r
// Prototypes\r