All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nate Lawson <nate-Y6VGUYTwhu0@public.gmane.org>
To: "Emmanuel Thomé" <Emmanuel.Thome-MZpvjPyXg2s@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Re: s3_late_bios
Date: Tue, 09 Nov 2004 12:26:14 -0800	[thread overview]
Message-ID: <419127E6.3000603@root.org> (raw)
In-Reply-To: <20041109125522.GA8015-xkTd+U360DcAs8EywTwl9A@public.gmane.org>

Emmanuel Thomé wrote:
> On Mon, Nov 08, 2004 at 01:53:25PM -0800, Nate Lawson wrote:
>>Why the switch to real mode to run the BIOS call?  Can't this be done 
>>from vm86 mode?
> 
> Yes it can, at least I think so. You're welcome to tweak this to do it in
> a vm86 mode if you like.

I mostly work on FreeBSD and since it has clean vm86 support routines, 
it doesn't involve any inline assembly to do the lcall there.  I assume 
Linux has something similar.  I think re-entering real mode and 
overloading the resume asm code to run just one instruction is a bit of 
a hack.

-- 
Nate


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click

  parent reply	other threads:[~2004-11-09 20:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-08 14:49 s3_late_bios Emmanuel Thomé
     [not found] ` <20041108144947.GA31267-xkTd+U360DcAs8EywTwl9A@public.gmane.org>
2004-11-08 21:35   ` s3_late_bios Pavel Machek
     [not found]     ` <20041108213558.GB4607-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-11-08 21:53       ` s3_late_bios Nate Lawson
     [not found]         ` <418FEAD5.1000007-Y6VGUYTwhu0@public.gmane.org>
2004-11-09 12:55           ` Emmanuel Thomé
     [not found]             ` <20041109125522.GA8015-xkTd+U360DcAs8EywTwl9A@public.gmane.org>
2004-11-09 20:26               ` Nate Lawson [this message]
     [not found]                 ` <419127E6.3000603-Y6VGUYTwhu0@public.gmane.org>
2004-11-09 20:43                   ` Matthew Garrett
2004-11-10  7:20                   ` Emmanuel Thomé
     [not found]                     ` <20041110072003.GA13561-xkTd+U360DcAs8EywTwl9A@public.gmane.org>
2004-11-10 11:56                       ` Matthew Garrett
2004-11-10 14:11                         ` s3_late_bios ole.rohne-vJEk5272eHo
2004-11-10 16:25                         ` s3_late_bios Nate Lawson
2004-11-10 13:16                 ` s3_late_bios ole.rohne-vJEk5272eHo
2004-11-08 23:09   ` s3_late_bios Greg
     [not found]     ` <3195717504110815096a527710-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2004-11-09 12:56       ` s3_late_bios Emmanuel Thomé

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=419127E6.3000603@root.org \
    --to=nate-y6vguytwhu0@public.gmane.org \
    --cc=Emmanuel.Thome-MZpvjPyXg2s@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.