Hi Eric and Tom,

>       if (r->SI == 0) <-- do not leave this test as "... == 0"
> ...
> 
> Otherwise all "typed reads" would turn into writes!

I didn't look at the source any further ;-)...
But of course, you are right.

> I suggest the following patch. If there are no objections, it
> can go into stable kernel 2038 :-). Christian, please do test
> this patch to see if it fixes your problem. In inthndlr.c:
> 
> -      if (r->CX != 0xffff || ((r->SI & 1) == 0 && r->SI != 0)
> -          || (r->SI & ~0x6001))
> +      if (r->CX != 0xffff || (r->SI & ~0x6001))
> 
> -      if (r->SI == 0)
> +      if ((r->SI & 1) == 0) /* while uncommon, reads CAN have type hints */

Thanks for compiling me the current kernel with your patch. I just
tested it and this one seems to solve the issue and lets me run our
applications.

> The rest of this mail is more philosophical... Read it only
> if you are interested in better kernel performance ;-).

Eh, I see ;-)...

Great support and nice to see that there are still some peaople around;
did not expect such a fast respond when I took a look at the bugtracker
;-).

Christian

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Freedos-kernel mailing list
Freedos-kernel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to