xref: /openbmc/linux/arch/sparc/include/asm/setup.h (revision 63dc02bd)
1 /*
2  *	Just a place holder.
3  */
4 
5 #ifndef _SPARC_SETUP_H
6 #define _SPARC_SETUP_H
7 
8 #if defined(__sparc__) && defined(__arch64__)
9 # define COMMAND_LINE_SIZE 2048
10 #else
11 # define COMMAND_LINE_SIZE 256
12 #endif
13 
14 #ifdef __KERNEL__
15 
16 extern char reboot_command[];
17 
18 #ifdef CONFIG_SPARC32
19 /* The CPU that was used for booting
20  * Only sun4d + leon may have boot_cpu_id != 0
21  */
22 extern unsigned char boot_cpu_id;
23 extern unsigned char boot_cpu_id4;
24 
25 extern unsigned long empty_bad_page;
26 extern unsigned long empty_bad_page_table;
27 extern unsigned long empty_zero_page;
28 
29 extern int serial_console;
30 static inline int con_is_present(void)
31 {
32 	return serial_console ? 0 : 1;
33 }
34 #endif
35 
36 extern void sun_do_break(void);
37 extern int stop_a_enabled;
38 extern int scons_pwroff;
39 
40 #endif /* __KERNEL__ */
41 
42 #endif /* _SPARC_SETUP_H */
43