setup.h 823 B

123456789101112131415161718192021222324252627282930313233
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (C) 2007-2009 Michal Simek <[email protected]>
  4. * Copyright (C) 2007-2009 PetaLogix
  5. * Copyright (C) 2006 Atmark Techno, Inc.
  6. */
  7. #ifndef _ASM_MICROBLAZE_SETUP_H
  8. #define _ASM_MICROBLAZE_SETUP_H
  9. #include <uapi/asm/setup.h>
  10. # ifndef __ASSEMBLY__
  11. extern char cmd_line[COMMAND_LINE_SIZE];
  12. extern char *klimit;
  13. extern void mmu_reset(void);
  14. void time_init(void);
  15. void init_IRQ(void);
  16. void machine_early_init(const char *cmdline, unsigned int ram,
  17. unsigned int fdt, unsigned int msr, unsigned int tlb0,
  18. unsigned int tlb1);
  19. void machine_restart(char *cmd);
  20. void machine_shutdown(void);
  21. void machine_halt(void);
  22. void machine_power_off(void);
  23. extern void *zalloc_maybe_bootmem(size_t size, gfp_t mask);
  24. # endif /* __ASSEMBLY__ */
  25. #endif /* _ASM_MICROBLAZE_SETUP_H */