This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

StrongARM sleep mode


I need to support sleep mode on a custom StrongARM board. Has anybody
done this before?

What I'd like is a function like

     void sleep(int time)

that would freeze the OS, set up a RTC alarm, put the system processor
in sleep mode, and then resurrect the OS once the processor
returns from sleep.

I notice there is code in the iPAQ vectors.s file that jumps to the
address in the power manager scratchpad register if it detects that
the processor is returning from sleep mode. However, I couldn't find
any other sleep-related code in the SA11x0 tree. Did I miss something?

-- Nathan

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]