Skip to content

Commit

Permalink
tiny fixes for rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
enjhnsn2 committed Aug 1, 2024
1 parent 2654934 commit 27deba7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions arch/cortex-m/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ use core::fmt::Write;
#[cfg(all(target_arch = "arm", target_os = "none"))]
use core::arch::global_asm;

#[flux::ignore]
pub mod dcb;
#[flux::ignore]
pub mod dwt;
pub mod mpu;
#[flux::ignore]
Expand Down
3 changes: 2 additions & 1 deletion kernel/src/kernel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ use crate::syscall::{Syscall, YieldCall};
use crate::syscall_driver::CommandReturn;
use crate::upcall::{Upcall, UpcallId};
use crate::utilities::cells::NumericCellExt;
use flux_support::*;

/// Threshold in microseconds to consider a process's timeslice to be exhausted.
/// That is, Tock will skip re-scheduling a process if its remaining timeslice
Expand Down Expand Up @@ -838,7 +839,7 @@ impl Kernel {
// process's memory exist. We do not have a reference,
// so we can safely call `set_byte()`.
unsafe {
let address = param_a as *mut u8;
let address = param_a.as_fluxptr();
process.set_byte(address, has_tasks as u8);
}

Expand Down

0 comments on commit 27deba7

Please sign in to comment.