vmbase: Move crosvm layout to aarch64
Crosvm provide architecture specific memory layout and set of peripheral devices. This commit move layout definition to aarch64 specific code directories as a preparation before adding new CPU architecture.
Bug: 362733888
Test: m libvmbase
Change-Id: Ia8e82eb928d5fdc444581ca6fee145d2324a3591
diff --git a/libs/libvmbase/src/entry.rs b/libs/libvmbase/src/entry.rs
index b681aea..1bd38ca 100644
--- a/libs/libvmbase/src/entry.rs
+++ b/libs/libvmbase/src/entry.rs
@@ -15,9 +15,8 @@
//! Rust entry point.
use crate::{
- bionic, console, heap,
- layout::{UART_ADDRESSES, UART_PAGE_ADDR},
- logger,
+ arch::layout::{UART_ADDRESSES, UART_PAGE_ADDR},
+ bionic, console, heap, logger,
memory::{switch_to_dynamic_page_tables, PAGE_SIZE, SIZE_16KB, SIZE_4KB},
power::{reboot, shutdown},
rand,