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:
Magnus Olsen 2006-11-19 21:17:52 +00:00
parent 3f3741f6eb
commit 1cae12f9ba

View file

@ -75,11 +75,11 @@ EXTERN(_Int386)
movl %eax,Int386_regsout
/* Save all registers + segment registers */
pushal
pushw %ds
pushw %es
pushw %fs
pushw %gs
pushal
/* Copy the input regs to our variables */
movl $Int386_REGS,%edi
@ -153,11 +153,13 @@ Int386_vector_opcode:
movsb
/* Restore segment and all other registers */
popal
popw %gs
popw %fs
popw %es
popw %ds
popal
/* Get return value */
movl Int386_eax,%eax