I'm guessing nobody has tried compiling it with 64bit userspace? Patch makes it compile cleanly and stops a "SEGV instead of working" issue. I also added a few checks for errors on system calls. Signed-off-by: Jeremy Jackson <jerj@coplanar.net> Reworked and Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2602 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
		
			
				
	
	
		
			7 lines
		
	
	
		
			137 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			137 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef __CODE_GEN_H__
 | |
| #define __CODE_GEN_H__
 | |
| 
 | |
| void code_gen(char *filename, struct irq_routing_table *rt);
 | |
| 
 | |
| #endif /* __CODE_GEN_H__ */
 |