From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/704 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Compatability: missing sys/vm86.h Date: Wed, 11 Apr 2012 22:35:20 -0400 Message-ID: <20120412023520.GF7281@brightrain.aerifal.cx> References: <20120410130024.10acbcfb@newbook> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1334198012 20986 80.91.229.3 (12 Apr 2012 02:33:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 12 Apr 2012 02:33:32 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-705-gllmg-musl=m.gmane.org@lists.openwall.com Thu Apr 12 04:33:30 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1SI9qc-0002dt-Uv for gllmg-musl@plane.gmane.org; Thu, 12 Apr 2012 04:33:23 +0200 Original-Received: (qmail 27698 invoked by uid 550); 12 Apr 2012 02:33:21 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 27689 invoked from network); 12 Apr 2012 02:33:21 -0000 Content-Disposition: inline In-Reply-To: <20120410130024.10acbcfb@newbook> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:704 Archived-At: On Tue, Apr 10, 2012 at 01:00:24PM -0700, Isaac Dunham wrote: > sys/vm86.h is largely a wrapper for asm/vm86.h from linux-libc-dev, but > provides one other function (prototype per man 2 vm86): > > int vm86(unsigned long fn, struct vm86plus_struct *v86); > > There are no feature test macros required. > > This is needed for some versions of Xvesa/Xfbdev, as well as dev86, > dosemu, and a number of other programs. Hmm, I recently (essentially) rejected a request to include sys/io.h (legacy 16bit x86 port io) on the basis that it has no modern use and is machine-specific. However vm86 is a little bit different since it's a syscall.. and dosemu, while old and ugly, may be useful to some people. Xfbdev using vm86 is just broken, but since there do seem to be valid uses, I think this could potentially be added... and it might call on me to rethink the rejection of sys/io.h. Rich