setup.h 765 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * Just a place holder.
  3. */
  4. #ifndef _SPARC_SETUP_H
  5. #define _SPARC_SETUP_H
  6. #if defined(__sparc__) && defined(__arch64__)
  7. # define COMMAND_LINE_SIZE 2048
  8. #else
  9. # define COMMAND_LINE_SIZE 256
  10. #endif
  11. #ifdef __KERNEL__
  12. extern char reboot_command[];
  13. #ifdef CONFIG_SPARC32
  14. /* The CPU that was used for booting
  15. * Only sun4d + leon may have boot_cpu_id != 0
  16. */
  17. extern unsigned char boot_cpu_id;
  18. extern unsigned long empty_bad_page;
  19. extern unsigned long empty_bad_page_table;
  20. extern unsigned long empty_zero_page;
  21. extern int serial_console;
  22. static inline int con_is_present(void)
  23. {
  24. return serial_console ? 0 : 1;
  25. }
  26. #endif
  27. extern void sun_do_break(void);
  28. extern int stop_a_enabled;
  29. extern int scons_pwroff;
  30. #endif /* __KERNEL__ */
  31. #endif /* _SPARC_SETUP_H */