Skip to content
Snippets Groups Projects
Verified Commit bf6ad5c4 authored by Jacob Lorentzon's avatar Jacob Lorentzon
Browse files

Disable debugging again.

parent 8553bc7a
No related branches found
No related tags found
1 merge request!238Demand paging
......@@ -174,13 +174,13 @@ pub fn syscall(a: usize, b: usize, c: usize, d: usize, e: usize, f: usize, stack
}
}
let mut debug = true;
let mut debug = false;
debug = debug && {
let contexts = crate::context::contexts();
if let Some(context_lock) = contexts.current() {
let context = context_lock.read();
if context.name.contains("orbital") {
if context.name.contains("orb") {
if a == SYS_CLOCK_GETTIME || a == SYS_YIELD {
false
} else if (a == SYS_WRITE || a == SYS_FSYNC) && (b == 1 || b == 2) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment