2020-02-03 10:25:40 +01:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2009-03-27 14:25:24 +01:00
|
|
|
/*
|
2009-05-26 16:30:10 +02:00
|
|
|
* Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu>
|
|
|
|
* Copyright (C) 2007-2009 PetaLogix
|
2009-03-27 14:25:24 +01:00
|
|
|
* Copyright (C) 2006 Atmark Techno, Inc.
|
|
|
|
*/
|
|
|
|
#ifndef _ASM_MICROBLAZE_SETUP_H
|
|
|
|
#define _ASM_MICROBLAZE_SETUP_H
|
|
|
|
|
2012-10-09 09:47:10 +01:00
|
|
|
#include <uapi/asm/setup.h>
|
2009-03-27 14:25:24 +01:00
|
|
|
|
|
|
|
# ifndef __ASSEMBLY__
|
|
|
|
extern char cmd_line[COMMAND_LINE_SIZE];
|
|
|
|
|
2012-03-28 18:30:02 +01:00
|
|
|
extern char *klimit;
|
|
|
|
|
2009-05-26 16:30:10 +02:00
|
|
|
extern void mmu_reset(void);
|
|
|
|
|
2009-03-27 14:25:24 +01:00
|
|
|
void time_init(void);
|
|
|
|
void init_IRQ(void);
|
|
|
|
void machine_early_init(const char *cmdline, unsigned int ram,
|
2010-02-08 16:41:38 +01:00
|
|
|
unsigned int fdt, unsigned int msr, unsigned int tlb0,
|
|
|
|
unsigned int tlb1);
|
2009-03-27 14:25:24 +01:00
|
|
|
|
|
|
|
void machine_restart(char *cmd);
|
|
|
|
void machine_shutdown(void);
|
|
|
|
void machine_halt(void);
|
|
|
|
void machine_power_off(void);
|
|
|
|
|
2012-03-28 18:30:02 +01:00
|
|
|
extern void *zalloc_maybe_bootmem(size_t size, gfp_t mask);
|
|
|
|
|
2009-03-27 14:25:24 +01:00
|
|
|
# endif /* __ASSEMBLY__ */
|
|
|
|
#endif /* _ASM_MICROBLAZE_SETUP_H */
|