X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=OvmfPkg%2FInclude%2FLibrary%2FMemEncryptSevLib.h;h=88b272ebedefaeb079ee829ff8846c5e78f66f75;hp=b6753762423e4dd0ccd86b074d29fe58a9ea042d;hb=d4dd22c7bc9f557a20a95c34adf5ceef3b7a744f;hpb=a1f2261425d59e359df30e3a415933def9b7f435 diff --git a/OvmfPkg/Include/Library/MemEncryptSevLib.h b/OvmfPkg/Include/Library/MemEncryptSevLib.h index b675376242..88b272ebed 100644 --- a/OvmfPkg/Include/Library/MemEncryptSevLib.h +++ b/OvmfPkg/Include/Library/MemEncryptSevLib.h @@ -22,9 +22,9 @@ /** Returns a boolean to indicate whether SEV is enabled - @retval TRUE SEV is active + @retval TRUE SEV is enabled @retval FALSE SEV is not enabled - **/ +**/ BOOLEAN EFIAPI MemEncryptSevIsEnabled ( @@ -35,13 +35,15 @@ MemEncryptSevIsEnabled ( This function clears memory encryption bit for the memory region specified by BaseAddress and Number of pages from the current page table context. - @param[in] BaseAddress The physical address that is the start address - of a memory region. - @param[in] NumberOfPages The number of pages from start memory region. + @param[in] BaseAddress The physical address that is the start + address of a memory region. + @param[in] NumberOfPages The number of pages from start memory + region. @param[in] Flush Flush the caches before clearing the bit (mostly TRUE except MMIO addresses) - @retval RETURN_SUCCESS The attributes were cleared for the memory region. + @retval RETURN_SUCCESS The attributes were cleared for the memory + region. @retval RETURN_INVALID_PARAMETER Number of pages is zero. @retval RETURN_UNSUPPORTED Clearing memory encryption attribute is not supported @@ -59,13 +61,15 @@ MemEncryptSevClearPageEncMask ( This function sets memory encryption bit for the memory region specified by BaseAddress and Number of pages from the current page table context. - @param[in] BaseAddress The physical address that is the start address - of a memory region. - @param[in] NumberOfPages The number of pages from start memory region. + @param[in] BaseAddress The physical address that is the start + address of a memory region. + @param[in] NumberOfPages The number of pages from start memory + region. @param[in] Flush Flush the caches before clearing the bit (mostly TRUE except MMIO addresses) - @retval RETURN_SUCCESS The attributes were set for the memory region. + @retval RETURN_SUCCESS The attributes were set for the memory + region. @retval RETURN_INVALID_PARAMETER Number of pages is zero. @retval RETURN_UNSUPPORTED Clearing memory encryption attribute is not supported