Re: [Q] int15h after kernel has booted

H. Peter Anvin (hpa@transmeta.com)
26 Sep 1999 00:19:22 GMT


Followup to: <19990926101136.A20325@wookie.chirp.com.au>
By author: Nathan Hand <nathanh@chirp.com.au>
In newsgroup: linux.dev.kernel
>
> I need to generate an int15h after the kernel has booted. The BIOS only has
> a real-mode verion of the function I want in this interrupt, so I can't use
> an lcall to the protected mode BIOS like the APM code. I made the interrupt
> in setup.S, but it seems I need to do it after each APM_SUSPEND as well, so
> I still need some way of doing int15h after entering protected-mode.
>
> Is there a proper method to drop the kernel into real-mode, do an interrupt
> to the BIOS, then fall back into protected-mode?
>

No, there is no way you can do that. Linux reprograms the hardware in
such a way that the BIOS no longer works.

-hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!

- 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/