setup.h 685 B

123456789101112131415161718192021222324252627282930313233343536373839
  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_zero_page;
  19. extern int serial_console;
  20. static inline int con_is_present(void)
  21. {
  22. return serial_console ? 0 : 1;
  23. }
  24. #endif
  25. extern void sun_do_break(void);
  26. extern int stop_a_enabled;
  27. extern int scons_pwroff;
  28. #endif /* __KERNEL__ */
  29. #endif /* _SPARC_SETUP_H */