lkml.org 
[lkml]   [2006]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: calling bios interrupt
On 2/2/06, Jozef Kutej <jozef.kutej@slovanet.net> wrote:
> Hello.
>
> Can someone help me solve my problem with on board watch dog timer that
> need to call bios interrupt? Here's how to update watch dog timer.
>
> mov ax,6f02h
> mov bl, 30 ;number of seconds
> int 15h
>
> How can i do this in kernel so that i can write wdt driver?
>
> Thank you.
CMIIW, is it not that for using BIOS interrupt one has to do the same
by entering in real mode or else real mode interrupt handler, would be
replaced with an appropriate exception handler by Linux.
check this : http://www.mega-tokyo.com/forum/index.php?board=1;action=display;threadid=8997;start=0#msg77808

like when i try to use int 10h in one of my kernel modules and try to
insert it with insmod i get Floating Point Exception.

And one has to use vm86() system call and save the register context as
given in below url to achieve the results.
http://x86.ddj.com/articles/pmbasics/tspec_a1_doc.htm
>
> Jozef Kutej.
> -
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-02-03 11:38    [W:2.189 / U:1.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site