]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.c
Update Comments
[mirror_edk2.git] / MdeModulePkg / Universal / FirmwareVolume / FaultTolerantWriteDxe / FtwLite.c
index c7897cd58d0f9327e29f037e1a566702f8cbedaa..76e3cb3b8fa5b06becd73553db2216dd01a23e14 100644 (file)
@@ -17,7 +17,7 @@
   \r
   The write record has three states to specify the different phase of write operation.\r
   1) WRITE_ALLOCATED is that the record is allocated in write space.\r
-     The write record structure records the information of write operation.\r
+     The information of write operation is stored in write record structure.\r
   2) SPARE_COMPLETED is that the data from write buffer is writed into the spare block as the backup.\r
   3) WRITE_COMPLETED is that the data is copied from the spare block to the target block.\r
 \r
@@ -423,7 +423,6 @@ FtwWriteRecord (
 \r
   //\r
   // IF target block is working block, THEN Flush Spare Block To Working Block;\r
-  // ELSE IF target block is boot block, THEN Flush Spare Block To boot Block;\r
   // ELSE flush spare block to normal target block.ENDIF\r
   //\r
   if (IsInWorkingBlock (FtwLiteDevice, Fvb, Record->Lba)) {\r
@@ -444,7 +443,7 @@ FtwWriteRecord (
     Status = FlushSpareBlockToWorkingBlock (FtwLiteDevice);\r
   } else {\r
     //\r
-    // Update blocks other than working block or boot block\r
+    // Update blocks other than working block\r
     //\r
     Status = FlushSpareBlockToTargetBlock (FtwLiteDevice, Fvb, Record->Lba);\r
   }\r