update comments

This commit is contained in:
bunnie 2024-05-13 14:04:33 +08:00
parent a94dce11f7
commit c41889b22f
2 changed files with 4 additions and 0 deletions

View file

@ -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(
&mut self,
buf: &mut [u8],

View file

@ -67,6 +67,8 @@ impl SwapHal {
}
/// 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(
&mut self,
buf: &mut [u8],