ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Led <led@ukr-fin.com.ua>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] linux-libc-headers & vm86.h
Date: Thu, 13 Jul 2006 20:52:15 +0300
Message-ID: <200607132052.16163.led@ukr-fin.com.ua> (raw)
In-Reply-To: <20060713174619.GA15351@procyon.home>

В сообщении от 13 июля 2006 20:46 Sergey Vlasov написал(a):
> On Thu, Jul 13, 2006 at 09:26:28PM +0400, Konstantin A. Lepikhov wrote:
> > Hi Led!
> >
> > Thursday 13, at 08:22:59 PM you wrote:
> > > В сообщении от 13 июля 2006 20:18 Konstantin A. Lepikhov написал(a):
> > > > Hi Led!
> > > >
> > > > Thursday 13, at 08:07:43 PM you wrote:
> > > > > Отсутствие asm/vm86.h в сборке linux-libc-headers для x86_64 -
> > > > > преднамеренно?
> > > >
> > > > для x86_64 vm86() неактуально.
> > >
> > > Неактуально или невозможно?
> >
> > на уровне ia32_syscall оно поддерживается.
>
> Нет - x86_64 вообще не поддерживает vm86():
>
> long sys32_vm86_warning(void)
> {
> 	struct task_struct *me = current;
> 	static char lastcomm[sizeof(me->comm)];
> 	if (strncmp(lastcomm, me->comm, sizeof(lastcomm))) {
> 		printk(KERN_INFO "%s: vm86 mode not supported on 64 bit kernel\n",
> 		       me->comm);
> 		strncpy(lastcomm, me->comm, sizeof(lastcomm));
> 	}
> 	return -ENOSYS;
> }
>
> Единственный возможный способ выполнения кода для реального режима
> 8086 на x86_64 - полная программная эмуляция процессора.  В частности,
> соответствующий код (x86emu) есть в xorg (там он используется для
> выполнения кода из BIOS видеоадаптера).

Не подскажете: какую библиотеку подключить и какие *.h использовать, чтобы 
получить доступ к этому x86emu?

-- 
Led.


      reply	other threads:[~2006-07-13 17:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-13 17:07 Led
2006-07-13 17:18 ` Konstantin A. Lepikhov
2006-07-13 17:22   ` Led
2006-07-13 17:26     ` Konstantin A. Lepikhov
2006-07-13 17:32       ` Led
2006-07-13 17:45         ` Konstantin A. Lepikhov
2006-07-13 17:46       ` Sergey Vlasov
2006-07-13 17:52         ` Led [this message]

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=200607132052.16163.led@ukr-fin.com.ua \
    --to=led@ukr-fin.com.ua \
    --cc=devel@lists.altlinux.org \
    /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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git