Dosemu on 64 bit architectures
I'm moving to a 64-bit system (Debian stable). The Dosemu website speaks about 64-bit ports since at least V 1.4.X, I have downloaded those binaries (with instructions that make no mention of any special 64-bit considerations or issues), but have been unable to get them to work and I wonder if they are 64-bit aware, It is also notable that debian currently does not seem to offer a dosemu package. Am I on the wrong track? There was talk of a V2 in about 2013. Was that a fork, and should I be using it perhaps? Yet the original dosemu site persists, still with 2007 information, and no indication that it is not still relevant. All of this makes me wonder if this (sadly) is a dead end. To cut to the chase: what do I need to do to run dosemu on a 64 bit OS, as promised? where is the software, and where is it documented? Any help or pointers (or critiques) would be much appreciated. Thanks! -- Richard -- To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [v2 5/7] x86: Add emulation code for UMIP instructions
On Thu, Dec 29, 2016 at 9:23 PM, Ricardo Neri wrote: > On Tue, 2016-12-27 at 16:48 -0800, Andy Lutomirski wrote: >> >> >> > + if (nr_copied > 0) >> >> > + return -EFAULT; >> >> >> >> This should be the only EFAULT case. >> > Should this be EFAULT event if the caller cares only about successful >> > (return 0) vs failed (return non-0) emulation? >> >> In theory this particular error would be a page fault not a general >> protection fault (in the UMIP off case). If you were emulating it >> extra carefully, you could change the signal accordingly. But, as I >> said, I really doubt this matters. > > If simple enough and for the sake of accuracy, I could try to issue the > page fault. It seems to me that this entitles calling > force_sig_info_fault in this particular case as opposed to the > force_sig_info(SIGSEGV, SEND_SIG_PRIV, tsk) that do_general_protection > calls. Sure. You could even do it by sending the signal in the emulation code and returning true. --Andy -- To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html