At 09:09 PM 9/28/2004 +0400, Arkady V.Belousov wrote:
Hi!

26-���-2004 12:34 [EMAIL PROTECTED] (Michael Devore) wrote to
[EMAIL PROTECTED]:

     This is bad. :( Please, add as much, as possible, more checks before
executing emulated instruction inside RING0, else we may/will receive
reports about "bad FreeDOS/EMM386 behavior", whereas programs itself should
be blamed.

It is not EMM386's or any memory manager's job to protect the user from his or her application. If EMM386 emulates all moves to and from control registers and debug registers, plus covers the WBINVD and RDMSR style odd values, it will be well ahead of where it is now. A number of restricted opcode are meaningless in V86 mode. What good does LAR or flushing the TLB's do you in V86 mode? If an application encounters that sort of thing, its extremely likely to be executing garbage at that point anyway. And it would be a benefit to report it as illegal opcode and terminate rather than get into a complete lockup or reboot situation.






-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to