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

Last change on this file was 4164, checked in by bird, 25 years ago

Merged in the Grace branch. New Win32k!

File size: 2.6 KB
RevLine 
[4164]1; $Id: devlast.asm,v 1.6 2000-09-02 21:07:58 bird Exp $
[847]2;
[1467]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;
[847]7; Copyright (c) 1999 knut st. osmundsen
8;
[1467]9; Project Odin Software License can be found in LICENSE.TXT
[847]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 DATA16END
24 public DATA16_BSSEND
25 public DATA16_CONSTEND
[4164]26 public DATA16_INITEND
27 public DATA16_INIT_BSSEND
28 public DATA16_INIT_CONSTEND
[847]29 public CODE16END
[4164]30 public CODE16_INITEND
[847]31 public CODE32END
32 public DATA32END
33 public BSS32END
34 public CONST32_ROEND
[2898]35 public _VFTEND
36 public EH_DATAEND
[4164]37
[847]38 public _CallR0Init32
[2832]39 public _CallVerifyImportTab32
[847]40
41
42
43;
44; all segments have a <segmentname>END label at the end of the segment.
45;
46DATA16 segment
47DATA16END db ?
48DATA16 ends
49
50DATA16_BSS segment
51DATA16_BSSEND db ?
52DATA16_BSS ends
53
54DATA16_CONST segment
55DATA16_CONSTEND db ?
56DATA16_CONST ends
57
[4164]58DATA16_INIT segment
59DATA16_INITEND db ?
60DATA16_INIT ends
[847]61
[4164]62DATA16_INIT_BSS segment
63DATA16_INIT_BSSEND db ?
64DATA16_INIT_BSS ends
[847]65
[4164]66DATA16_INIT_CONST segment
67DATA16_INIT_CONSTEND db ?
68DATA16_INIT_CONST ends
69
[847]70CODE16 segment
71CODE16END db ?
[4164]72CODE16 ends
[847]73
[4164]74extrn R0INIT32:FAR
75extrn VERIFYIMPORTTAB32:FAR
76
77CODE16_INIT segment
[1467]78;;
79; Thunk procedure for R0Init32.
80; @cproto USHORT NEAR CallR0Init32(LIN pRpInit);
81; @returns Same as R0Init32.
82; @param pRpInit 32-bit pointer to request packet.
83; @status completely implemented.
84; @author knut st. osmundsen
[847]85_CallR0Init32 PROC NEAR
[4164]86 ASSUME CS:CODE16_INIT
[847]87 push ds
[1467]88 push word ptr [esp+6] ; push high word.
89 push word ptr [esp+6] ; push low word.
[847]90 call far ptr FLAT:R0INIT32
91 pop ds
[4164]92 ret
[847]93_CallR0Init32 ENDP
[1467]94
95
96;;
[2832]97; Thunk procedure for VerifyImportTab32.
98; @cproto USHORT NEAR CallVerifyImportTab32(void);
99; @returns Same as VerifyImportTab32.
[1467]100; @status completely implemented.
101; @author knut st. osmundsen
[2832]102_CallVerifyImportTab32 PROC NEAR
[4164]103 ASSUME CS:CODE16_INIT
[1467]104 push ds
[2832]105 call far ptr FLAT:VERIFYIMPORTTAB32
[1467]106 pop ds
[4164]107 ret
[2832]108_CallVerifyImportTab32 ENDP
[1467]109
[4164]110CODE16_INITEND LABEL BYTE
111CODE16_INIT ends
[847]112
[1467]113
[847]114CODE32 segment
[2898]115CODE32END LABEL BYTE
[847]116CODE32 ends
117
118DATA32 segment
[2898]119DATA32END LABEL BYTE
[847]120DATA32 ends
121
122BSS32 segment
123BSS32END LABEL BYTE
124BSS32 ends
125
126CONST32_RO segment
[2836]127CONST32_ROEND LABEL BYTE
[847]128CONST32_RO ends
[2836]129
130_VFT segment
131_VFTEND LABEL BYTE
132_VFT ends
133
134EH_DATA segment
135EH_DATAEND LABEL BYTE
136EH_DATA ends
137
[4164]138
[847]139END
140
Note: See TracBrowser for help on using the repository browser.