xref: /linux/arch/microblaze/include/asm/setup.h (revision 02680c23d7b3febe45ea3d4f9818c2b2dc89020a)
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__
13 extern char cmd_line[COMMAND_LINE_SIZE];
14 
15 extern char *klimit;
16 
17 extern void mmu_reset(void);
18 
19 void time_init(void);
20 void init_IRQ(void);
21 void machine_early_init(const char *cmdline, unsigned int ram,
22 		unsigned int fdt, unsigned int msr, unsigned int tlb0,
23 		unsigned int tlb1);
24 
25 void machine_restart(char *cmd);
26 void machine_shutdown(void);
27 void machine_halt(void);
28 void machine_power_off(void);
29 
30 extern void *zalloc_maybe_bootmem(size_t size, gfp_t mask);
31 
32 # endif /* __ASSEMBLY__ */
33 #endif /* _ASM_MICROBLAZE_SETUP_H */
34