mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 02:40:49 +00:00
Kernel: Get rid of the "cool globals" thingy.
This was something I used while debugging with Computron. I haven't needed it for months, so let's get rid of it. It's trivial to readd if needed.
This commit is contained in:
@@ -321,10 +321,6 @@ bool Scheduler::context_switch(Thread& thread)
|
||||
current = &thread;
|
||||
thread.set_state(Thread::Running);
|
||||
|
||||
#ifdef COOL_GLOBALS
|
||||
g_cool_globals->current_pid = thread.process().pid();
|
||||
#endif
|
||||
|
||||
if (!thread.selector()) {
|
||||
thread.set_selector(gdt_alloc_entry());
|
||||
auto& descriptor = get_gdt_entry(thread.selector());
|
||||
|
||||
Reference in New Issue
Block a user