mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-03 03:15:20 +00:00
arch: Add TPM Address ranges to layouts
Add TPM's CRB Interface specific address ranges to layouts Signed-off-by: Praveen K Paladugu <prapal@linux.microsoft.com> Co-authored-by: Sean Yoo <t-seanyoo@microsoft.com>
This commit is contained in:
parent
19fdf8bc79
commit
59baa29deb
@ -98,6 +98,11 @@ pub const RAM_START: GuestAddress = GuestAddress(0x4000_0000);
|
|||||||
pub const MEM_32BIT_RESERVED_START: GuestAddress = GuestAddress(0xfc00_0000);
|
pub const MEM_32BIT_RESERVED_START: GuestAddress = GuestAddress(0xfc00_0000);
|
||||||
pub const MEM_32BIT_RESERVED_SIZE: u64 = 0x0400_0000;
|
pub const MEM_32BIT_RESERVED_SIZE: u64 = 0x0400_0000;
|
||||||
|
|
||||||
|
/// TPM Address Range
|
||||||
|
/// This Address range is specific to CRB Interface
|
||||||
|
pub const TPM_START: GuestAddress = GuestAddress(0xfed4_0000);
|
||||||
|
pub const TPM_SIZE: u64 = 0x1000;
|
||||||
|
|
||||||
/// Start of 64-bit RAM.
|
/// Start of 64-bit RAM.
|
||||||
pub const RAM_64BIT_START: GuestAddress = GuestAddress(0x1_0000_0000);
|
pub const RAM_64BIT_START: GuestAddress = GuestAddress(0x1_0000_0000);
|
||||||
|
|
||||||
|
@ -107,6 +107,11 @@ pub const KVM_TSS_SIZE: u64 = (3 * 4) << 10;
|
|||||||
pub const KVM_IDENTITY_MAP_START: GuestAddress = GuestAddress(KVM_TSS_START.0 + KVM_TSS_SIZE);
|
pub const KVM_IDENTITY_MAP_START: GuestAddress = GuestAddress(KVM_TSS_START.0 + KVM_TSS_SIZE);
|
||||||
pub const KVM_IDENTITY_MAP_SIZE: u64 = 4 << 10;
|
pub const KVM_IDENTITY_MAP_SIZE: u64 = 4 << 10;
|
||||||
|
|
||||||
|
/// TPM Address Range
|
||||||
|
/// This Address range is specific to CRB Interface
|
||||||
|
pub const TPM_START: GuestAddress = GuestAddress(0xfed4_0000);
|
||||||
|
pub const TPM_SIZE: u64 = 0x1000;
|
||||||
|
|
||||||
// IOAPIC
|
// IOAPIC
|
||||||
pub const IOAPIC_START: GuestAddress = GuestAddress(0xfec0_0000);
|
pub const IOAPIC_START: GuestAddress = GuestAddress(0xfec0_0000);
|
||||||
pub const IOAPIC_SIZE: u64 = 0x20;
|
pub const IOAPIC_SIZE: u64 = 0x20;
|
||||||
|
Loading…
Reference in New Issue
Block a user