| 1 | ; $Id: calltab.asm,v 1.3 2000-01-22 18:21:01 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 | public _IOSftOpen@20
|
|---|
| 27 | public _IOSftClose@4
|
|---|
| 28 | public _IOSftTransPath@4
|
|---|
| 29 | public _IOSftReadAt@20
|
|---|
| 30 | public _IOSftWriteAt@20
|
|---|
| 31 |
|
|---|
| 32 | ;
|
|---|
| 33 | ; Constants
|
|---|
| 34 | ;
|
|---|
| 35 | MAXSIZE_PROLOG EQU 10h
|
|---|
| 36 |
|
|---|
| 37 |
|
|---|
| 38 |
|
|---|
| 39 | CALLTAB segment
|
|---|
| 40 | assume cs:CALLTAB, ds:flat, ss:nothing
|
|---|
| 41 | ;
|
|---|
| 42 | ; callTab is an array of evt. function prologs with a jump to the real function.
|
|---|
| 43 | ; Imported and Overrided OS/2 kernel functions are called tru this table.
|
|---|
| 44 | ;
|
|---|
| 45 | ; This array of near procedures are parallel to the aProcTab array in dev16\ProbKrnl.c.
|
|---|
| 46 | ; Remember to update both!.
|
|---|
| 47 | ;
|
|---|
| 48 | callTab:
|
|---|
| 49 | _ldrRead@24 PROC NEAR
|
|---|
| 50 | db MAXSIZE_PROLOG dup(0cch)
|
|---|
| 51 | _ldrRead@24 ENDP
|
|---|
| 52 |
|
|---|
| 53 | _ldrOpen@12 PROC NEAR
|
|---|
| 54 | db MAXSIZE_PROLOG dup(0cch)
|
|---|
| 55 | _ldrOpen@12 ENDP
|
|---|
| 56 |
|
|---|
| 57 | _ldrClose@4 PROC NEAR
|
|---|
| 58 | db MAXSIZE_PROLOG dup(0cch)
|
|---|
| 59 | _ldrClose@4 ENDP
|
|---|
| 60 |
|
|---|
| 61 | _LDRQAppType@8 PROC NEAR
|
|---|
| 62 | db MAXSIZE_PROLOG dup(0cch)
|
|---|
| 63 | _LDRQAppType@8 ENDP
|
|---|
| 64 |
|
|---|
| 65 | _ldrEnum32bitRelRecs@24 PROC NEAR
|
|---|
| 66 | db MAXSIZE_PROLOG dup(0cch)
|
|---|
| 67 | _ldrEnum32bitRelRecs@24 ENDP
|
|---|
| 68 |
|
|---|
| 69 |
|
|---|
| 70 | _IOSftOpen@20 PROC NEAR
|
|---|
| 71 | db MAXSIZE_PROLOG dup(0cch)
|
|---|
| 72 | _IOSftOpen@20 ENDP
|
|---|
| 73 |
|
|---|
| 74 | _IOSftClose@4 PROC NEAR
|
|---|
| 75 | db MAXSIZE_PROLOG dup(0cch)
|
|---|
| 76 | _IOSftClose@4 ENDP
|
|---|
| 77 |
|
|---|
| 78 | _IOSftTransPath@4 PROC NEAR
|
|---|
| 79 | db MAXSIZE_PROLOG dup(0cch)
|
|---|
| 80 | _IOSftTransPath@4 ENDP
|
|---|
| 81 |
|
|---|
| 82 | _IOSftReadAt@20 PROC NEAR
|
|---|
| 83 | db MAXSIZE_PROLOG dup(0cch)
|
|---|
| 84 | _IOSftReadAt@20 ENDP
|
|---|
| 85 |
|
|---|
| 86 | _IOSftWriteAt@20 PROC NEAR
|
|---|
| 87 | db MAXSIZE_PROLOG dup(0cch)
|
|---|
| 88 | _IOSftWriteAt@20 ENDP
|
|---|
| 89 |
|
|---|
| 90 |
|
|---|
| 91 | CALLTAB ENDS
|
|---|
| 92 |
|
|---|
| 93 | END
|
|---|
| 94 |
|
|---|