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

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

Partly finished 16-bit import code++.

File size: 2.3 KB
Line 
1; $Id: calltab.asm,v 1.7 2000-02-19 23:52:00 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
38
39;
40; Constants
41;
42MAXSIZE_PROLOG EQU 10h
43
44
45
46CALLTAB segment
47 assume cs:CALLTAB, ds:flat, ss:nothing
48;
49; callTab is an array of evt. function prologs with a jump to the real function.
50; Imported and Overrided OS/2 kernel functions are called tru this table.
51;
52; This array of near procedures are parallel to the aImportTab array in dev16\ProbKrnl.c.
53; Remember to update both!.
54;
55callTab:
56_ldrRead@24 PROC NEAR
57 db MAXSIZE_PROLOG dup(0cch)
58_ldrRead@24 ENDP
59
60_ldrOpen@12 PROC NEAR
61 db MAXSIZE_PROLOG dup(0cch)
62_ldrOpen@12 ENDP
63
64_ldrClose@4 PROC NEAR
65 db MAXSIZE_PROLOG dup(0cch)
66_ldrClose@4 ENDP
67
68_LDRQAppType@8 PROC NEAR
69 db MAXSIZE_PROLOG dup(0cch)
70_LDRQAppType@8 ENDP
71
72_ldrEnum32bitRelRecs@24 PROC NEAR
73 db MAXSIZE_PROLOG dup(0cch)
74_ldrEnum32bitRelRecs@24 ENDP
75
76
77_IOSftOpen@20 PROC NEAR
78 db MAXSIZE_PROLOG dup(0cch)
79_IOSftOpen@20 ENDP
80
81_IOSftClose@4 PROC NEAR
82 db MAXSIZE_PROLOG dup(0cch)
83_IOSftClose@4 ENDP
84
85_IOSftTransPath@4 PROC NEAR
86 db MAXSIZE_PROLOG dup(0cch)
87_IOSftTransPath@4 ENDP
88
89_IOSftReadAt@20 PROC NEAR
90 db MAXSIZE_PROLOG dup(0cch)
91_IOSftReadAt@20 ENDP
92
93_IOSftWriteAt@20 PROC NEAR
94 db MAXSIZE_PROLOG dup(0cch)
95_IOSftWriteAt@20 ENDP
96
97_SftFileSize@8 PROC NEAR
98 db MAXSIZE_PROLOG dup(0cch)
99_SftFileSize@8 ENDP
100
101
102_VMAllocMem@36 PROC NEAR
103 db MAXSIZE_PROLOG dup(0cch)
104_VMAllocMem@36 ENDP
105
106_VMGetOwner@8 PROC NEAR
107 db MAXSIZE_PROLOG dup(0cch)
108_VMGetOwner@8 ENDP
109
110g_tkExecPgm PROC NEAR
111 db MAXSIZE_PROLOG dup(0cch)
112g_tkExecPgm ENDP
113
114CALLTAB ENDS
115
116END
117
Note: See TracBrowser for help on using the repository browser.