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