serenity/Kernel/Arch/i386
Andreas Kling 44fb71261a Kernel: Fix accidental restore of bogus FPU state after fork
Cloned threads (basically, forked processes) inherit the complete FPU
state of their origin thread. There was a bug in the lazy FPU state
save/restore mechanism where a cloned thread would believe it had a
buffer full of valid FPU state (because the inherited flag said so)
but the origin thread had never actually copied any FPU state into it.

This patch fixes that by forcing out an FPU state save after doing
the initial FPU initialization (FNINIT) in a thread. :^)
2019-10-13 14:39:04 +02:00
..
CPU.cpp Kernel: Fix accidental restore of bogus FPU state after fork 2019-10-13 14:39:04 +02:00
CPU.h Kernel: Add exception_code to RegisterDump. 2019-10-07 16:39:47 +02:00
PIC.cpp Kernel: Move PIC.cpp into Arch/i386/ 2019-07-09 15:04:43 +02:00
PIC.h Kernel: Move PIC.cpp into Arch/i386/ 2019-07-09 15:04:43 +02:00
PIT.cpp Kernel: Add exception_code to RegisterDump. 2019-10-07 16:39:47 +02:00
PIT.h Kernel: Move i8253.cpp => Arch/i386/PIT.cpp 2019-07-09 15:04:45 +02:00