mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-06 13:35:03 +00:00
Kernel: Don't start usermode threads on x86_64 for now
Starting usermode threads doesn't currently work on x86_64. With this stubbed out we can get text mode to boot though.
This commit is contained in:
committed by
Andreas Kling
parent
2a6e6c42d2
commit
cafccb866c
@@ -81,7 +81,11 @@ KResultOr<FlatPtr> Process::sys$create_thread(void* (*entry)(void*), Userspace<c
|
||||
|
||||
ScopedSpinLock lock(g_scheduler_lock);
|
||||
thread->set_priority(requested_thread_priority);
|
||||
#if ARCH(I386)
|
||||
thread->set_state(Thread::State::Runnable);
|
||||
#else
|
||||
dbgln("FIXME: Not starting thread {} (because it'd crash)", *thread);
|
||||
#endif
|
||||
return thread->tid().value();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user