mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Jozef Kutej <jozef.kutej@slovanet.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: calling bios interrupt
Date: Thu, 02 Feb 2006 14:43:28 +0000	[thread overview]
Message-ID: <1138891408.9861.12.camel@localhost.localdomain> (raw)
In-Reply-To: <43E1B93A.5000603@slovanet.net>

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.



  reply	other threads:[~2006-02-02 14:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-02  7:48 Jozef Kutej
2006-02-02 14:43 ` Alan Cox [this message]
2006-02-02 15:24   ` linux-os (Dick Johnson)
2006-02-03 10:35 ` Vishal Soni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1138891408.9861.12.camel@localhost.localdomain \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=jozef.kutej@slovanet.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®