Browse Source
add poweroff support,ohci has bug,if not OUTPUT_TO_BOTH,should delay(1000) in interrupt handler,why? git-svn-id: file:///svn/pmon-all/pmon-all@199 214b0138-1524-0410-9122-e5cb4b5bc56cmaster
cpu
17 years ago
7 changed files with 58 additions and 11 deletions
@ -0,0 +1,4 @@ |
|||
void tgt_poweroff() |
|||
{ |
|||
printf("arch does not support poweroff\n"); |
|||
} |
@ -0,0 +1,12 @@ |
|||
void |
|||
tgt_reboot() |
|||
{ |
|||
|
|||
void (*longreach) (void); |
|||
|
|||
longreach = (void *)0xbfc00000; |
|||
(*longreach)(); |
|||
|
|||
while(1); |
|||
|
|||
} |
Loading…
Reference in new issue