| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | /*
 | 
					
						
							|  |  |  |  *	Just a place holder.  | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #ifndef _SPARC_SETUP_H
 | 
					
						
							|  |  |  | #define _SPARC_SETUP_H
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-06-06 21:06:11 +02:00
										 |  |  | #if defined(__sparc__) && defined(__arch64__)
 | 
					
						
							|  |  |  | # define COMMAND_LINE_SIZE 2048
 | 
					
						
							|  |  |  | #else
 | 
					
						
							|  |  |  | # define COMMAND_LINE_SIZE 256
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-04-21 04:20:23 +00:00
										 |  |  | #ifdef __KERNEL__
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-03-28 18:30:03 +01:00
										 |  |  | extern char reboot_command[]; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-04-21 04:20:23 +00:00
										 |  |  | #ifdef CONFIG_SPARC32
 | 
					
						
							|  |  |  | /* The CPU that was used for booting
 | 
					
						
							|  |  |  |  * Only sun4d + leon may have boot_cpu_id != 0 | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | extern unsigned char boot_cpu_id; | 
					
						
							| 
									
										
										
										
											2012-03-28 18:30:03 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | extern unsigned long empty_zero_page; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | extern int serial_console; | 
					
						
							|  |  |  | static inline int con_is_present(void) | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  | 	return serial_console ? 0 : 1; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2011-04-21 04:20:23 +00:00
										 |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-03-28 18:30:03 +01:00
										 |  |  | extern void sun_do_break(void); | 
					
						
							|  |  |  | extern int stop_a_enabled; | 
					
						
							|  |  |  | extern int scons_pwroff; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-04-21 04:20:23 +00:00
										 |  |  | #endif /* __KERNEL__ */
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | #endif /* _SPARC_SETUP_H */
 |