igvm_defs/dt.rs
1// SPDX-License-Identifier: MIT
2//
3// Copyright (c) Microsoft Corporation.
4
5//! Device tree (DT) specific information related to IGVM.
6
7/// The property name to describe IGVM type specific information on a DT node.
8///
9/// A DT memory node is extended with the IGVM type property to describe the
10/// IGVM memory type for that node. This is encoded as a u32 value containing
11/// the type defined by [`crate::MemoryMapEntryType`].
12pub const IGVM_DT_IGVM_TYPE_PROPERTY: &str = "microsoft,igvm-type";
13
14/// The property name to describe VTL specific information on a DT node.
15///
16/// A DT VMBUS root node is extended with the VTL property to describe the VTL
17/// this root node is for. VTL is encoded as a u32 value.
18pub const IGVM_DT_VTL_PROPERTY: &str = "microsoft,vtl";