mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Rename CPU/COP_INT_CLR to CPU/COP_INT_DIS since it's really a 'write one to disable' register and hasn't anything to do with acknowledging interrupts-- that's handled at the module level.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17683 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
606d9d0c83
commit
191320cd0f
11 changed files with 23 additions and 23 deletions
|
|
@ -40,8 +40,8 @@ void power_off(void)
|
|||
|
||||
/* Stop interrupts on both cores */
|
||||
disable_interrupt(IRQ_FIQ_STATUS);
|
||||
COP_INT_CLR = -1;
|
||||
CPU_INT_CLR = -1;
|
||||
COP_INT_DIS = -1;
|
||||
CPU_INT_DIS = -1;
|
||||
|
||||
/* Halt everything and wait for device to power off */
|
||||
while (1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue