home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / c / cl5sr386.zip / GO32 / GDT.INC < prev    next >
Text File  |  1992-04-13  |  1KB  |  65 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. ; Modified for VCPI Implement by Y.Shibata Aug 5th 1991
  16.  
  17. ;    History:39,1
  18.  
  19. gdt_s    struc
  20. lim0    dw    ?
  21. base0    dw    ?
  22. base1    db    ?
  23. stype    db    ?    ; type, DT, DPL, present
  24. lim1    db    ?    ; limit, granularity
  25. base2    db    ?
  26. gdt_s    ends
  27.  
  28. g_zero    equ    0*8
  29. g_gdt    equ    1*8
  30. g_idt    equ    2*8
  31. g_rcode    equ    3*8
  32. g_rdata    equ    4*8
  33. g_pcode    equ    5*8
  34. g_pdata    equ    6*8
  35. g_core    equ    7*8
  36. g_acode    equ    8*8
  37. g_adata    equ    9*8
  38. g_ctss    equ    10*8
  39. g_atss    equ    11*8
  40. g_ptss    equ    12*8
  41. g_itss    equ    13*8
  42. g_rc32    equ    14*8
  43. g_grdr    equ    15*8
  44.  
  45. g_vcpicode    equ    16*8    ;for VCPI Call Selctor in Protect Mode
  46. g_vcpireserve0    equ    17*8
  47. g_vcpireserve1    equ    18*8
  48.  
  49. g_v74    equ    19*8
  50. g_v78    equ    20*8
  51. g_v79    equ    21*8
  52.  
  53. g_num    equ    22
  54.  
  55. jmpt    macro    sel
  56.     db    0eah
  57.     dw    0,sel
  58.     endm
  59.  
  60. jmptl    macro    sel
  61.     db    0eah
  62.     dd    0
  63.     dw    sel
  64.     endm
  65.