pub mod gic_software_device;
pub mod vm;
pub mod vp;
use crate::state::StateElement;
use inspect::Inspect;
use mesh_protobuf::Protobuf;
use vm_topology::processor::aarch64::Aarch64VpInfo;
#[derive(Debug, PartialEq, Eq, Protobuf)]
pub struct Aarch64InitialRegs {
pub registers: vp::Registers,
pub system_registers: vp::SystemRegisters,
}
impl Aarch64InitialRegs {
pub fn at_reset(caps: &Aarch64PartitionCapabilities, bsp: &Aarch64VpInfo) -> Self {
Self {
registers: vp::Registers::at_reset(caps, bsp),
system_registers: vp::SystemRegisters::at_reset(caps, bsp),
}
}
}
#[derive(Debug, Inspect)]
pub struct Aarch64PartitionCapabilities {}