fix wrong initialization of CR4

This commit is contained in:
Stefan Lankes 2014-12-27 23:20:45 +01:00
parent 9a2cb452e5
commit 239ee0c051

View file

@ -82,9 +82,9 @@ cpu_init:
mov cr3, eax
; Set CR4
mov cr4, eax
and eax, ~(1 << 9) ; disable SSE
or eax, (1 << 4) ; enable PSE
mov eax, cr4
and eax, 0xfffbf9ff ; disable SSE
or eax, (1 << 4) ; enable PSE
mov cr4, eax
; Set CR0