summaryrefslogtreecommitdiff
path: root/Kernel/TSS.h
blob: f3e370439e7ddea1c150e42fbbf0475f25977d22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once

#include <AK/Types.h>

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;
};