1 | ; $Id: calltab.asm,v 1.11 2000-02-21 14:53:39 bird Exp $
|
---|
2 | ;
|
---|
3 | ; callTab - Call back again table - table with entry for each function which is overrided.
|
---|
4 | ; It holds the part of the prolog which was replaced by a jmp instruction.
|
---|
5 | ;
|
---|
6 | ; Copyright (c) 1998-1999 knut st. osmundsen
|
---|
7 | ;
|
---|
8 | ; Project Odin Software License can be found in LICENSE.TXT
|
---|
9 | ;
|
---|
10 | .386p
|
---|
11 |
|
---|
12 | ;
|
---|
13 | ; Include files
|
---|
14 | ;
|
---|
15 | include devsegdf.inc
|
---|
16 |
|
---|
17 | ;
|
---|
18 | ; Exported symbols
|
---|
19 | ;
|
---|
20 | public callTab
|
---|
21 | public _ldrClose@4
|
---|
22 | public _ldrOpen@12
|
---|
23 | public _ldrRead@24
|
---|
24 | public _LDRQAppType@8
|
---|
25 | public _ldrEnum32bitRelRecs@24
|
---|
26 |
|
---|
27 | public _IOSftOpen@20
|
---|
28 | public _IOSftClose@4
|
---|
29 | public _IOSftTransPath@4
|
---|
30 | public _IOSftReadAt@20
|
---|
31 | public _IOSftWriteAt@20
|
---|
32 | public _SftFileSize@8
|
---|
33 |
|
---|
34 | public _VMAllocMem@36
|
---|
35 | public _VMGetOwner@8
|
---|
36 | public _g_tkExecPgm
|
---|
37 | public _f_FuStrLenZ
|
---|
38 | public _f_FuBuff
|
---|
39 |
|
---|
40 |
|
---|
41 | ;
|
---|
42 | ; Constants
|
---|
43 | ;
|
---|
44 | MAXSIZE_PROLOG EQU 18h
|
---|
45 |
|
---|
46 |
|
---|
47 |
|
---|
48 | CALLTAB segment
|
---|
49 | assume cs:CALLTAB, ds:flat, ss:nothing
|
---|
50 | ;
|
---|
51 | ; callTab is an array of evt. function prologs with a jump to the real function.
|
---|
52 | ; Imported and Overrided OS/2 kernel functions are called tru this table.
|
---|
53 | ;
|
---|
54 | ; This array of near procedures are parallel to the aImportTab array in dev16\ProbKrnl.c.
|
---|
55 | ; Remember to update both!.
|
---|
56 | ;
|
---|
57 | callTab:
|
---|
58 | _ldrRead@24 PROC NEAR
|
---|
59 | db MAXSIZE_PROLOG dup(0cch)
|
---|
60 | _ldrRead@24 ENDP
|
---|
61 |
|
---|
62 | _ldrOpen@12 PROC NEAR
|
---|
63 | db MAXSIZE_PROLOG dup(0cch)
|
---|
64 | _ldrOpen@12 ENDP
|
---|
65 |
|
---|
66 | _ldrClose@4 PROC NEAR
|
---|
67 | db MAXSIZE_PROLOG dup(0cch)
|
---|
68 | _ldrClose@4 ENDP
|
---|
69 |
|
---|
70 | _LDRQAppType@8 PROC NEAR
|
---|
71 | db MAXSIZE_PROLOG dup(0cch)
|
---|
72 | _LDRQAppType@8 ENDP
|
---|
73 |
|
---|
74 | _ldrEnum32bitRelRecs@24 PROC NEAR
|
---|
75 | db MAXSIZE_PROLOG dup(0cch)
|
---|
76 | _ldrEnum32bitRelRecs@24 ENDP
|
---|
77 |
|
---|
78 |
|
---|
79 | _IOSftOpen@20 PROC NEAR
|
---|
80 | db MAXSIZE_PROLOG dup(0cch)
|
---|
81 | _IOSftOpen@20 ENDP
|
---|
82 |
|
---|
83 | _IOSftClose@4 PROC NEAR
|
---|
84 | db MAXSIZE_PROLOG dup(0cch)
|
---|
85 | _IOSftClose@4 ENDP
|
---|
86 |
|
---|
87 | _IOSftTransPath@4 PROC NEAR
|
---|
88 | db MAXSIZE_PROLOG dup(0cch)
|
---|
89 | _IOSftTransPath@4 ENDP
|
---|
90 |
|
---|
91 | _IOSftReadAt@20 PROC NEAR
|
---|
92 | db MAXSIZE_PROLOG dup(0cch)
|
---|
93 | _IOSftReadAt@20 ENDP
|
---|
94 |
|
---|
95 | _IOSftWriteAt@20 PROC NEAR
|
---|
96 | db MAXSIZE_PROLOG dup(0cch)
|
---|
97 | _IOSftWriteAt@20 ENDP
|
---|
98 |
|
---|
99 | _SftFileSize@8 PROC NEAR
|
---|
100 | db MAXSIZE_PROLOG dup(0cch)
|
---|
101 | _SftFileSize@8 ENDP
|
---|
102 |
|
---|
103 |
|
---|
104 | _VMAllocMem@36 PROC NEAR
|
---|
105 | db MAXSIZE_PROLOG dup(0cch)
|
---|
106 | _VMAllocMem@36 ENDP
|
---|
107 |
|
---|
108 | _VMGetOwner@8 PROC NEAR
|
---|
109 | db MAXSIZE_PROLOG dup(0cch)
|
---|
110 | _VMGetOwner@8 ENDP
|
---|
111 |
|
---|
112 | _g_tkExecPgm PROC NEAR
|
---|
113 | db MAXSIZE_PROLOG dup(0cch)
|
---|
114 | _g_tkExecPgm ENDP
|
---|
115 |
|
---|
116 |
|
---|
117 | _f_FuStrLenZ PROC FAR
|
---|
118 | db MAXSIZE_PROLOG dup(0cch)
|
---|
119 | _f_FuStrLenZ ENDP
|
---|
120 |
|
---|
121 | _f_FuStrLen PROC FAR
|
---|
122 | db MAXSIZE_PROLOG dup(0cch)
|
---|
123 | _f_FuStrLen ENDP
|
---|
124 |
|
---|
125 | _f_FuBuff PROC FAR
|
---|
126 | db MAXSIZE_PROLOG dup(0cch)
|
---|
127 | _f_FuBuff ENDP
|
---|
128 |
|
---|
129 | CALLTAB ENDS
|
---|
130 |
|
---|
131 | END
|
---|
132 |
|
---|