mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 10:24:59 +00:00
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
This commit is contained in:
parent
e373e5f007
commit
9b4e6f6a23
9 changed files with 197 additions and 145 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue