summaryrefslogtreecommitdiff
path: root/v4.0/src/INC/PDB.INC
blob: 41fbd9080dfbcf0e0569035d05998f088bbdb4b7 (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
;	SCCSID = @(#)pdb.asm	1.1 85/04/10
BREAK <Process data block>

;
; Process data block (otherwise known as program header)
;

FilPerProc	    EQU     20

Process_data_block  STRUC
PDB_Exit_Call	    DW	    ?		; INT int_abort system terminate
PDB_block_len	    DW	    ?		; size of execution block
		    DB	    ?
PDB_CPM_Call	    DB	5 DUP (?)	; ancient call to system
PDB_Exit	    DD	    ?		; pointer to exit routine
PDB_Ctrl_C	    DD	    ?		; pointer to ^C routine
PDB_Fatal_abort     DD	    ?		; pointer to fatal error
;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
;	     C	A  V  E  A  T	  P  R	O  G  R  A  M  M  E  R		   ;
;									   ;
PDB_Parent_PID	    DW	    ?		; PID of parent (terminate PID)
PDB_JFN_Table	    DB	FilPerProc DUP (?)
					; indices into system table
;									   ;
;	     C	A  V  E  A  T	  P  R	O  G  R  A  M  M  E  R		   ;
;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
PDB_environ	    DW	    ?		; seg addr of environment
;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
;	     C	A  V  E  A  T	  P  R	O  G  R  A  M  M  E  R		   ;
;									   ;
PDB_User_stack	    DD	    ?		; stack of self during system calls
PDB_JFN_Length	    DW	    ?		; number of handles allowed
PDB_JFN_Pointer     DD	    ?		; pointer to JFN table
PDB_Next_PDB	    DD	    ?		; pointer to nested PDB's
PDB_PAD1	    DB	    14h DUP (?)
;									   ;
;	     C	A  V  E  A  T	  P  R	O  G  R  A  M  M  E  R		   ;
;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
PDB_Call_system     DB	    5 DUP (?)	; portable method of system call
;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
;	     C	A  V  E  A  T	  P  R	O  G  R  A  M  M  E  R		   ;
;									   ;
PDB_PAD2	    DB	    7h DUP (?)
;									   ;
;	     C	A  V  E  A  T	  P  R	O  G  R  A  M  M  E  R		   ;
;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
Process_data_block  ENDS

PDB_InterCon	EQU	BYTE PTR PDB_PAD1	; 2/12/KK
PDB_Append	EQU	BYTE PTR PDB_PAD1+1	; 2/12/KK