setup.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu>
  3. * Copyright (C) 2007-2009 PetaLogix
  4. * Copyright (C) 2006 Atmark Techno, Inc.
  5. *
  6. * This file is subject to the terms and conditions of the GNU General Public
  7. * License. See the file "COPYING" in the main directory of this archive
  8. * for more details.
  9. */
  10. #ifndef _ASM_MICROBLAZE_SETUP_H
  11. #define _ASM_MICROBLAZE_SETUP_H
  12. #include <uapi/asm/setup.h>
  13. # ifndef __ASSEMBLY__
  14. extern unsigned int boot_cpuid; /* move to smp.h */
  15. extern char cmd_line[COMMAND_LINE_SIZE];
  16. extern char *klimit;
  17. # ifdef CONFIG_MMU
  18. extern void mmu_reset(void);
  19. # endif /* CONFIG_MMU */
  20. void time_init(void);
  21. void init_IRQ(void);
  22. void machine_early_init(const char *cmdline, unsigned int ram,
  23. unsigned int fdt, unsigned int msr, unsigned int tlb0,
  24. unsigned int tlb1);
  25. void machine_restart(char *cmd);
  26. void machine_shutdown(void);
  27. void machine_halt(void);
  28. void machine_power_off(void);
  29. extern void *zalloc_maybe_bootmem(size_t size, gfp_t mask);
  30. # endif /* __ASSEMBLY__ */
  31. #endif /* _ASM_MICROBLAZE_SETUP_H */