mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:47:47 +00:00
Kernel: Remove some unnecessary zero initialization now that BSS is cleared.
This commit is contained in:
parent
2e663eda36
commit
3fc3a8d7bc
2 changed files with 0 additions and 5 deletions
|
@ -317,12 +317,9 @@ Process* Scheduler::colonel()
|
||||||
|
|
||||||
void Scheduler::initialize()
|
void Scheduler::initialize()
|
||||||
{
|
{
|
||||||
memset(&s_redirection, 0, sizeof(s_redirection));
|
|
||||||
s_redirection.selector = gdt_alloc_entry();
|
s_redirection.selector = gdt_alloc_entry();
|
||||||
initialize_redirection();
|
initialize_redirection();
|
||||||
s_colonel_process = Process::create_kernel_process("colonel", nullptr);
|
s_colonel_process = Process::create_kernel_process("colonel", nullptr);
|
||||||
current = nullptr;
|
|
||||||
g_last_fpu_process = nullptr;
|
|
||||||
load_task_register(s_redirection.selector);
|
load_task_register(s_redirection.selector);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -169,8 +169,6 @@ void init()
|
||||||
MemoryManager::initialize();
|
MemoryManager::initialize();
|
||||||
PIT::initialize();
|
PIT::initialize();
|
||||||
|
|
||||||
memset(&system, 0, sizeof(system));
|
|
||||||
|
|
||||||
new BochsVGADevice;
|
new BochsVGADevice;
|
||||||
|
|
||||||
auto new_procfs = ProcFS::create();
|
auto new_procfs = ProcFS::create();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue