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:
parent
44e1e7423f
commit
e9f2cc3595
4 changed files with 10 additions and 15 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue