home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Programmierung / SOURCE.mdf / programm / msdos / c / djgpp / go32 / gdt.inc < prev    next >
Encoding:
Text File  |  1991-05-30  |  1.1 KB  |  54 lines

  1. ; This is file GDT.INC
  2. ;
  3. ; Copyright (C) 1991 DJ Delorie, 24 Kirsten Ave, Rochester NH 03867-2954
  4. ;
  5. ; This file is distributed under the terms listed in the document
  6. ; "copying.dj", available from DJ Delorie at the address above.
  7. ; A copy of "copying.dj" should accompany this file; if not, a copy
  8. ; should be available from where this file was obtained.  This file
  9. ; may not be distributed without a verbatim copy of "copying.dj".
  10. ;
  11. ; This file is distributed WITHOUT ANY WARRANTY; without even the implied
  12. ; warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13. ;
  14.  
  15. ;    History:39,1
  16.  
  17. gdt_s    struc
  18. lim0    dw    ?
  19. base0    dw    ?
  20. base1    db    ?
  21. stype    db    ?    ; type, DT, DPL, present
  22. lim1    db    ?    ; limit, granularity
  23. base2    db    ?
  24. gdt_s    ends
  25.  
  26. g_zero    equ    0*8
  27. g_gdt    equ    1*8
  28. g_idt    equ    2*8
  29. g_rcode    equ    3*8
  30. g_rdata    equ    4*8
  31. g_pcode    equ    5*8
  32. g_pdata    equ    6*8
  33. g_core    equ    7*8
  34. g_acode    equ    8*8
  35. g_adata    equ    9*8
  36. g_ctss    equ    10*8
  37. g_atss    equ    11*8
  38. g_ptss    equ    12*8
  39. g_itss    equ    13*8
  40. g_rc32    equ    14*8
  41. g_grdr    equ    15*8
  42. g_num    equ    16
  43.  
  44. jmpt    macro    sel
  45.     db    0eah
  46.     dw    0,sel
  47.     endm
  48.  
  49. jmptl    macro    sel
  50.     db    0eah
  51.     dd    0
  52.     dw    sel
  53.     endm
  54.