From 2198baa5470d822d83e8da13f4ca46e71117817b Mon Sep 17 00:00:00 2001 From: Sebastien Boeuf Date: Wed, 15 Dec 2021 14:13:57 +0100 Subject: [PATCH] arch: x86_64: tdx: Extend TDVF section types Based on the recent updates of the TDVF specification introducing new types of TDVF sections, let's extend the enum in our code. Signed-off-by: Sebastien Boeuf --- arch/src/x86_64/tdx/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/src/x86_64/tdx/mod.rs b/arch/src/x86_64/tdx/mod.rs index 89c0bdec1..a644d1577 100644 --- a/arch/src/x86_64/tdx/mod.rs +++ b/arch/src/x86_64/tdx/mod.rs @@ -52,6 +52,9 @@ pub enum TdvfSectionType { Cfv, TdHob, TempMem, + PermMem, + Payload, + PayloadParam, Reserved = 0xffffffff, }