typedef struct _KGDTENTRY                 // 3 elements, 0x8 bytes (sizeof)
          {
/*0x000*/     UINT16       LimitLow;
/*0x002*/     UINT16       BaseLow;
              union                                 // 2 elements, 0x4 bytes (sizeof)
              {
                  struct                            // 4 elements, 0x4 bytes (sizeof)
                  {
/*0x004*/             UINT8        BaseMid;
/*0x005*/             UINT8        Flags1;
/*0x006*/             UINT8        Flags2;
/*0x007*/             UINT8        BaseHi;
                  }Bytes;
                  struct                            // 10 elements, 0x4 bytes (sizeof)
                  {
/*0x004*/             ULONG32      BaseMid : 8;     // 0 BitPosition
/*0x004*/             ULONG32      Type : 5;        // 8 BitPosition
/*0x004*/             ULONG32      Dpl : 2;         // 13 BitPosition
/*0x004*/             ULONG32      Pres : 1;        // 15 BitPosition
/*0x004*/             ULONG32      LimitHi : 4;     // 16 BitPosition
/*0x004*/             ULONG32      Sys : 1;         // 20 BitPosition
/*0x004*/             ULONG32      Reserved_0 : 1;  // 21 BitPosition
/*0x004*/             ULONG32      Default_Big : 1; // 22 BitPosition
/*0x004*/             ULONG32      Granularity : 1; // 23 BitPosition
/*0x004*/             ULONG32      BaseHi : 8;      // 24 BitPosition
                  }Bits;
              }HighWord;
          }KGDTENTRY, *PKGDTENTRY;
Return to structures/enums list.
Return to O.S. version list.

(c) MoonSols 2010.