summaryrefslogtreecommitdiffstats
path: root/FatPkg/EnhancedFatDxe/Fat.h
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2016-12-08 13:18:08 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2016-12-09 11:02:08 +0800
commitc1680e885d8a4bc938a0ed4db5370d7e974c1849 (patch)
tree23bf6c7735fb4e57c8a46afc41d12c7c69435df3 /FatPkg/EnhancedFatDxe/Fat.h
parent5d7cee9d3c3e15fd6ad87910d96c87e5aec12360 (diff)
downloadedk2-c1680e885d8a4bc938a0ed4db5370d7e974c1849.tar.gz
FatPkg/EnhancedFatDxe: Make the variable name follow rule
Cc: Ruiyu Ni <ruiyu.ni@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'FatPkg/EnhancedFatDxe/Fat.h')
-rw-r--r--FatPkg/EnhancedFatDxe/Fat.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/FatPkg/EnhancedFatDxe/Fat.h b/FatPkg/EnhancedFatDxe/Fat.h
index b73135cdbc..42aa6476d9 100644
--- a/FatPkg/EnhancedFatDxe/Fat.h
+++ b/FatPkg/EnhancedFatDxe/Fat.h
@@ -128,28 +128,28 @@ typedef CHAR8 LC_ISO_639_2;
// The fat types we support
//
typedef enum {
- FAT12,
- FAT16,
- FAT32,
+ Fat12,
+ Fat16,
+ Fat32,
FatUndefined
} FAT_VOLUME_TYPE;
typedef enum {
- CACHE_FAT,
- CACHE_DATA,
- CACHE_MAX_TYPE
+ CacheFat,
+ CacheData,
+ CacheMaxType
} CACHE_DATA_TYPE;
//
// Used in FatDiskIo
//
typedef enum {
- READ_DISK = 0, // raw disk read
- WRITE_DISK = 1, // raw disk write
- READ_FAT = 2, // read fat cache
- WRITE_FAT = 3, // write fat cache
- READ_DATA = 6, // read data cache
- WRITE_DATA = 7 // write data cache
+ ReadDisk = 0, // raw disk read
+ WriteDisk = 1, // raw disk write
+ ReadFat = 2, // read fat cache
+ WriteFat = 3, // write fat cache
+ ReadData = 6, // read data cache
+ WriteData = 7 // write data cache
} IO_MODE;
#define CACHE_ENABLED(a) ((a) >= 2)
@@ -384,7 +384,7 @@ typedef struct _FAT_VOLUME {
// Disk Cache for this volume
//
VOID *CacheBuffer;
- DISK_CACHE DiskCache[CACHE_MAX_TYPE];
+ DISK_CACHE DiskCache[CacheMaxType];
} FAT_VOLUME;
//
@@ -1100,7 +1100,7 @@ FatResetODirCursor (
EFI_STATUS
FatGetNextDirEnt (
- IN FAT_OFILE *OFILE,
+ IN FAT_OFILE *OFile,
OUT FAT_DIRENT **PtrDirEnt
);