[Q] int15h after kernel has booted

Nathan Hand (nathanh@chirp.com.au)
Sun, 26 Sep 1999 10:11:36 +1000


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?

If not it might be necessary to disassemble the BIOS by hand to see what it
does, and I want to avoid that at all costs.

-- 
Nathan Hand - Chirp Web Design - http://www.chirp.com.au/ - $e^{i\pi}+1 = 0$
Phone: +61 2 6230 1871   Fax: +61 2 6230 1515   E-mail: nathanh@chirp.com.au

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