Skip to main content

corevm_engine/
lib.rs

1//! CoreVM engine.
2//!
3//! This engine is used to run CoreVM services inside JAM. It can also be used to simulate running
4//! CoreVM service on the builder's side to predict which memory pages will be used by the service.
5
6#![no_std]
7
8extern crate alloc;
9
10#[cfg(test)]
11extern crate std;
12
13mod accumulate;
14mod bundle;
15mod engine;
16mod error;
17mod handlers;
18mod host_calls;
19mod kernel;
20mod mem;
21mod output;
22mod page_mapper;
23mod pretty;
24mod program_data;
25mod pvm;
26#[cfg(feature = "sim")]
27mod simulator;
28#[cfg(test)]
29mod testing;
30mod time;
31mod util;
32mod work_output;
33
34use self::{
35	bundle::*, handlers::*, kernel::*, output::*, page_mapper::*, pretty::*, program_data::*,
36	pvm::*, time::*, util::*, work_output::*,
37};
38
39#[cfg(feature = "sim")]
40pub use self::simulator::*;
41
42pub use self::{accumulate::*, engine::*, error::*, host_calls::*};