Commit Graph

6 Commits

Author SHA1 Message Date
Alan Stokes dfca76c8d1 rialto: Apply timeout to VM exit in test
Now that we have wait_for_death_with_timeout, use it.

Test: Hack VM to not exit, see timeout error
Change-Id: I4f9d03f6de6d441277c949d148c8fd3b30c8f88e
2022-08-03 13:34:24 +01:00
David Brazdil b6463c911a rialto: Remove activate_kernel_pgt function
Minor cleanup. Just call the activate() function from init_kernel_pgt.

Test: atest rialto_test
Change-Id: Ibc5762d91c06632da5d64e4c4ecddb3b61f8008b
2022-07-12 12:51:34 +01:00
David Brazdil 6629b6e5f8 rialto: Move PT Attributes to global constants
Define global constants for page table attributes.

Test: m rialto
Change-Id: I30d6ed5865112637f43397af3cba4190594aa06b
2022-07-12 12:50:12 +01:00
David Brazdil 05a72fda02 rialto: Remove 'extern crate log'
Add liblog_rust_nostd into the list of rustlibs instead.

Test: m rialto
Change-Id: I12fa74771c50927bbd1a0c70ece43aa09b46cd05
2022-07-12 12:50:12 +01:00
David Brazdil 2022bfbffd rialto: Add rialto_test to presubmit
Test: TH
Change-Id: Idbea7e2bcaf8b796996dc6adfcdc50a2e37cda0d
2022-07-08 15:12:50 +01:00
David Brazdil 66fc120377 rialto: Initial commit
Clone of ./vmbase/example with basic setup code.

Test: atest rialto_test
Change-Id: Id3d4e96674c261316e79c020ff0b1bd88f4363ba
2022-07-08 15:12:50 +01:00