1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
// Copyright (C) 2024 Intel Corporation
// SPDX-License-Identifier: Apache-2.0

//! Simulator control APIs

pub mod breakpoints;
pub mod callbacks;
pub mod configuration;
pub mod control;
pub mod debugger;
pub mod embed;
pub mod hap_consumer;
pub mod host_profiling;
pub mod memory;
pub mod modules;
pub mod paths;
pub mod processor;
pub mod python;
// NOTE: Reverse execution is only available in Simics 6
#[cfg(simics_version = "6")]
pub mod rev_exec;
pub mod script;
pub mod sim_caches;
pub mod sim_conf_object;
pub mod sim_get_class;
// NOTE: Snapshots are only available in Simics 6 starting after 6.0.173
#[cfg(not(any(
    simics_version = "6.0.163",
    simics_version = "6.0.164",
    simics_version = "6.0.165",
    simics_version = "6.0.166",
    simics_version = "6.0.167",
    simics_version = "6.0.168",
    simics_version = "6.0.169",
    simics_version = "6.0.170",
    simics_version = "6.0.171",
    simics_version = "6.0.172",
)))]
pub mod snapshots;

pub use breakpoints::*;
pub use callbacks::*;
pub use configuration::*;
pub use control::*;
pub use debugger::*;
pub use embed::*;
pub use hap_consumer::*;
pub use host_profiling::*;
pub use memory::*;
pub use modules::*;
pub use paths::*;
pub use processor::*;
pub use python::*;
// NOTE: Reverse execution is only available in Simics 6
#[cfg(simics_version = "6")]
pub use rev_exec::*;
pub use script::*;
pub use sim_caches::*;
pub use sim_conf_object::*;
pub use sim_get_class::*;
// NOTE: Snapshots are only available in Simics 6 starting after 6.0.173
#[cfg(not(any(
    simics_version = "6.0.163",
    simics_version = "6.0.164",
    simics_version = "6.0.165",
    simics_version = "6.0.166",
    simics_version = "6.0.167",
    simics_version = "6.0.168",
    simics_version = "6.0.169",
    simics_version = "6.0.170",
    simics_version = "6.0.171",
    simics_version = "6.0.172",
)))]
pub use snapshots::*;