diff options
Diffstat (limited to 'firmware/target/arm/system-pp502x.c')
-rw-r--r-- | firmware/target/arm/system-pp502x.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/firmware/target/arm/system-pp502x.c b/firmware/target/arm/system-pp502x.c index b1f178c8d5..277b1e9a0b 100644 --- a/firmware/target/arm/system-pp502x.c +++ b/firmware/target/arm/system-pp502x.c | |||
@@ -455,6 +455,17 @@ void system_reboot(void) | |||
455 | while (1); | 455 | while (1); |
456 | } | 456 | } |
457 | 457 | ||
458 | void system_exception_wait(void) | ||
459 | { | ||
460 | /* FIXME: we just need the right buttons */ | ||
461 | CPU_INT_DIS = -1; | ||
462 | COP_INT_DIS = -1; | ||
463 | |||
464 | /* Halt */ | ||
465 | PROC_CTL(CURRENT_CORE) = 0x40000000; | ||
466 | while (1); | ||
467 | } | ||
468 | |||
458 | int system_memory_guard(int newmode) | 469 | int system_memory_guard(int newmode) |
459 | { | 470 | { |
460 | (void)newmode; | 471 | (void)newmode; |