diff --git a/Cargo.lock b/Cargo.lock index fa0ee32df..d3ced2942 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -335,6 +335,7 @@ name = "bao-console" version = "0.1.0" dependencies = [ "cram-hal-service", + "cramium-api", "cramium-hal", "log", "num-derive 0.4.2", @@ -352,6 +353,7 @@ name = "bao-video" version = "0.1.0" dependencies = [ "cram-hal-service", + "cramium-api", "cramium-emu", "cramium-hal", "libm 0.2.8", @@ -972,6 +974,7 @@ name = "cram-hal-service" version = "0.1.0" dependencies = [ "bitfield", + "cramium-api", "cramium-hal", "log", "num-derive 0.4.2", @@ -1018,15 +1021,34 @@ dependencies = [ "xous-api-ticktimer", ] +[[package]] +name = "cramium-api" +version = "0.1.0" +dependencies = [ + "num-derive 0.4.2", + "num-traits", + "rkyv 0.8.8", + "xous 0.9.64 (registry+https://github.com/rust-lang/crates.io-index)", + "xous-api-names", + "xous-ipc 0.10.4 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "cramium-emu" version = "0.1.0" dependencies = [ + "cramium-api", + "log", + "minifb", + "num-derive 0.4.2", + "num-traits", "rand 0.8.5", "rand_core 0.6.4", + "rkyv 0.8.8", "ux-api", "xous 0.9.64 (registry+https://github.com/rust-lang/crates.io-index)", "xous-api-names", + "xous-ipc 0.10.4 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1035,6 +1057,7 @@ version = "0.1.0" dependencies = [ "bitfield", "bitflags 1.3.2", + "cramium-api", "either", "log", "num-derive 0.4.2", @@ -3029,6 +3052,7 @@ dependencies = [ "armv7", "atsama5d27", "com_rs 0.1.0 (git+https://github.com/betrusted-io/com_rs?branch=main)", + "cramium-api", "cramium-hal", "crc 1.8.1", "curve25519-dalek-loader", @@ -6903,6 +6927,7 @@ name = "xous-swapper" version = "0.1.0" dependencies = [ "aes-gcm-siv", + "cramium-api", "cramium-hal", "loader", "log",