setup.h 721 B

1234567891011121314151617181920212223242526272829
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu>
  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 __ASSEMBLER__
  11. extern char cmd_line[COMMAND_LINE_SIZE];
  12. extern char *klimit;
  13. extern void mmu_reset(void);
  14. void machine_early_init(const char *cmdline, unsigned int ram,
  15. unsigned int fdt, unsigned int msr, unsigned int tlb0,
  16. unsigned int tlb1);
  17. void machine_restart(char *cmd);
  18. void machine_shutdown(void);
  19. void machine_halt(void);
  20. void machine_power_off(void);
  21. # endif /* __ASSEMBLER__ */
  22. #endif /* _ASM_MICROBLAZE_SETUP_H */