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

Kernel: Merge TSS.h into i386.h.

This commit is contained in:
Andreas Kling 2019-04-14 04:39:56 +02:00
parent c2093ad994
commit 4132f645ee
3 changed files with 20 additions and 24 deletions

View file

@ -6,6 +6,26 @@
#define PAGE_SIZE 4096
#define PAGE_MASK 0xfffff000
struct [[gnu::packed]] TSS32 {
word backlink, __blh;
dword esp0;
word ss0, __ss0h;
dword esp1;
word ss1, __ss1h;
dword esp2;
word ss2, __ss2h;
dword cr3, eip, eflags;
dword eax,ecx,edx,ebx,esp,ebp,esi,edi;
word es, __esh;
word cs, __csh;
word ss, __ssh;
word ds, __dsh;
word fs, __fsh;
word gs, __gsh;
word ldt, __ldth;
word trace, iomapbase;
};
union [[gnu::packed]] Descriptor {
struct {
word limit_lo;