Albert Herranz | 028ee97 | 2009-12-12 06:31:41 +0000 | [diff] [blame] | 1 | /* |
| 2 | * arch/powerpc/platforms/embedded6xx/flipper-pic.h |
| 3 | * |
| 4 | * Nintendo GameCube/Wii "Flipper" interrupt controller support. |
| 5 | * Copyright (C) 2004-2009 The GameCube Linux Team |
| 6 | * Copyright (C) 2007,2008,2009 Albert Herranz |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or |
| 9 | * modify it under the terms of the GNU General Public License |
| 10 | * as published by the Free Software Foundation; either version 2 |
| 11 | * of the License, or (at your option) any later version. |
| 12 | * |
| 13 | */ |
| 14 | |
| 15 | #ifndef __FLIPPER_PIC_H |
| 16 | #define __FLIPPER_PIC_H |
| 17 | |
| 18 | unsigned int flipper_pic_get_irq(void); |
| 19 | void __init flipper_pic_probe(void); |
| 20 | |
| 21 | void flipper_quiesce(void); |
| 22 | void flipper_platform_reset(void); |
| 23 | int flipper_is_reset_button_pressed(void); |
| 24 | |
| 25 | #endif |