[ros-svn] [ion] 20918: - Fix a bad bug in the system call handler and interrupt/trap exit code which was causing a jump to the incorrect epilogue if V86 mode was detected.

ion at svn.reactos.org ion at svn.reactos.org
Mon Jan 16 20:33:23 CET 2006


- Fix a bad bug in the system call handler and interrupt/trap exit code which was causing a jump to the incorrect epilogue if V86 mode was detected.
- Replaced most of the trap prolog code by the KiDebugService entry trap code from syscall.S. Eventually, after remaining bugs are fixed, the code will be shared across all traps and not duplicated anymore. (For documnetation's sake, changing the prolog has the following effects: DR registers are not saved anymore (they will be later), DS/ES are set to RPL3 DATA, not RPL0 DATA, GS is not touched (it shoudl be 0, not RPL0_DATA). PreviousMode is not touched at all, the Debug Trap Frame header is properly setup).


Updated files:
trunk/reactos/ntoskrnl/ke/i386/syscall.S
trunk/reactos/ntoskrnl/ke/i386/trap.s




More information about the Ros-svn mailing list