[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20091212135035.0d01018d@lxorguk.ukuu.org.uk>
Date: Sat, 12 Dec 2009 13:50:35 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Cypher Wu <cypher.w@...il.com>
Cc: Mark Brown <broonie@...nsource.wolfsonmicro.com>,
linux-kernel@...r.kernel.org
Subject: Re: Questions about Watch Dog Timer under Linux.
> timer. This type of WDT is widely used in our embedded systems and we
> usually install a callback in timer interrupt to clearing WD before
> BSP starting the RTOS kernel, and then starting a task to clear WD and
> uninstall the callback.
> I'm wonder when cope with that type of WD, is there any framework
> already in the Linux kernel and booter, or I've to modify them by
> myself?
Without knowing which boot environment you are using I don't know. For
the kernel itself you may need to touch the timer early on in boot (in
your platform setup code), then set up the driver early on.
There isn't a general framework for this although there may be one I
don't know about implemented in some other specific platform.
Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists