summaryrefslogtreecommitdiff
path: root/Kernel/init.cpp
diff options
context:
space:
mode:
authorTom <tomut@yahoo.com>2020-07-03 10:23:09 -0600
committerAndreas Kling <kling@serenityos.org>2020-07-03 19:32:34 +0200
commit9b4e6f6a23e1669d21e18eb985323f7075de275a (patch)
treeb16609be64fbe5112d6961cc575ad58806d1a80f /Kernel/init.cpp
parente373e5f007956e59d8efca1fe74ce0e84355b27b (diff)
downloadserenity-9b4e6f6a23e1669d21e18eb985323f7075de275a.zip
Kernel: Consolidate features into CPUFeature enum
This allows us to consolidate printing out all the CPU features into one log statement. Also expose them in /proc/cpuinfo
Diffstat (limited to 'Kernel/init.cpp')
-rw-r--r--Kernel/init.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/Kernel/init.cpp b/Kernel/init.cpp
index 4912c11b02..07ea0f3e49 100644
--- a/Kernel/init.cpp
+++ b/Kernel/init.cpp
@@ -106,7 +106,6 @@ extern "C" [[noreturn]] void init()
setup_serial_debug();
s_bsp_processor.early_initialize(0);
- cpu_setup(0);
kmalloc_init();
slab_alloc_init();
@@ -169,7 +168,6 @@ extern "C" [[noreturn]] void init_ap(u32 cpu, Processor* processor_info)
klog() << "CPU #" << cpu << " processor_info at " << VirtualAddress(FlatPtr(processor_info));
- cpu_setup(cpu);
processor_info->initialize(cpu);
MemoryManager::initialize(cpu);