mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
loose ends - api caller-side fixups and lockfile changes
This commit is contained in:
parent
4affb7e979
commit
b8e856a15a
2 changed files with 13 additions and 3 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
|
@ -433,12 +433,14 @@ dependencies = [
|
||||||
"digest 0.10.7",
|
"digest 0.10.7",
|
||||||
"ed25519-dalek-bao1x",
|
"ed25519-dalek-bao1x",
|
||||||
"linked_list_allocator",
|
"linked_list_allocator",
|
||||||
|
"rand_chacha 0.3.1",
|
||||||
"riscv",
|
"riscv",
|
||||||
"sha2",
|
"sha2-bao1x",
|
||||||
"simple-fatfs",
|
"simple-fatfs",
|
||||||
"utralib 0.1.26",
|
"utralib 0.1.26",
|
||||||
"ux-api",
|
"ux-api",
|
||||||
"xous 0.9.67 (registry+https://github.com/rust-lang/crates.io-index)",
|
"xous 0.9.67 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"xous-bio-bdma",
|
||||||
"xous-riscv",
|
"xous-riscv",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1013,11 +1013,19 @@ impl Repl {
|
||||||
let slot_man = bao1x_hal::protected_rram::SlotManager::new();
|
let slot_man = bao1x_hal::protected_rram::SlotManager::new();
|
||||||
crate::println!(
|
crate::println!(
|
||||||
"Slot 0(d): {:x?}",
|
"Slot 0(d): {:x?}",
|
||||||
slot_man.read(&bao1x_api::offsets::SlotIndex::Data(0, PartitionAccess::All))
|
slot_man.read(&bao1x_api::offsets::SlotIndex::Data(
|
||||||
|
0,
|
||||||
|
PartitionAccess::Unspecified,
|
||||||
|
RwPerms::Unspecified
|
||||||
|
))
|
||||||
);
|
);
|
||||||
crate::println!(
|
crate::println!(
|
||||||
"Slot 1(d): {:x?}",
|
"Slot 1(d): {:x?}",
|
||||||
slot_man.read(&bao1x_api::offsets::SlotIndex::Data(1, PartitionAccess::All))
|
slot_man.read(&bao1x_api::offsets::SlotIndex::Data(
|
||||||
|
1,
|
||||||
|
PartitionAccess::Unspecified,
|
||||||
|
RwPerms::Unspecified
|
||||||
|
))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
"echo" => {
|
"echo" => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue