Re: Booting big kernels on IBM ThinkPad 770X

Peter T. Breuer (ptb@it.uc3m.es)
Wed, 2 Dec 1998 22:24:20 +0100 (MET)


"A month of sundays ago Christian Lademann wrote:"
>
> I inserted a call to the following routine in setup.S just before setting A20
> and now my bzImage boots!

Where? The only place I see that fits your description is somewhere that a ret
would hurt.

> !
> ! enables a20-handling on ThinkPads while in real mode
> !
> ThinkPad_SCP_A:
> in al,#0x92 ! read "System Control Port A"
> or al,#0x02 ! Set "Alternate Gate A20" - Bit
> out #0x92,al ! write "System Control Port A"
> ret

> Now, I'm not an assembler programmer at all. Maybe someone could take a closer
> look into that.

Neither am I, and it looks fine, apart from the ret.

> Christian Lademann. <cal@zls.de>
>
> PS. Please forward answers to the list to me as well.

Which list did this come to me on ... ?

> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

ah.

Peter

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/