You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: rtos-docs/filex/chapter6.md
+2-15Lines changed: 2 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,15 +54,15 @@ The Log Header area is followed by the FAT Chain Log area. Figure 9 contains inf
54
54
|Field|Size(in bytes)|Description|
55
55
|-----|--------------|-----------|
56
56
|FAT Chain Log Checksum|2|Checksum of the entire FAT Chain Log area. The FAT Chain Log area is considered invalid if the it fails the checksum verification.|
57
-
|Flag|1|Valid flag values are:<br/>0x01 FAT Chain Valid<br />0x02 BITMAP is being used|
57
+
|Flag|1|Valid flag values are:<br/>0x01 FAT Chain Valid|
58
58
|Reserved|1|Reserved for future use|
59
59
|Insertion Point – Front|4|The cluster (that belongs to the original FAT chain) where the newly created chain is going to be attached to.|
60
60
|Head Cluster of New FAT Chain|4|The first cluster of the newly created FAT Chain|
61
61
|Head Cluster of Original FAT Chain|4|The first cluster of the portion of the original FAT Chain that is to be removed.|
62
62
|Insertion Point – Back|4|The original cluster where the newly created FAT chain joins at.|
63
63
|Next Deletion Point|4|This field assists the FAT chain cleanup procedure.|
64
64
65
-
The Log Entries Area contains log entries that describe the changes needed to recover from a failure. There are three types of log entry supported in the FileX fault tolerant module: FAT Log Entry; Directory Log Entry; and Bitmap Log Entry.
65
+
The Log Entries Area contains log entries that describe the changes needed to recover from a failure. There are three types of log entry supported in the FileX fault tolerant module: FAT Log Entry; Directory Log Entry.
66
66
67
67
The following three figures and three tables describe these log entries in detail.
68
68
@@ -93,19 +93,6 @@ Type|2|Type of Entry, must be FX_FAULT_TOLERANT_FAT_LOG_TYPE|
93
93
|Log Sector|4|The sector where the directory entry is located|
94
94
|Log Data|Variable|Content of the directory entry|
|Type|2|Type of Entry, must be FX_FAULT_TOLERANT_BITMAP_LOG_TYPE|
105
-
|Size|2|Size of this entry|
106
-
|Cluster Number|4|Cluster number|
107
-
|Value|4|Value to be written into the FAT entry|
108
-
109
96
## Fault Tolerant Protection
110
97
111
98
After the FileX Fault Tolerant Module starts, it first searches for an existing fault tolerant log file in the media. If a valid log file cannot be found, FileX considers the media unprotected. In this case FileX will create a fault tolerant log file on the media.
0 commit comments