2000-05-06 21:34:20 +02:00
|
|
|
; File:
|
|
|
|
; segs.inc
|
|
|
|
; Description:
|
|
|
|
; Segment definitions for the kernel
|
|
|
|
;
|
|
|
|
; Copyright (c) 1998
|
|
|
|
; Pasquale J. Villani
|
|
|
|
; All Rights Reserved
|
|
|
|
;
|
|
|
|
; This file is part of DOS-C.
|
|
|
|
;
|
|
|
|
; DOS-C is free software; you can redistribute it and/or
|
|
|
|
; modify it under the terms of the GNU General Public License
|
|
|
|
; as published by the Free Software Foundation; either version
|
|
|
|
; 2, or (at your option) any later version.
|
|
|
|
;
|
|
|
|
; DOS-C is distributed in the hope that it will be useful, but
|
|
|
|
; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
|
|
|
|
; the GNU General Public License for more details.
|
|
|
|
;
|
|
|
|
; You should have received a copy of the GNU General Public
|
|
|
|
; License along with DOS-C; see the file COPYING. If not,
|
|
|
|
; write to the Free Software Foundation, 675 Mass Ave,
|
|
|
|
; Cambridge, MA 02139, USA.
|
|
|
|
;
|
|
|
|
; $Header$
|
|
|
|
;
|
|
|
|
|
2001-04-22 00:32:53 +02:00
|
|
|
group PGROUP PSP
|
2003-06-15 14:56:57 +02:00
|
|
|
group LGROUP _LOWTEXT _IO_TEXT _IO_FIXED_DATA _TEXT
|
2002-01-27 02:13:07 +01:00
|
|
|
group DGROUP _FIXED_DATA _BSS _DATA _DATAEND CONST CONST2 DCONST DYN_DATA
|
2004-04-10 16:18:25 +02:00
|
|
|
%ifdef WATCOM
|
|
|
|
group TGROUP HMA_TEXT_START HMA_TEXT HMA_TEXT_END INIT_TEXT_START INIT_TEXT INIT_TEXT_END
|
|
|
|
%else
|
2003-03-12 23:43:53 +01:00
|
|
|
group TGROUP HMA_TEXT_START HMA_TEXT HMA_TEXT_END
|
2004-04-10 12:59:57 +02:00
|
|
|
group IGROUP INIT_TEXT_START INIT_TEXT INIT_TEXT_END
|
2004-04-10 16:18:25 +02:00
|
|
|
%endif
|
2004-04-10 12:59:57 +02:00
|
|
|
group I_GROUP ID_B ID ID_E IC IDATA ICONST ICONST2 I_DATA IB_B I_BSS IB IB_E
|
2000-05-06 21:34:20 +02:00
|
|
|
|
2001-04-22 00:32:53 +02:00
|
|
|
segment PSP class=PSP
|
2002-12-09 01:17:15 +01:00
|
|
|
segment _LOWTEXT class=LCODE
|
|
|
|
segment _IO_TEXT class=LCODE
|
|
|
|
segment _IO_FIXED_DATA class=LCODE align=2
|
2003-06-15 14:56:57 +02:00
|
|
|
segment _TEXT class=LCODE
|
2002-01-27 02:13:07 +01:00
|
|
|
segment _FIXED_DATA class=FDATA align=16
|
2000-05-06 21:34:20 +02:00
|
|
|
segment _BSS class=BSS align=2
|
2002-01-27 02:13:07 +01:00
|
|
|
segment _DATA class=DATA align=2
|
|
|
|
segment _DATAEND class=DATA align=1
|
|
|
|
;for WATCOM
|
|
|
|
segment CONST class=DATA align=2
|
|
|
|
segment CONST2 class=DATA align=2
|
2001-09-23 22:39:44 +02:00
|
|
|
;for MSC
|
|
|
|
segment DCONST class=DCONST align=2
|
2002-01-23 23:29:41 +01:00
|
|
|
segment DYN_DATA class=DYN_DATA
|
2002-12-09 01:17:15 +01:00
|
|
|
segment HMA_TEXT_START class=CODE align=16
|
2003-03-12 23:43:53 +01:00
|
|
|
segment HMA_TEXT class=CODE
|
2002-12-09 01:17:15 +01:00
|
|
|
segment HMA_TEXT_END class=CODE
|
2003-06-15 14:56:57 +02:00
|
|
|
segment INIT_TEXT_START class=CODE align=16
|
|
|
|
segment INIT_TEXT class=CODE
|
2004-04-10 16:18:25 +02:00
|
|
|
segment INIT_TEXT_END class=CODE
|
2004-04-10 12:59:57 +02:00
|
|
|
segment ID_B class=ID align=16
|
2001-04-22 00:32:53 +02:00
|
|
|
segment ID class=ID align=2
|
|
|
|
segment ID_E class=ID align=2
|
2001-09-23 22:39:44 +02:00
|
|
|
segment IDATA class=ID align=2
|
2002-01-23 23:29:41 +01:00
|
|
|
segment IC class=IC align=2
|
|
|
|
|
|
|
|
;for Watcom
|
|
|
|
segment ICONST class=FAR_DATA align=2
|
|
|
|
segment ICONST2 class=FAR_DATA align=2
|
|
|
|
segment I_DATA class=FAR_DATA align=2
|
|
|
|
|
2001-04-22 00:32:53 +02:00
|
|
|
segment IB_B class=IB align=2
|
2002-12-09 01:17:15 +01:00
|
|
|
segment I_BSS class=FAR_DATA align=2
|
2001-04-22 00:32:53 +02:00
|
|
|
segment IB class=IB align=2
|
|
|
|
segment IB_E class=IB align=2
|