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

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

Corrections to make win32k work.
(And now it does work, at least at my test machine...)

File size: 2.0 KB
Line 
1; $Id: devlast.asm,v 1.2 1999-10-27 02:02:54 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 _CallR0Init32
33 public _CallVerifyProcTab32
34
35
36
37;
38; all segments have a <segmentname>END label at the end of the segment.
39;
40DATA16 segment
41DATA16END db ?
42DATA16 ends
43
44DATA16_BSS segment
45DATA16_BSSEND db ?
46DATA16_BSS ends
47
48DATA16_CONST segment
49DATA16_CONSTEND db ?
50DATA16_CONST ends
51
52
53extrn R0INIT32:FAR
54extrn VERIFYPROCTAB32:FAR
55
56CODE16 segment
57CODE16END db ?
58
59;;
60; Thunk procedure for R0Init32.
61; @cproto USHORT NEAR CallR0Init32(LIN pRpInit);
62; @returns Same as R0Init32.
63; @param pRpInit 32-bit pointer to request packet.
64; @status completely implemented.
65; @author knut st. osmundsen
66_CallR0Init32 PROC NEAR
67 ASSUME CS:CODE16
68 push ds
69 push word ptr [esp+6] ; push high word.
70 push word ptr [esp+6] ; push low word.
71 call far ptr FLAT:R0INIT32
72 pop ds
73 retn
74_CallR0Init32 ENDP
75
76
77;;
78; Thunk procedure for VerifyProcTab32.
79; @cproto USHORT NEAR CallVerifyProcTab32(void);
80; @returns Same as VerifyProcTab32.
81; @status completely implemented.
82; @author knut st. osmundsen
83_CallVerifyProcTab32 PROC NEAR
84 ASSUME CS:CODE16
85 push ds
86 call far ptr FLAT:VERIFYPROCTAB32
87 pop ds
88 retn
89_CallVerifyProcTab32 ENDP
90
91CODE16 ends
92
93
94CODE32 segment
95CODE32END db ?
96CODE32 ends
97
98DATA32 segment
99DATA32END db ?
100DATA32 ends
101
102BSS32 segment
103BSS32END LABEL BYTE
104BSS32 ends
105
106CONST32_RO segment
107CONST32_ROEND db ?
108CONST32_RO ends
109END
110
Note: See TracBrowser for help on using the repository browser.