diff options
author | Tom Lendacky <thomas.lendacky@amd.com> | 2024-03-08 07:30:49 -0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-04-17 18:30:03 +0000 |
commit | 5fe9db0f8220aa10ecb8c15f3188e024982111a7 (patch) | |
tree | 47d31c08d913dac18194e93371a0d9a6f04320c5 /BaseTools/Source/Python/FirmwareStorageFormat/FfsFileHeader.py | |
parent | 6b14ef6b282821c82ba40bad78f8afb7bca5d077 (diff) | |
download | edk2-5fe9db0f8220aa10ecb8c15f3188e024982111a7.tar.gz edk2-5fe9db0f8220aa10ecb8c15f3188e024982111a7.tar.bz2 edk2-5fe9db0f8220aa10ecb8c15f3188e024982111a7.zip |
OvmfPkg/BaseMemEncryptSevLib: Calculate memory size for Page State Change
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4654
Calculate the amount of memory that can be use to build the Page State
Change data (SNP_PAGE_STATE_CHANGE_INFO) instead of using a hard-coded
size. This allows for changes to the GHCB shared buffer size without
having to make changes to the page state change code.
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Erdem Aktas <erdemaktas@google.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Michael Roth <michael.roth@amd.com>
Cc: Min Xu <min.m.xu@intel.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Diffstat (limited to 'BaseTools/Source/Python/FirmwareStorageFormat/FfsFileHeader.py')
0 files changed, 0 insertions, 0 deletions