windows-nt/Source/XPSP1/NT/base/mvdm/wow16/win87em/emds.asm

55 lines
937 B
NASM
Raw Normal View History

2020-09-26 03:20:57 -05:00
page ,132
title emds.asm - Defines __FPDSARRAY
;***
;emmain.asm - Defines __FPDSARRAY.
;
; Copyright (c) 1987-89, Microsoft Corporation
;
;Purpose:
; Defines __FPDSARRAY
;
; This Module contains Proprietary Information of Microsoft
; Corporation and should be treated as Confidential.
;
;Revision History:
; See emulator.hst
;
;*******************************************************************************
_DATA segment word public 'DATA'
_DATA ends
DGROUP group _DATA
include os2supp.inc
; __FPDSARRAY[0] = MAXTHREADID
; __FPDSARRAY[i] = emulator DS for thread i, 1<=i<=MAXTHREADID
_DATA segment word public 'DATA'
public __FPDSARRAY
__FPDSARRAY dw MAXTHREADID ; table size = MAXTHREADID
dw MAXTHREADID dup (0) ; array of per-thread DS's
_DATA ends
_TEXT segment word public 'CODE'
assume cs:_TEXT
extrn __gettidtab:near
public __FarGetTidTab
__FarGetTidTab:
call __gettidtab
retf
_TEXT ends
end