commit | 55fb4740bed7489cc28ad975b3b6a7253001ad2d | [log] [tgz] |
---|---|---|
author | Andrew Walbran <qwandor@google.com> | Tue Mar 15 17:33:19 2022 +0000 |
committer | Andrew Walbran <qwandor@google.com> | Wed Apr 20 13:09:44 2022 +0000 |
tree | db3e66777c9770944deec0e0cd9dca502d642005 | |
parent | c1bcb3cff96d44a387add9f92c55902189f2ffe9 [diff] [blame] |
Handle exceptions. Bug: 223166344 Test: Ran unprotected VM under crosvm. Change-Id: Ieaf91f6a13e9245d908b5cc73ecf6e8d19815141
diff --git a/pvmfw/entry.S b/pvmfw/entry.S index e5c6045..f0021be 100644 --- a/pvmfw/entry.S +++ b/pvmfw/entry.S
@@ -145,6 +145,10 @@ adr_l x30, boot_stack_end mov sp, x30 + /* Set up exception vector. */ + adr x30, vector_table_el1 + msr vbar_el1, x30 + /* Call into Rust code. */ bl main