[Zion] Enable SSE instructions at the start of boot.
These aren't ready to be used yet as we need to save them on task switch.
This commit is contained in:
parent
9b43d615a9
commit
a1e1e1c2d8
5 changed files with 48 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#include <stdint.h>
|
||||
|
||||
#include "boot/acpi.h"
|
||||
#include "common/cpu.h"
|
||||
#include "common/gdt.h"
|
||||
#include "debug/debug.h"
|
||||
#include "interrupt/apic.h"
|
||||
|
|
@ -22,6 +23,8 @@ extern "C" void zion() {
|
|||
InitGdt();
|
||||
InitIdt();
|
||||
|
||||
ProbeCpuAndEnableFeatures();
|
||||
|
||||
dbgln("[boot] Init Physical Memory Manager.");
|
||||
phys_mem::InitBootstrapPageAllocation();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue