Skip to content

Commit 84e6e3d

Browse files
committed
remove references to stored_state field.
1 parent 48955c9 commit 84e6e3d

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

tock/kernel/src/lib.rs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3067,12 +3067,6 @@ impl<C: Chip> ProcessType for Process<'a, C> {
30673067
flash_start
30683068
));
30693069

3070-
self.chip.userspace_kernel_boundary().process_detail_fmt(
3071-
self.sp(),
3072-
&self.stored_state.get(),
3073-
writer,
3074-
);
3075-
30763070
self.mpu_config.map(|config| {
30773071
let _ = writer.write_fmt(format_args!("{}", config));
30783072
});
@@ -3205,7 +3199,7 @@ impl<C: 'static + Chip> Process<'a, C> {
32053199

32063200
process.flash = slice::from_raw_parts(app_flash_address, app_flash_size);
32073201

3208-
process.stored_state = Cell::new(Default::default());
3202+
// process.stored_state = Cell::new(Default::default());
32093203
process.state = Cell::new(State::Unstarted);
32103204
process.fault_response = fault_response;
32113205

@@ -3246,6 +3240,7 @@ impl<C: 'static + Chip> Process<'a, C> {
32463240
}));
32473241
});
32483242

3243+
/*
32493244
let mut stored_state = process.stored_state.get();
32503245
match chip.userspace_kernel_boundary().initialize_new_process(
32513246
process.sp(),
@@ -3263,6 +3258,7 @@ impl<C: 'static + Chip> Process<'a, C> {
32633258
return (None, app_flash_size, 0);
32643259
}
32653260
};
3261+
*/
32663262

32673263
kernel.increment_work();
32683264

0 commit comments

Comments
 (0)