1 | ; $Id: segments.asm 142 2000-04-23 14:55:46Z ktk $
|
---|
2 |
|
---|
3 | ; SCCSID = %W% %E%
|
---|
4 | ;***************************************************************************;
|
---|
5 | ; ;
|
---|
6 | ; Copyright (c) IBM Corporation 1994 - 1997. ;
|
---|
7 | ; ;
|
---|
8 | ; The following IBM OS/2 source code is provided to you solely for the ;
|
---|
9 | ; the purpose of assisting you in your development of OS/2 device drivers. ;
|
---|
10 | ; You may use this code in accordance with the IBM License Agreement ;
|
---|
11 | ; provided in the IBM Device Driver Source Kit for OS/2. ;
|
---|
12 | ; ;
|
---|
13 | ;;**************************************************************************;
|
---|
14 | ;;@internal %W%
|
---|
15 | ; Defines segment ordering for 16-bit DD's with Watcom C++
|
---|
16 | ; @version %I%
|
---|
17 | ; @context
|
---|
18 | ; Unless otherwise noted, all interfaces are Ring-0, 16-bit, kernel stack.
|
---|
19 | ; @notes
|
---|
20 | ; @history
|
---|
21 | ; 01-Jul-95 Timur Tabi Creation
|
---|
22 | ;
|
---|
23 | ;;**************************************************************************;
|
---|
24 |
|
---|
25 | .386
|
---|
26 | .seq
|
---|
27 |
|
---|
28 | public _end_of_data
|
---|
29 | public _end_of_heap
|
---|
30 | public _end_of_initdata
|
---|
31 | public _end_of_text
|
---|
32 |
|
---|
33 | _HEADER segment dword public use16 'DATA'
|
---|
34 | _HEADER ends
|
---|
35 |
|
---|
36 | _DATA segment dword public use16 'DATA'
|
---|
37 | _DATA ends
|
---|
38 |
|
---|
39 | CONST segment dword public use16 'DATA'
|
---|
40 | CONST ends
|
---|
41 |
|
---|
42 | CONST2 segment dword public use16 'DATA'
|
---|
43 | CONST2 ends
|
---|
44 |
|
---|
45 | _BSS segment dword public use16 'BSS'
|
---|
46 | _BSS ends
|
---|
47 |
|
---|
48 | _ENDDS segment dword public use16 'ENDDS'
|
---|
49 | _end_of_data dw 0
|
---|
50 | _ENDDS ends
|
---|
51 |
|
---|
52 | _HEAP segment dword public use16 'ENDDS'
|
---|
53 | _HEAP ends
|
---|
54 |
|
---|
55 | _ENDHEAP segment dword public use16 'ENDDS'
|
---|
56 | _end_of_heap dw 0
|
---|
57 | _ENDHEAP ends
|
---|
58 |
|
---|
59 | _INITDATA segment dword public use16 'ENDDS'
|
---|
60 | _INITDATA ends
|
---|
61 |
|
---|
62 | _ENDINITDATA segment dword public use16 'ENDDS'
|
---|
63 | _end_of_initdata dw 0
|
---|
64 | _ENDINITDATA ends
|
---|
65 |
|
---|
66 | _TEXT segment dword public use16 'CODE'
|
---|
67 | _TEXT ends
|
---|
68 |
|
---|
69 | RMCODE segment dword public use16 'CODE'
|
---|
70 | RMCODE ends
|
---|
71 |
|
---|
72 | _ENDCS segment dword public use16 'CODE'
|
---|
73 | _end_of_text dw 0
|
---|
74 | _ENDCS ends
|
---|
75 |
|
---|
76 | _INITTEXT segment dword public use16 'CODE'
|
---|
77 | _INITTEXT ends
|
---|
78 |
|
---|
79 | DGROUP group _HEADER, CONST, CONST2, _DATA, _BSS, _ENDDS, _HEAP, _ENDHEAP, _INITDATA, _ENDINITDATA
|
---|
80 | CGROUP group _TEXT, RMCODE, _ENDCS, _INITTEXT
|
---|
81 |
|
---|
82 | end
|
---|