summaryrefslogtreecommitdiff
path: root/kexec/arch/ppc64/kexec-ppc64.h
blob: 6d04ff1090eb7b2279be451cebc6ea78b4d68372 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef KEXEC_PPC64_H
#define KEXEC_PPC64_H

int elf_ppc64_probe(const char *buf, off_t len);
int elf_ppc64_load(int argc, char **argv, const char *buf, off_t len,
	struct kexec_info *info);
void elf_ppc64_usage(void);

unsigned long initrd_base;
unsigned long initrd_size;
/* boot block version 2 as defined by the linux kernel */
struct bootblock {
	unsigned magic,
		totalsize,
		off_dt_struct,
		off_dt_strings,
		off_mem_rsvmap,
		version,
		last_comp_version,
		boot_physid;
};
#endif /* KEXEC_PPC64_H */