Kernel: Per processor information is now stored in class Processor
This allows us to allocate processor stacks, and other per processor structures dynamically in runtime. Giving processor stack to ap_trampoline feels super hacky, but it works for now.
This commit is contained in:
@@ -220,7 +220,7 @@ namespace Kernel
|
||||
|
||||
void Process::on_thread_exit(Thread& thread)
|
||||
{
|
||||
ASSERT(get_interrupt_state() == InterruptState::Disabled);
|
||||
ASSERT(Processor::get_interrupt_state() == InterruptState::Disabled);
|
||||
|
||||
ASSERT(m_threads.size() > 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user