mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-21 07:21:15 +00:00
arch: x86_64: tdx: Fix HobHandoffInfoTable
The handoff table was missing the boot_mode field. Suggested-by: Jiaqi Gao <jiaqi.gao@intel.com> Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
parent
ea0918e5e8
commit
7f507dd77d
@ -144,6 +144,7 @@ unsafe impl ByteValued for HobHeader {}
|
|||||||
struct HobHandoffInfoTable {
|
struct HobHandoffInfoTable {
|
||||||
header: HobHeader,
|
header: HobHeader,
|
||||||
version: u32,
|
version: u32,
|
||||||
|
boot_mode: u32,
|
||||||
efi_memory_top: u64,
|
efi_memory_top: u64,
|
||||||
efi_memory_bottom: u64,
|
efi_memory_bottom: u64,
|
||||||
efi_free_memory_top: u64,
|
efi_free_memory_top: u64,
|
||||||
@ -218,6 +219,7 @@ impl TdHob {
|
|||||||
reserved: 0,
|
reserved: 0,
|
||||||
},
|
},
|
||||||
version: 0x9,
|
version: 0x9,
|
||||||
|
boot_mode: 0,
|
||||||
efi_memory_top: 0,
|
efi_memory_top: 0,
|
||||||
efi_memory_bottom: 0,
|
efi_memory_bottom: 0,
|
||||||
efi_free_memory_top: 0,
|
efi_free_memory_top: 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user