Kernel - General fixing after ARM7 changes
[tpg/acess2.git] / Kernel / arch / x86 / include / proc.h
1 /*
2  * AcessOS Microkernel Version
3  * proc.h
4  */
5 #ifndef _PROC_H
6 #define _PROC_H
7
8 #include <threads_int.h>
9
10 // === TYPES ==
11 typedef struct sTSS {
12         Uint32  Link;
13         Uint32  ESP0, SS0;
14         Uint32  ESP1, SS1;
15         Uint32  ESP2, SS2;
16         Uint32  CR3;
17         Uint32  EIP;
18         Uint32  EFLAGS;
19         Uint32  EAX, ECX, EDX, EBX;
20         Uint32  ESP, EBP, ESI, EDI;
21         Uint32  ES, CS, DS, SS, FS, GS;
22         Uint32  LDTR;
23         Uint16  Resvd, IOPB;    // IO Permissions Bitmap
24 } __attribute__((packed)) tTSS;
25
26 #endif

UCC git Repository :: git.ucc.asn.au