mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
update comments
This commit is contained in:
parent
a94dce11f7
commit
c41889b22f
2 changed files with 4 additions and 0 deletions
|
|
@ -89,6 +89,8 @@ impl SwapHal {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Swap is assumed to start at offset 0 in the target device, allowing src_offset to be used
|
||||||
|
/// by the offset tracker (outside this crate) directly
|
||||||
pub fn decrypt_swap_from(
|
pub fn decrypt_swap_from(
|
||||||
&mut self,
|
&mut self,
|
||||||
buf: &mut [u8],
|
buf: &mut [u8],
|
||||||
|
|
|
||||||
|
|
@ -67,6 +67,8 @@ impl SwapHal {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Used to examine contents of swap RAM. Decrypted data is returned as a slice.
|
/// Used to examine contents of swap RAM. Decrypted data is returned as a slice.
|
||||||
|
/// Swap is a 0-offset slice, allowing src_offset to be used by the offset
|
||||||
|
/// tracker (outside this crate) directly
|
||||||
pub fn decrypt_swap_from(
|
pub fn decrypt_swap_from(
|
||||||
&mut self,
|
&mut self,
|
||||||
buf: &mut [u8],
|
buf: &mut [u8],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue