]> git.proxmox.com Git - mirror_edk2.git/commit - OvmfPkg/OvmfPkgX64.dsc
OvmfPkg/BaseMemcryptSevLib: Add SEV helper library
authorBrijesh Singh <brijesh.singh@amd.com>
Thu, 6 Jul 2017 13:21:12 +0000 (09:21 -0400)
committerJordan Justen <jordan.l.justen@intel.com>
Tue, 11 Jul 2017 04:17:27 +0000 (21:17 -0700)
commita1f2261425d59e359df30e3a415933def9b7f435
tree0a36000c2d1cedbdeb8a080f470c63b8f91e161f
parent97353a9c914d4bf53ad084689ade0675b71a5c48
OvmfPkg/BaseMemcryptSevLib: Add SEV helper library

Add Secure Encrypted Virtualization (SEV) helper library.
The library provides the routines to:
-  set or clear memory encryption bit for a given memory region.
-  query whether SEV is enabled.

Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Acked-by: Jordan Justen <jordan.l.justen@intel.com>
OvmfPkg/Include/Library/MemEncryptSevLib.h [new file with mode: 0644]
OvmfPkg/Library/BaseMemEncryptSevLib/BaseMemEncryptSevLib.inf [new file with mode: 0644]
OvmfPkg/Library/BaseMemEncryptSevLib/Ia32/MemEncryptSevLib.c [new file with mode: 0644]
OvmfPkg/Library/BaseMemEncryptSevLib/MemEncryptSevLibInternal.c [new file with mode: 0644]
OvmfPkg/Library/BaseMemEncryptSevLib/X64/MemEncryptSevLib.c [new file with mode: 0644]
OvmfPkg/Library/BaseMemEncryptSevLib/X64/VirtualMemory.c [new file with mode: 0644]
OvmfPkg/Library/BaseMemEncryptSevLib/X64/VirtualMemory.h [new file with mode: 0644]
OvmfPkg/OvmfPkgIa32.dsc
OvmfPkg/OvmfPkgIa32X64.dsc
OvmfPkg/OvmfPkgX64.dsc