setup.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. * Copyright (C) 2007-2008 Michal Simek <monstr@monstr.eu>
  3. * Copyright (C) 2006 Atmark Techno, Inc.
  4. *
  5. * This file is subject to the terms and conditions of the GNU General Public
  6. * License. See the file "COPYING" in the main directory of this archive
  7. * for more details.
  8. */
  9. #ifndef _ASM_MICROBLAZE_SETUP_H
  10. #define _ASM_MICROBLAZE_SETUP_H
  11. #define COMMAND_LINE_SIZE 256
  12. # ifndef __ASSEMBLY__
  13. # ifdef __KERNEL__
  14. extern unsigned int boot_cpuid; /* move to smp.h */
  15. extern char cmd_line[COMMAND_LINE_SIZE];
  16. # endif/* __KERNEL__ */
  17. void early_printk(const char *fmt, ...);
  18. int setup_early_printk(char *opt);
  19. void disable_early_printk(void);
  20. void heartbeat(void);
  21. void setup_heartbeat(void);
  22. unsigned long long sched_clock(void);
  23. void time_init(void);
  24. void init_IRQ(void);
  25. void machine_early_init(const char *cmdline, unsigned int ram,
  26. unsigned int fdt);
  27. void machine_restart(char *cmd);
  28. void machine_shutdown(void);
  29. void machine_halt(void);
  30. void machine_power_off(void);
  31. # endif /* __ASSEMBLY__ */
  32. #endif /* _ASM_MICROBLAZE_SETUP_H */