mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-17 08:34:23 -04:00
kern: implement SvcSleepThread for ns > 0
This commit is contained in:
parent
f37eda6b86
commit
ca9327a120
5 changed files with 79 additions and 3 deletions
|
@ -385,6 +385,8 @@ namespace ams::kern {
|
|||
Result Run();
|
||||
void Exit();
|
||||
|
||||
Result Sleep(s64 timeout);
|
||||
|
||||
ALWAYS_INLINE void *GetStackTop() const { return reinterpret_cast<StackParameters *>(this->kernel_stack_top) - 1; }
|
||||
ALWAYS_INLINE void *GetKernelStackTop() const { return this->kernel_stack_top; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue