Skip to content

Commit f80808f

Browse files
committed
rhs-inlining
1 parent 4b60bdd commit f80808f

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

tock/kernel/src/lib.rs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2583,16 +2583,13 @@ pub fn load_processes<C: Chip>(
25832583
fault_response: FaultResponse,
25842584
_capability: &dyn ProcessManagementCapability,
25852585
) {
2586-
let mut apps_in_flash_ptr = start_of_flash;
2587-
let mut app_memory_ptr = app_memory.as_mut_ptr();
2588-
let mut app_memory_size = app_memory.len();
25892586
unsafe {
25902587
Process::create(
25912588
kernel,
25922589
chip,
2593-
apps_in_flash_ptr,
2594-
app_memory_ptr,
2595-
app_memory_size,
2590+
start_of_flash,
2591+
app_memory.as_mut_ptr(),
2592+
app_memory.len(),
25962593
fault_response,
25972594
0,
25982595
);

0 commit comments

Comments
 (0)