Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pub unsafe fn reset_handler() {
- // Lots of stuff
- for (proc_num, proc_) in PROCESSES.as_ref().iter().enumerate() {
- match proc_ {
- Some(p) => {
- load_process_hook(proc_num as u32, p.package_name, p.flash_non_protected_start() as u32)
- },
- None => (),
- }
- }
- // Enter kernel
- }
- #[no_mangle]
- pub extern fn load_process_hook(proc_num: u32, name: &str, text_addr: u32) {
- debug!("Loading app: index {}, name \"{}\", `.text` 0x{:08x}", proc_num, name, text_addr);
- }
Add Comment
Please, Sign In to add comment