tdx: Add "tdx" feature with an empty module inside arch to implement

Add the skeleton of the "tdx" feature with a module ready inside the
arch crate to store implementation details.

TEST=cargo build --features="tdx"

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2021-02-03 10:02:18 +00:00
parent fd9bd1c86c
commit e61ee6bcac
5 changed files with 9 additions and 0 deletions

View File

@@ -25,6 +25,8 @@ use vm_memory::{
};
mod smbios;
use std::arch::x86_64;
#[cfg(feature = "tdx")]
pub mod tdx;
#[derive(Debug, Copy, Clone)]
pub enum BootProtocol {

View File

@@ -0,0 +1,4 @@
// Copyright © 2021 Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0