Re: Soft Reset using power button by K
K
Wed Dec 15 00:08:27 CST 2004
In PowerUp/Down Handler, driver can not use system APU execpt some of the
API for special pupose.
So create a IST to receive the Power Event and invoke the KernelIoControl is
a good choice.
"Greenhorn" <Greenhorn@discussions.microsoft.com> ¼¶¼g©ó¶l¥ó·s»D
:CE3CEDE5-34A7-4F1F-A123-D44849FAD374@microsoft.com...
> It does seem that the system call in the PowerUp or PowerDown causes the
> system to hang. I guess by saying that I should do the KernelIoControl
call
> in the IST you want me to register the driver to receive the SYSINTR_POWER
> interrupt?
>
> "Bruce Eitman (eMVP)" wrote:
>
> > Don't do system calls in the power functions.
> >
> > You need to do that KernelIoControl call from where you read the power
> > button. Probably the driver's IST.
> >
> > --
> > 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
> >
> > Do have an opinion on the effectiveness of Microsoft Windows Mobile and
> > Embedded newsgroups? Let us know!
> > https://www.windowsembeddedeval.com/community/newsgroups
> >
> >
> >