setup.h 800 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 char boot_cpu_id4;
  19. extern unsigned long empty_bad_page;
  20. extern unsigned long empty_bad_page_table;
  21. extern unsigned long empty_zero_page;
  22. extern int serial_console;
  23. static inline int con_is_present(void)
  24. {
  25. return serial_console ? 0 : 1;
  26. }
  27. #endif
  28. extern void sun_do_break(void);
  29. extern int stop_a_enabled;
  30. extern int scons_pwroff;
  31. #endif /* __KERNEL__ */
  32. #endif /* _SPARC_SETUP_H */