mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
re-use an opcode for internal kernel call
This commit is contained in:
parent
d3a0416211
commit
40a2a2d76d
1 changed files with 2 additions and 2 deletions
|
|
@ -159,7 +159,7 @@ pub enum SwapAbi {
|
|||
Evict = 1,
|
||||
GetFreePages = 2,
|
||||
FetchAllocs = 3,
|
||||
// SetOomThresh = 4,
|
||||
// HardOom = 4, // meant to be initiated within the kernel to itself
|
||||
StealPage = 5,
|
||||
ReleaseMemory = 6,
|
||||
}
|
||||
|
|
@ -171,7 +171,7 @@ impl SwapAbi {
|
|||
1 => Evict,
|
||||
2 => GetFreePages,
|
||||
3 => FetchAllocs,
|
||||
// 4 => SetOomThresh,
|
||||
// 4 => HardOom,
|
||||
5 => StealPage,
|
||||
6 => ReleaseMemory,
|
||||
_ => Invalid,
|
||||
|
|
|
|||
Loading…
Reference in a new issue