mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-02 02:49:15 +00:00
kernel: refactor FPU state structure for improved clarity and consistency
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
@ -612,9 +612,9 @@ namespace Tasking
|
||||
|
||||
// TODO: Is really a good idea to use the FPU in kernel mode?
|
||||
#if defined(__amd64__) || defined(__i386__)
|
||||
this->FPU.mxcsr = 0b0001111110000000;
|
||||
this->FPU.mxcsrmask = 0b1111111110111111;
|
||||
this->FPU.fcw = 0b0000001100111111;
|
||||
this->FPU.MXCSR.raw = 0b0001111110000000;
|
||||
this->FPU.MXCSR_MASK = 0b1111111110111111;
|
||||
this->FPU.FCW.raw = 0b0000001100111111;
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG
|
||||
|
Reference in New Issue
Block a user