Re: calling bios interrupt

From: Alan Cox
Date: Thu Feb 02 2006 - 09:40:01 EST


On Iau, 2006-02-02 at 08:48 +0100, Jozef Kutej 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?

You need to drive the hardware directly. Ask the vendor for the hardware
info, or alternatively you might want to try using a library like lrmi
in user space to call it and log the I/O instructions it tries to
execute.


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