Skip to content

Commit

Permalink
Add Default case for regmgr_call. (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
VocalFan authored Sep 13, 2023
1 parent 99dac6e commit 56b2bed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/kernel/src/syscalls/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@ impl Syscalls {
todo!("regmgr_call({ty}) with matched key = {key:#x}");
}
}
// Pass default value for any values that aren't given a unique case
0x27 | 0x40..=u32::MAX => -2146631143, // Decimal equivalent of 0x800d0219
// Any missing cases TODO
v => todo!("regmgr_call({v})"),
};

Expand Down

0 comments on commit 56b2bed

Please sign in to comment.