diff options
author | Petr Tesarik <kernel@tesarici.cz> | 2005-09-03 15:56:28 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-09-05 00:06:09 -0700 |
commit | 5fd75ebb1a58c1a3c9e3d9fdf75ce7286b79bb74 (patch) | |
tree | 9597e94f20ba1fa317cc05c450e43c8fe80f39ea /drivers/net/ppp_synctty.c | |
parent | 7ae65fd334232468a9d6b523a4fc141cd6ec5ea4 (diff) |
[PATCH] vm86: Honor TF bit when emulating an instruction
If the virtual 86 machine reaches an instruction which raises a General
Protection Fault (such as CLI or STI), the instruction is emulated (in
handle_vm86_fault). However, the emulation ignored the TF bit, so the
hardware debug interrupt was not invoked after such an emulated instruction
(and the DOS debugger missed it).
This patch fixes the problem by emulating the hardware debug interrupt as
the last action before control is returned to the VM86 program.
Signed-off-by: Petr Tesarik <kernel@tesarici.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/net/ppp_synctty.c')
0 files changed, 0 insertions, 0 deletions