Use hardcoded pagetable initially.
This pagetable is built into the binary, and maps device memory and
enough RAM for the DT and image. It can later be replaced by a proper
pagetable built in Rust.
Using a hardcoded pagetable means we avoid making any memory access
before enabling it, which avoids a bunch of cache issues.
Bug: 223166344
Test: Ran unprotected VM under crosvm.
Change-Id: I567e377ab93881aa357428f750b11be6b3aad034
diff --git a/pvmfw/Android.bp b/pvmfw/Android.bp
index d94334c..7123da4 100644
--- a/pvmfw/Android.bp
+++ b/pvmfw/Android.bp
@@ -21,6 +21,7 @@
name: "pvmfw",
srcs: [
"entry.S",
+ "idmap.S",
],
static_libs: [
"libpvmfw",