mirror of
https://github.com/reactos/reactos.git
synced 2024-10-06 09:24:11 +00:00
fixing a small bug, do not known why, with this change I getting 19 of 20 booting working for me. I have not update to lates svn yet.
old change I did get 11 of 12 booting working svn path=/trunk/; revision=24793
This commit is contained in:
parent
3f3741f6eb
commit
1cae12f9ba
|
@ -75,11 +75,11 @@ EXTERN(_Int386)
|
||||||
movl %eax,Int386_regsout
|
movl %eax,Int386_regsout
|
||||||
|
|
||||||
/* Save all registers + segment registers */
|
/* Save all registers + segment registers */
|
||||||
pushal
|
|
||||||
pushw %ds
|
pushw %ds
|
||||||
pushw %es
|
pushw %es
|
||||||
pushw %fs
|
pushw %fs
|
||||||
pushw %gs
|
pushw %gs
|
||||||
|
pushal
|
||||||
|
|
||||||
/* Copy the input regs to our variables */
|
/* Copy the input regs to our variables */
|
||||||
movl $Int386_REGS,%edi
|
movl $Int386_REGS,%edi
|
||||||
|
@ -153,11 +153,13 @@ Int386_vector_opcode:
|
||||||
movsb
|
movsb
|
||||||
|
|
||||||
/* Restore segment and all other registers */
|
/* Restore segment and all other registers */
|
||||||
|
|
||||||
|
|
||||||
|
popal
|
||||||
popw %gs
|
popw %gs
|
||||||
popw %fs
|
popw %fs
|
||||||
popw %es
|
popw %es
|
||||||
popw %ds
|
popw %ds
|
||||||
popal
|
|
||||||
|
|
||||||
/* Get return value */
|
/* Get return value */
|
||||||
movl Int386_eax,%eax
|
movl Int386_eax,%eax
|
||||||
|
|
Loading…
Reference in a new issue