Skip to contentSkip to conversation

That horrible hack from hell called A20

DISCUSSION Giacomo Catenazzi 3 participants 3 messages Dec 6, 2000 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 6 lines · H. Peter Anvin

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?

Maybe it is better to try with INT15 AX=2400 (Enable A20 gate).

INT 15-2400 enable A20
INT 15-2401 disable A20
INT 15-2402 query status A20
INT 15-2403 query A20 support (kdb or port 92)

IBM classifies these functions as optional, but it is enabled on a lot of
new BIOS, no know conflicts, thus we can call this function to enable A20,
check the result and only after failure we can try the old methods.

giacomo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#2 lore raw
Quoted 9 lines

INT 15-2401 disable A20
INT 15-2402 query status A20
INT 15-2403 query A20 support (kdb or port 92)

IBM classifies these functions as optional, but it is enabled on a lot of
new BIOS, no know conflicts, thus we can call this function to enable A20,
check the result and only after failure we can try the old methods.

I trust Linus over BIOS vendors, every single time.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#3 lore raw
Quoted 5 lines · Alan Cox
Quoted 5 lines

INT 15-2401 disable A20
INT 15-2402 query status A20
INT 15-2403 query A20 support (kdb or port 92)

Quoted 8 lines
Quoted 5 lines

IBM classifies these functions as optional, but it is enabled on a lot of
new BIOS, no know conflicts, thus we can call this function to enable A20,
check the result and only after failure we can try the old methods.

I trust Linus over BIOS vendors, every single time.

The problem here is Linus doing things right, and the BIOS vendors not... and the BIOS getting confused. If INT 15:24xx is supported, we might actually want to use it, under the assumption that if it works, the BIOS Suspend-to-Foo routines probably won't get too confused.

-hpa

Signature · 7 lines
<[email protected]> at work, <[email protected]> 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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/