lkml.org 
[lkml]   [1999]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [Q] int15h after kernel has booted
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.037 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site