mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@aerifal.cx>
To: musl@lists.openwall.com
Subject: Re: Compatability: missing sys/vm86.h
Date: Wed, 11 Apr 2012 22:35:20 -0400	[thread overview]
Message-ID: <20120412023520.GF7281@brightrain.aerifal.cx> (raw)
In-Reply-To: <20120410130024.10acbcfb@newbook>

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


  reply	other threads:[~2012-04-12  2:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-10 20:00 Isaac Dunham
2012-04-12  2:35 ` Rich Felker [this message]
2012-04-12 23:59   ` Isaac Dunham
2012-04-13  0:18     ` Rich Felker
2012-04-13  2:45       ` sed unmacro Isaac Dunham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120412023520.GF7281@brightrain.aerifal.cx \
    --to=dalias@aerifal.cx \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).