public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@transmeta.com>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	kai@thphy.uni-duesseldorf.de, Alan Cox <alan@redhat.com>
Subject: Re: That horrible hack from hell called A20
Date: Tue, 05 Dec 2000 16:15:05 -0800	[thread overview]
Message-ID: <3A2D8509.117F6BD8@transmeta.com> (raw)
In-Reply-To: <Pine.LNX.4.10.10012051558490.13428-100000@penguin.transmeta.com>

Linus Torvalds wrote:
> 
> So the "orb $2,%al ; andb $0xfe,%al" will potentially change both of
> these. And I'd feel a hell of a lot more safe, if we avoided using 0x92
> except when we find that we absolutely _have_ to.
> 
> How about making the keyboard controller timeouts shorter, and moving all
> the 0x92 games to after the keyboard controller games. That, I feel, would
> be the safest approach: try the really old approach first (that people are
> the least likely to use as GPIO - it's just too damn painful to go through
> the keyboard controller, and the keyboard controller A20 logic is just too
> well documented, so nobody would use it for anything else).
> 
> If the keyboard controller times out, or if A20 still doesn't seem to be
> enabled, only _then_ would we do the 0x92 testing.
> 
> Btw, do we actually know of any machine that really needs the "and $0xfe"?
> That register really makes me nervous.
> 

Good question.  The whole thing makes me nervous... in fact, perhaps we
should really consider using the BIOS INT 15h interrupt to enter
protected mode?

	-hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  reply	other threads:[~2000-12-06  0:47 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-05 23:30 That horrible hack from hell called A20 H. Peter Anvin
2000-12-06  0:13 ` Linus Torvalds
2000-12-06  0:15   ` H. Peter Anvin [this message]
2000-12-06  1:26     ` Alan Cox
2000-12-06  0:21 ` Kai Germaschewski
2000-12-06  0:48   ` Linus Torvalds
2000-12-06 15:53     ` Richard B. Johnson
2000-12-06 18:26       ` H. Peter Anvin
2000-12-06  1:07   ` Linus Torvalds
2000-12-06  1:10     ` H. Peter Anvin
2000-12-06  1:37       ` Linus Torvalds
2000-12-06  1:41         ` Linus Torvalds
2000-12-06  2:38           ` H. Peter Anvin
2000-12-08 10:33       ` Riley Williams
2000-12-06 10:16     ` Kai Germaschewski
2000-12-06  1:25 ` Alan Cox
2000-12-06  2:05   ` H. Peter Anvin
     [not found] <fa.mnh2nkv.1kkusq6@ifi.uio.no>
     [not found] ` <fa.enh20bv.1pkea3o@ifi.uio.no>
2000-12-06 12:43   ` Giacomo Catenazzi
2000-12-06 13:01     ` Alan Cox
2000-12-06 17:37       ` H. Peter Anvin

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=3A2D8509.117F6BD8@transmeta.com \
    --to=hpa@transmeta.com \
    --cc=alan@redhat.com \
    --cc=kai@thphy.uni-duesseldorf.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox