mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-08 00:50:32 +00:00
Kernel: Remove some unnecessary zero initialization now that BSS is cleared.
This commit is contained in:
parent
2e663eda36
commit
3fc3a8d7bc
|
@ -317,12 +317,9 @@ Process* Scheduler::colonel()
|
|||
|
||||
void Scheduler::initialize()
|
||||
{
|
||||
memset(&s_redirection, 0, sizeof(s_redirection));
|
||||
s_redirection.selector = gdt_alloc_entry();
|
||||
initialize_redirection();
|
||||
s_colonel_process = Process::create_kernel_process("colonel", nullptr);
|
||||
current = nullptr;
|
||||
g_last_fpu_process = nullptr;
|
||||
load_task_register(s_redirection.selector);
|
||||
}
|
||||
|
||||
|
|
|
@ -169,8 +169,6 @@ void init()
|
|||
MemoryManager::initialize();
|
||||
PIT::initialize();
|
||||
|
||||
memset(&system, 0, sizeof(system));
|
||||
|
||||
new BochsVGADevice;
|
||||
|
||||
auto new_procfs = ProcFS::create();
|
||||
|
|
Loading…
Reference in a new issue