move the PCI MMIO regions on aarch64
Some guest changes were required:
* microdroid: PCI CAM base is hardcoded in the bootconfig. Should be
migrated to `androidboot.boot_part_uuid` to avoid this.
* libvmbase: `MMIO_END` was incorrect. Shouldn't need to be updated
again for similar future changes.
* vmbase_example: Assumed all MMIO is in first GiB.
* platform.dts: Possibly working as intended
Bug: 361390145
Bug: 376480819
Test: packages/modules/Virtualization/android/vm/vm_shell.sh start-microdroid --auto-connect -- --enable-earlycon
Test: packages/modules/Virtualization/android/vm/vm_shell.sh start-microdroid --auto-connect -- --enable-earlycon --protected
Test: atest rialto
Change-Id: Ie4d09d4d7504dfc1022d0cf675af77c97750c257
diff --git a/libs/libvmbase/src/layout/crosvm.rs b/libs/libvmbase/src/layout/crosvm.rs
index d859b20..39a8147 100644
--- a/libs/libvmbase/src/layout/crosvm.rs
+++ b/libs/libvmbase/src/layout/crosvm.rs
@@ -21,10 +21,13 @@
/// The start address of MMIO space.
pub const MMIO_START: usize = 0x0;
/// The end address of MMIO space.
-pub const MMIO_END: usize = 0x4000_0000;
+pub const MMIO_END: usize = PVMFW_START;
/// MMIO range.
pub const MMIO_RANGE: Range<usize> = MMIO_START..MMIO_END;
+/// Start pvmfw region.
+pub const PVMFW_START: usize = 0x7fc00000;
+
/// The start of the system's contiguous "main" memory.
pub const MEM_START: usize = 0x8000_0000;