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

struct TSS32 {
    unsigned short backlink, __blh;
    unsigned long esp0;
    unsigned short ss0, __ss0h;
    unsigned long esp1;
    unsigned short ss1, __ss1h;
    unsigned long esp2;
    unsigned short ss2, __ss2h;
    unsigned long cr3, eip, eflags;
    unsigned long eax,ecx,edx,ebx,esp,ebp,esi,edi;
    unsigned short es, __esh;
    unsigned short cs, __csh;
    unsigned short ss, __ssh;
    unsigned short ds, __dsh;
    unsigned short fs, __fsh;
    unsigned short gs, __gsh;
    unsigned short ldt, __ldth;
    unsigned short trace, iomapbase;
} PACKED;