forked from len0rd/rockbox
a very basic power_off function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16319 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
55e7f11c44
commit
5df1273741
1 changed files with 5 additions and 1 deletions
|
|
@ -42,7 +42,11 @@ bool ide_powered(void)
|
|||
|
||||
void power_off(void)
|
||||
{
|
||||
#warning function not implemented
|
||||
/* Disable interrupts on this core */
|
||||
set_interrupt_status(IRQ_FIQ_DISABLED, IRQ_FIQ_STATUS);
|
||||
|
||||
/* Shutdown: stop XIN oscillator */
|
||||
CLKCTRL &= ~(1 << 31);
|
||||
}
|
||||
|
||||
#else /* SIMULATOR */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue