mirror of
https://github.com/FDOS/kernel.git
synced 2025-07-24 22:34:29 +02:00
Disable interrupts before storing IVTs and fix the 8086 kernel.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1336 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
a4bc22884c
commit
4d7fc0f7ed
@ -200,9 +200,15 @@ reloc_call_int19_handler:
|
|||||||
mov ds,ax
|
mov ds,ax
|
||||||
mov si,100h
|
mov si,100h
|
||||||
mov cx,5
|
mov cx,5
|
||||||
|
cli
|
||||||
nextitem: lodsb
|
nextitem: lodsb
|
||||||
mov di,ax
|
mov di,ax
|
||||||
|
%ifdef I86
|
||||||
|
shl di,1
|
||||||
|
shl di,1
|
||||||
|
%else
|
||||||
shl di,2
|
shl di,2
|
||||||
|
%endif
|
||||||
movsw
|
movsw
|
||||||
movsw
|
movsw
|
||||||
loop nextitem
|
loop nextitem
|
||||||
|
Loading…
x
Reference in New Issue
Block a user