1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 21:07:34 +00:00

Kernel: Save/restore the SSE context on context switch.

This commit is contained in:
Andreas Kling 2019-03-27 15:27:45 +01:00
parent 44e1e7423f
commit e9f2cc3595
4 changed files with 10 additions and 15 deletions

View file

@ -234,15 +234,8 @@ struct [[gnu::packed]] RegisterDumpWithExceptionCode {
word ss_if_crossRing;
};
struct FPUState {
dword cwd;
dword swd;
dword twd;
dword fip;
dword fcs;
dword foo;
dword fos;
dword st[20];
struct [[gnu::aligned(16)]] FPUState {
byte buffer[512];
};
inline constexpr dword page_base_of(dword address)