Thus spake David Xu <[EMAIL PROTECTED]>:
> I don't know if FreeBSD can run DOS program, if it can, then one CPU running
> DOS program can confuse another CPU which is running BIOS code because of this
> global flags. 
> 
> my current patch does not remove vm86_lock, it is still there, my orginal
> purpose is while CPU in VM86 mode, when hardware interrupt occurs, still
> allow interrupt thread to run.

FreeBSD can run DOS programs, but it does so by emulating all of
the common DOS and BIOS calls.  You can't safely give untrusted
userland programs direct access to the BIOS, and even if you
could, the BIOS calls wouldn't work as the DOS programs expected
them to.  See doscmd(1).

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to