source: trunk/src/win32k/ldr/calltab.asm@ 2832

Last change on this file since 2832 was 2832, checked in by bird, 26 years ago

16-bit imports and import of global variables.
(But there are some problems left)

File size: 2.4 KB
Line 
1; $Id: calltab.asm,v 1.8 2000-02-20 04:27:24 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;
44MAXSIZE_PROLOG EQU 10h
45
46
47
48CALLTAB 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;
57callTab:
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
112g_tkExecPgm PROC NEAR
113 db MAXSIZE_PROLOG dup(0cch)
114g_tkExecPgm ENDP
115
116
117f_FuStrLenZ PROC FAR
118 db MAXSIZE_PROLOG dup(0cch)
119f_FuStrLenZ ENDP
120
121f_FuBuff PROC FAR
122 db MAXSIZE_PROLOG dup(0cch)
123f_FuBuff ENDP
124
125CALLTAB ENDS
126
127END
128
Note: See TracBrowser for help on using the repository browser.