summaryrefslogtreecommitdiff
path: root/include/kexec-uImage.h
blob: 8c7707df49d3815fcf05dac0cd0759ba30ac1c38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef __KEXEC_UIMAGE_H__
#define __KEXEC_UIMAGE_H__

struct Image_info {
	const unsigned char *buf;
	off_t len;
	unsigned int base;
	unsigned int ep;
};

int uImage_probe(const unsigned char *buf, off_t len, unsigned int arch);
int uImage_load(const unsigned char *buf, off_t len, struct Image_info *info);
#endif