From: Stas Sergeev <stssppnn@yahoo.com>
To: linux-msdos@vger.kernel.org
Subject: Re: MSM DPMI error
Date: Thu, 19 Sep 2002 16:51:52 +0400 [thread overview]
Message-ID: <3D89C868.2050703@yahoo.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 379 bytes --]
Hello.
Grigory Batalov wrote:
> I have full logs (-D9+M) if someone is interesting:
OK, AFAICS it have nothing to do with 1.1.3.4 - this
bug was always there and I wonder why nobody noticed
it before (oh, about a year ago Bart forwarded me
something similar from djgpp-devel, IIRC).
Try this patch. Without the ability to test, I can't
guarantee, but I think it must be a fix.
[-- Attachment #2: int_loop.diff --]
[-- Type: text/plain, Size: 526 bytes --]
--- src/dosext/dpmi/dpmi.c Thu Sep 19 06:38:56 2002
+++ src/dosext/dpmi/dpmi.c Thu Sep 19 16:45:35 2002
@@ -2202,7 +2202,11 @@
case 0x1c: /* ROM BIOS timer tick interrupt */
case 0x23: /* DOS Ctrl+C interrupt */
case 0x24: /* DOS critical error interrupt */
- run_pm_int(VM86_ARG(retval));
+ if (SEGOFF2LINEAR(BIOSSEG, INT_OFF(VM86_ARG(retval))) !=
+ SEGOFF2LINEAR(_CS, _IP) -2)
+ run_pm_int(VM86_ARG(retval));
+ else
+ do_int(VM86_ARG(retval));
break;
default:
#ifdef USE_MHPDBG
next reply other threads:[~2002-09-19 12:51 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-19 12:51 Stas Sergeev [this message]
2002-09-19 13:35 ` MSM DPMI error Grigory Batalov
-- strict thread matches above, loose matches on Subject: below --
2002-09-27 3:25 Stas Sergeev
2002-09-27 8:30 ` Grigory Batalov
2002-09-27 9:45 ` Johan Gill
2002-09-30 4:38 ` Grigory Batalov
2002-09-19 13:53 Stas Sergeev
2002-09-20 5:35 ` Grigory Batalov
2002-09-19 12:16 Stas Sergeev
2002-09-19 13:05 ` Grigory Batalov
2002-09-19 7:25 Grigory Batalov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D89C868.2050703@yahoo.com \
--to=stssppnn@yahoo.com \
--cc=linux-msdos@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox