xous: ffi: correct syscall number for adjust_process
The AdjustProcessLimit syscall was using the correct call number. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
3d00c5cd5e
commit
4c23cdf741
@ -615,7 +615,7 @@ pub(crate) fn thread_id() -> Result<ThreadId, Error> {
|
|||||||
/// An error is generated if the `knob` is not a valid limit, or if the call
|
/// An error is generated if the `knob` is not a valid limit, or if the call
|
||||||
/// would not succeed.
|
/// would not succeed.
|
||||||
pub(crate) fn adjust_limit(knob: Limits, current: usize, new: usize) -> Result<usize, Error> {
|
pub(crate) fn adjust_limit(knob: Limits, current: usize, new: usize) -> Result<usize, Error> {
|
||||||
let mut a0 = Syscall::JoinThread as usize;
|
let mut a0 = Syscall::AdjustProcessLimit as usize;
|
||||||
let mut a1 = knob as usize;
|
let mut a1 = knob as usize;
|
||||||
let a2 = current;
|
let a2 = current;
|
||||||
let a3 = new;
|
let a3 = new;
|
||||||
|
Loading…
Reference in New Issue
Block a user