Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44255
b: refs/heads/master
c: c2eb509
h: refs/heads/master
i:
  44253: 5af43b4
  44251: 17fe28b
  44247: 0367501
  44239: 596e8c6
  44223: aaa6438
v: v3
  • Loading branch information
Haavard Skinnemoen committed Dec 8, 2006
1 parent da7fd90 commit 6819e05
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 01cb087e747538d6a831c3ab370a1e1fd4538d5c
refs/heads/master: c2eb5090ee531a50533ba9e739071c21f98a5a77
7 changes: 7 additions & 0 deletions trunk/arch/avr32/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ void cpu_idle(void)

void machine_halt(void)
{
/*
* Enter Stop mode. The 32 kHz oscillator will keep running so
* the RTC will keep the time properly and the system will
* boot quickly.
*/
asm volatile("sleep 3\n\t"
"sub pc, -2");
}

void machine_power_off(void)
Expand Down

0 comments on commit 6819e05

Please sign in to comment.