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
10#include <uapi/asm/setup.h>
11
12# ifndef __ASSEMBLY__
13extern char cmd_line[COMMAND_LINE_SIZE];
14
15extern char *klimit;
16
17extern void mmu_reset(void);
18
19void machine_early_init(const char *cmdline, unsigned int ram,
20		unsigned int fdt, unsigned int msr, unsigned int tlb0,
21		unsigned int tlb1);
22
23void machine_restart(char *cmd);
24void machine_shutdown(void);
25void machine_halt(void);
26void machine_power_off(void);
27
28# endif /* __ASSEMBLY__ */
29#endif /* _ASM_MICROBLAZE_SETUP_H */
30