Commit Graph

11 Commits

Author SHA1 Message Date
Andrew Walbran e03395acaa Pass x0-x3 boot values to Rust main function.
Bug: 223166344
Test: Ran --unprotected-vm-with-firmware with patched crosvm.
Test: Ran unprotected VM with crosvm.
Change-Id: I1b7d795ab1964741dac1983d4503aa96de818964
2022-05-12 14:20:22 +00:00
Andrew Walbran f7b6dc88fd Add a heap allocator.
Bug: 223166344
Test: Ran unprotected VM under crosvm.
Change-Id: Ia004b21604ed6f2d0edc7bc7c317f3de35844dcb
2022-05-12 14:20:21 +00:00
Andrew Walbran 5d4e1c9f7c Test BSS and data sections.
Bug: 223166344
Test: Ran unprotected VM under crosvm.
Change-Id: I93eca3ebaa56a58aa670ed62808bfd5d02cc6fa9
2022-05-06 17:36:52 +00:00
Andrew Walbran 6261cf485f Print addresses.
Bug: 223166344
Test: Ran unprotected VM under crosvm.
Change-Id: I6b91d837f3b9d58a2c122ce466cd5abe11b3090c
2022-05-06 17:36:47 +00:00
Andrew Walbran eef9820fed Add example to run as unprotected VM bootloader.
Bug: 223166344
Test: Ran unprotected VM under crosvm.
Change-Id: I4e130bf79852f3cd04883fa8474258f8a5bbe69b
2022-05-06 17:36:36 +00:00
Treehugger Robot 1afdab4cde Merge "Wrap main function, to set up console before and shutdown after." 2022-05-06 16:37:26 +00:00
Treehugger Robot efe7e14950 Merge "Move entry point and exception vector to library." 2022-05-06 15:48:03 +00:00
Andrew Walbran b996b4aa14 Wrap main function, to set up console before and shutdown after.
Bug: 223166344
Test: Ran unprotected VM under crosvm.
Change-Id: Idf1f9d30a5118737134a31c65375cdc293ede117
2022-05-05 15:51:46 +00:00
Andrew Walbran f71e6eece2 Move entry point and exception vector to library.
Bug: 223166344
Test: Ran unprotected VM under crosvm.
Change-Id: Id0189800ff9fc896989c838e3b30d88494e99cd5
2022-05-05 15:51:46 +00:00
Bob Badour 47dac8e277 [LSC] Add LOCAL_LICENSE_KINDS to packages/modules/Virtualization
Added SPDX-license-identifier-Apache-2.0 to:
  vmbase/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: I4123ece073f39e145786ad3dbfeeb551d6a3f2e9
2022-05-05 07:11:36 -07:00
Andrew Walbran dd74b909cb Move common VM functionality into a library.
Bug: 223166344
Test: Ran unprotected VM under crosvm.
Change-Id: I3b027c3a5de037c2adc75cf816518d8db5e10587
2022-04-22 13:23:39 +00:00