Re: How can I tell programmingly that device is reset from ...
- From: "Bruce Eitman \(eMVP\)" <beitmannospam@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 11 Apr 2005 13:10:52 -0400
Depends on your CPU and kernel/bootloader.
The CPU usually has a status register which identifies the last reset cause.
You can read that from code, but some bootloaders and/or kernels will reset
the register when the device boots up.
The OEM may have provided a IOCLTL to determine the cause.
--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net
Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member
"cppdeveloper" <cppdeveloper@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9064919C-412B-4DE6-A0FE-8AF12947E123@xxxxxxxxxxxxxxxx
> How can I tell programmingly that device is reset from a cold-boot
> (hard-reset) or a warm-boot (soft-reset)?
> Thanks!
.
- Follow-Ups:
- Re: How can I tell programmingly that device is reset from ...
- From: cppdeveloper
- Re: How can I tell programmingly that device is reset from ...
- References:
- How can I tell programmingly that device is reset from ...
- From: cppdeveloper
- How can I tell programmingly that device is reset from ...
- Prev by Date: How can I tell programmingly that device is reset from ...
- Next by Date: Re: How can I tell programmingly that device is reset from ...
- Previous by thread: How can I tell programmingly that device is reset from ...
- Next by thread: Re: How can I tell programmingly that device is reset from ...
- Index(es):
Relevant Pages
|