source: trunk/src/win32k/dev32/devlast.asm@ 2912

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

Symbol Database is implemented.
No scanning of the os2krnl file, the loaded image is now scaned to determin
which build, debug/retail and smp/uni.
And yet some more enhanchments like 16-bit logging.

File size: 2.2 KB
Line 
1; $Id: devlast.asm,v 1.5 2000-02-25 18:15:03 bird Exp $
2;
3; DevLast - the object file termintating the resident part of the objects.
4; Code after the ???END labes and object files and which are linked in
5; after this file is discarded after init.
6;
7; Copyright (c) 1999 knut st. osmundsen
8;
9; Project Odin Software License can be found in LICENSE.TXT
10;
11 .model flat
12 .386p
13
14;
15; Include files
16;
17 include devsegdf.inc
18
19
20;
21; Exported symbols
22;
23 public CODE16END
24 public DATA16END
25 public DATA16_BSSEND
26 public DATA16_CONSTEND
27 public CODE16END
28 public CODE32END
29 public DATA32END
30 public BSS32END
31 public CONST32_ROEND
32 public _VFTEND
33 public EH_DATAEND
34 public _CallR0Init32
35 public _CallVerifyImportTab32
36
37
38
39;
40; all segments have a <segmentname>END label at the end of the segment.
41;
42DATA16 segment
43DATA16END db ?
44DATA16 ends
45
46DATA16_BSS segment
47DATA16_BSSEND db ?
48DATA16_BSS ends
49
50DATA16_CONST segment
51DATA16_CONSTEND db ?
52DATA16_CONST ends
53
54
55extrn R0INIT32:FAR
56extrn VERIFYIMPORTTAB32:FAR
57
58CODE16 segment
59CODE16END db ?
60
61;;
62; Thunk procedure for R0Init32.
63; @cproto USHORT NEAR CallR0Init32(LIN pRpInit);
64; @returns Same as R0Init32.
65; @param pRpInit 32-bit pointer to request packet.
66; @status completely implemented.
67; @author knut st. osmundsen
68_CallR0Init32 PROC NEAR
69 ASSUME CS:CODE16
70 push ds
71 push word ptr [esp+6] ; push high word.
72 push word ptr [esp+6] ; push low word.
73 call far ptr FLAT:R0INIT32
74 pop ds
75 retn
76_CallR0Init32 ENDP
77
78
79;;
80; Thunk procedure for VerifyImportTab32.
81; @cproto USHORT NEAR CallVerifyImportTab32(void);
82; @returns Same as VerifyImportTab32.
83; @status completely implemented.
84; @author knut st. osmundsen
85_CallVerifyImportTab32 PROC NEAR
86 ASSUME CS:CODE16
87 push ds
88 call far ptr FLAT:VERIFYIMPORTTAB32
89 pop ds
90 retn
91_CallVerifyImportTab32 ENDP
92
93CODE16 ends
94
95
96CODE32 segment
97CODE32END LABEL BYTE
98CODE32 ends
99
100DATA32 segment
101DATA32END LABEL BYTE
102DATA32 ends
103
104BSS32 segment
105BSS32END LABEL BYTE
106BSS32 ends
107
108CONST32_RO segment
109CONST32_ROEND LABEL BYTE
110CONST32_RO ends
111
112_VFT segment
113_VFTEND LABEL BYTE
114_VFT ends
115
116EH_DATA segment
117EH_DATAEND LABEL BYTE
118EH_DATA ends
119
120END
121
Note: See TracBrowser for help on using the repository browser.