blob: 222c81567512f60a2b8072d1802054ce9036a40d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#ifndef KEXEC_MIPS_H
#define KEXEC_MIPS_H
#include <sys/types.h>
#define BOOT_BLOCK_VERSION 17
#define BOOT_BLOCK_LAST_COMP_VERSION 16
#define MAX_MEMORY_RANGES 64
#define MAX_LINE 160
#define CORE_TYPE_ELF32 1
#define CORE_TYPE_ELF64 2
int elf_mips_probe(const char *buf, off_t len);
int elf_mips_load(int argc, char **argv, const char *buf, off_t len,
struct kexec_info *info);
void elf_mips_usage(void);
struct arch_options_t {
char *command_line;
char *dtb_file;
char *initrd_file;
int core_header_type;
};
extern struct memory_ranges usablemem_rgns;
extern off_t initrd_base, initrd_size;
#endif /* KEXEC_MIPS_H */
|