Reinstated _IRQTEXT, now with corrected segment loads in irqstack.asm.

It is better to use groups than segments here.


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1343 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2007-07-23 11:23:11 +00:00
parent 43399a4335
commit c3bd779112
2 changed files with 6 additions and 5 deletions

View File

@ -32,7 +32,7 @@
%include "segs.inc"
segment _LOWTEXT
segment _IRQTEXT
old_vectors times 16 dd 0
stack_size dw 0
@ -172,7 +172,7 @@ _init_stacks:
push si
mov ax,_LOWTEXT
mov ax,LGROUP
mov ds,ax
mov bx, [bp+4]
@ -191,7 +191,7 @@ _init_stacks:
xor ax, ax
mov ds, ax
mov ax, _LOWTEXT
mov ax, LGROUP
mov es, ax
mov di, old_vectors
@ -225,7 +225,7 @@ set_vect:
set_next: mov ax, dx
cli
stosw
mov ax, _LOWTEXT
mov ax, LGROUP
stosw
sti
add dx, irq_1 - irq_0

View File

@ -39,7 +39,7 @@ CPU XCPU
%endif
group PGROUP PSP
group LGROUP _LOWTEXT _IO_TEXT _IO_FIXED_DATA _TEXT
group LGROUP _IRQTEXT _LOWTEXT _IO_TEXT _IO_FIXED_DATA _TEXT
group DGROUP _FIXED_DATA _BSS _DATA _DATAEND CONST CONST2 DCONST DYN_DATA
%ifdef WATCOM
group TGROUP HMA_TEXT_START HMA_TEXT HMA_TEXT_END INIT_TEXT_START INIT_TEXT INIT_TEXT_END
@ -51,6 +51,7 @@ group I_GROUP ID_B ID ID_E IC IDATA IB_B IB IB_E
%endif
segment PSP class=PSP
segment _IRQTEXT class=LCODE
segment _LOWTEXT class=LCODE
segment _IO_TEXT class=LCODE
segment _IO_FIXED_DATA class=LCODE align=2