Kernel - Fixing and breaking SMP related stuff
[tpg/acess2.git] / Kernel / arch / x86 / include / desctab.h
1 /**
2  */
3 #ifndef _DESCTAB_H_
4 #define _DESCTAB_H_
5
6 typedef struct {
7         Uint16  LimitLow;
8         Uint16  BaseLow;
9         Uint8   BaseMid;
10         Uint8   Access;
11         struct {
12                 unsigned LimitHi:       4;
13                 unsigned Flags:         4;
14         } __attribute__ ((packed));
15         Uint8   BaseHi;
16 } __attribute__ ((packed)) tGDT;
17
18 typedef struct {
19         Uint16  OffsetLo;
20         Uint16  CS;
21         Uint16  Flags;
22         Uint16  OffsetHi;
23 } __attribute__ ((packed)) tIDT;
24
25 #endif

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