[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:
Drew Galbraith 2023-11-20 16:40:07 -08:00
parent 9b43d615a9
commit a1e1e1c2d8
5 changed files with 48 additions and 0 deletions

View file

@ -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();