Kernel: Remove unnecessary stack pointer loading

Any time I started a thread I was loading the stack pointer which is
already correctly passed :D
This commit is contained in:
2026-04-04 22:50:58 +03:00
parent a29681a524
commit 9d83424346
5 changed files with 2 additions and 26 deletions

View File

@@ -25,11 +25,6 @@ namespace Kernel
*(uintptr_t*)rsp = (uintptr_t)value;
}
extern "C" uintptr_t get_thread_start_sp()
{
return Thread::current().yield_registers().sp;
}
static pid_t s_next_tid = 1;
alignas(16) static uint8_t s_default_sse_storage[512];