update api to inclued perclk_freq

This commit is contained in:
bunnie 2024-11-20 01:43:25 +08:00
parent de12d0f73a
commit 391fb84f00

View file

@ -96,7 +96,7 @@ pub unsafe extern "C" fn rust_entry(signed_buffer: *const usize, signature: u32)
let perclk_freq = 0;
#[cfg(feature = "cramium-soc")]
crate::platform::process_update();
crate::platform::process_update(perclk_freq);
// initially validate the whole image on disk (including kernel args)
// kernel args must be validated because tampering with them can change critical assumptions about