summaryrefslogtreecommitdiffstats
path: root/private/mvdm/dpmi/hostdata.inc
blob: 0202711efcd4cab6b11724e1c198b412a08e7a14 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
;*++
;Copyright (c) 1991  Microsoft Corporation
;
;Module Name:
;
;    Hostdata.inc
;
;Abstract:
;
;    This module contains definitions associated with the host private data
;    for the NT vdm dpmi host
;
;Author:
;
;    Dave Hastings (daveh) 18-Mar-1992
;
;
;Revision History:
;*++

;
; Note: the following structure should match the pmUser portion of the
;       INTRSTACK structure.
;
AppState struc
IFDEF DPMI32
AsES    dd      ?
AsDS    dd      ?
AsDI    dd      ?
AsSI    dd      ?
AsBP    dd      ?
AsSPx   dd      ?
AsBX    dd      ?
AsDX    dd      ?
AsCX    dd      ?
AsAX    dd      ?
AsFL    dd      ?
AsSS    dd      ?
AsSP    dd	?
ELSE
AsES    dw      ?
AsDS    dw      ?
AsDI    dw      ?
AsSI    dw      ?
AsBP    dw      ?
AsSPx   dw      ?
AsBX    dw      ?
AsDX    dw      ?
AsCX    dw      ?
AsAX    dw      ?
AsFL    dw      ?
AsSS    dw      ?
AsSP    dw	?
ENDIF
AppState ends

IFDEF DPMI32
APPSTATE_SIZE equ 52
ELSE
APPSTATE_SIZE equ 26
ENDIF

HostData struc
Hdflags         dw      0
HdSelParent     dw      0
HdSegParent     dw      0
HdSelPSP        dw      0
HdPSPParent     dw      0
HdPspTerminate  dd      0
HdState         db      APPSTATE_SIZE dup (0)
HostData ends

IFDEF DPMI32
HOST_DATA_SIZE equ 58
ELSE
HOST_DATA_SIZE equ 36
ENDIF

HD_32BITAPP     equ     1