commit | b996b4aa140b3ccd90d4ffac68d34e36f6ad8918 | [log] [tgz] |
---|---|---|
author | Andrew Walbran <qwandor@google.com> | Fri Apr 22 15:15:41 2022 +0000 |
committer | Andrew Walbran <qwandor@google.com> | Thu May 05 15:51:46 2022 +0000 |
tree | ecb49605e211dd06cb0acfd054b63243d629e493 | |
parent | f71e6eece2e09e332aea4d0cc97c2b80ae4212f2 [diff] [blame] |
Wrap main function, to set up console before and shutdown after. Bug: 223166344 Test: Ran unprotected VM under crosvm. Change-Id: Idf1f9d30a5118737134a31c65375cdc293ede117
diff --git a/vmbase/entry.S b/vmbase/entry.S index f0021be..a12e1aa 100644 --- a/vmbase/entry.S +++ b/vmbase/entry.S
@@ -150,7 +150,7 @@ msr vbar_el1, x30 /* Call into Rust code. */ - bl main + bl rust_entry /* Loop forever waiting for interrupts. */ 4: wfi