Add support for the dual interrupt controller included in the "Hollywood" chipset of the Nintendo Wii video game console. This interrupt controller serves both the Broadway processor (as a cascade) and the Starlet processor, and is used to manage interrupts for the non-classic hardware. Signed-off-by: Albert Herranz <albert_herranz@yahoo.es> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Segher Boessenkool <segher@kernel.crashing.org> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
		
			
				
	
	
		
			22 lines
		
	
	
	
		
			620 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
	
		
			620 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * arch/powerpc/platforms/embedded6xx/hlwd-pic.h
 | 
						|
 *
 | 
						|
 * Nintendo Wii "Hollywood" interrupt controller support.
 | 
						|
 * Copyright (C) 2009 The GameCube Linux Team
 | 
						|
 * Copyright (C) 2009 Albert Herranz
 | 
						|
 *
 | 
						|
 * This program is free software; you can redistribute it and/or
 | 
						|
 * modify it under the terms of the GNU General Public License
 | 
						|
 * as published by the Free Software Foundation; either version 2
 | 
						|
 * of the License, or (at your option) any later version.
 | 
						|
 *
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef __HLWD_PIC_H
 | 
						|
#define __HLWD_PIC_H
 | 
						|
 | 
						|
extern unsigned int hlwd_pic_get_irq(void);
 | 
						|
extern void hlwd_pic_probe(void);
 | 
						|
extern void hlwd_quiesce(void);
 | 
						|
 | 
						|
#endif
 |