summaryrefslogtreecommitdiff
path: root/xen/arch/x86/include/asm/machine_kexec.h
blob: d4880818c1d9c91506b37d1fcfd1210ec406f275 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef __X86_MACHINE_KEXEC_H__
#define __X86_MACHINE_KEXEC_H__

#define KEXEC_RELOC_FLAG_COMPAT 0x1 /* 32-bit image */

#ifndef __ASSEMBLY__

extern void kexec_reloc(unsigned long reloc_code, unsigned long reloc_pt,
                        unsigned long ind_maddr, unsigned long entry_maddr,
                        unsigned long flags);

extern const char kexec_reloc_end[];

#endif

#endif /* __X86_MACHINE_KEXEC_H__ */