mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
1) Set svn:keywords where they should've been set
2) Onda VX747 specific changes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18080 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ccf4ce98fd
commit
1f692e5f55
10 changed files with 408 additions and 222 deletions
|
@ -1124,7 +1124,18 @@ static inline void load_context(const void* addr)
|
|||
*/
|
||||
static inline void core_sleep(void)
|
||||
{
|
||||
asm volatile("nop\n");
|
||||
/*
|
||||
REG_CPM_LCR &= ~CPM_LCR_LPM_MASK;
|
||||
REG_CPM_LCR |= CPM_LCR_LPM_SLEEP;
|
||||
*/
|
||||
asm volatile(".set mips3 \n"
|
||||
"wait \n"
|
||||
".set mips0 \n"
|
||||
);
|
||||
/*
|
||||
REG_CPM_LCR &= ~CPM_LCR_LPM_MASK;
|
||||
REG_CPM_LCR |= CPM_LCR_LPM_IDLE;
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue