[Zion] Add task switching for SSE registers and enable them in userspace.
This commit is contained in:
parent
2a984a93ec
commit
96063126cb
7 changed files with 43 additions and 5 deletions
|
|
@ -17,6 +17,10 @@ void ProbeCpuAndEnableFeatures() {
|
|||
panic("SSE3, SSSE3 not available.");
|
||||
}
|
||||
|
||||
if (!(ecx & (0x3 << 19))) {
|
||||
dbgln("SSE4 not available.");
|
||||
}
|
||||
|
||||
dbgln("Setting SSE");
|
||||
asm volatile(
|
||||
"mov %%cr0, %%rax;"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue