]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Library/BaseMemEncryptSevLib/X64/MemEncryptSevLib.c
OvmfPkg/MemEncryptSevLib: clean up MemEncryptSevSetPageEncMask() decl
[mirror_edk2.git] / OvmfPkg / Library / BaseMemEncryptSevLib / X64 / MemEncryptSevLib.c
index 5b8bc737645c8f3fdfca51863e62f4b49e86d2e3..f165722ae550d7e8c505617b159db15583c11a93 100644 (file)
@@ -60,25 +60,24 @@ MemEncryptSevClearPageEncMask (
 }\r
 \r
 /**\r
-\r
-  This function clears memory encryption bit for the memory region specified by\r
-  BaseAddress and Number of pages from the current page table context.\r
+  This function sets memory encryption bit for the memory region specified by\r
+  BaseAddress and NumPages from the current page table context.\r
 \r
   @param[in]  Cr3BaseAddress          Cr3 Base Address (if zero then use\r
                                       current CR3)\r
   @param[in]  BaseAddress             The physical address that is the start\r
                                       address of a memory region.\r
-  @param[in]  NumberOfPages           The number of pages from start memory\r
+  @param[in]  NumPages                The number of pages from start memory\r
                                       region.\r
-  @param[in]  Flush                   Flush the caches before clearing the bit\r
+  @param[in]  Flush                   Flush the caches before setting the bit\r
                                       (mostly TRUE except MMIO addresses)\r
 \r
-  @retval RETURN_SUCCESS              The attributes were cleared for the\r
-                                      memory region.\r
+  @retval RETURN_SUCCESS              The attributes were set for the memory\r
+                                      region.\r
   @retval RETURN_INVALID_PARAMETER    Number of pages is zero.\r
-  @retval RETURN_UNSUPPORTED          Clearing the memory encryption attribute\r
+  @retval RETURN_UNSUPPORTED          Setting the memory encryption attribute\r
                                       is not supported\r
-  **/\r
+**/\r
 RETURN_STATUS\r
 EFIAPI\r
 MemEncryptSevSetPageEncMask (\r