Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
937 B

  1. page ,132
  2. title emds.asm - Defines __FPDSARRAY
  3. ;***
  4. ;emmain.asm - Defines __FPDSARRAY.
  5. ;
  6. ; Copyright (c) 1987-89, Microsoft Corporation
  7. ;
  8. ;Purpose:
  9. ; Defines __FPDSARRAY
  10. ;
  11. ; This Module contains Proprietary Information of Microsoft
  12. ; Corporation and should be treated as Confidential.
  13. ;
  14. ;Revision History:
  15. ; See emulator.hst
  16. ;
  17. ;*******************************************************************************
  18. _DATA segment word public 'DATA'
  19. _DATA ends
  20. DGROUP group _DATA
  21. include os2supp.inc
  22. ; __FPDSARRAY[0] = MAXTHREADID
  23. ; __FPDSARRAY[i] = emulator DS for thread i, 1<=i<=MAXTHREADID
  24. _DATA segment word public 'DATA'
  25. public __FPDSARRAY
  26. __FPDSARRAY dw MAXTHREADID ; table size = MAXTHREADID
  27. dw MAXTHREADID dup (0) ; array of per-thread DS's
  28. _DATA ends
  29. _TEXT segment word public 'CODE'
  30. assume cs:_TEXT
  31. extrn __gettidtab:near
  32. public __FarGetTidTab
  33. __FarGetTidTab:
  34. call __gettidtab
  35. retf
  36. _TEXT ends
  37. end