File: kexec-uImage.h

package info (click to toggle)
kexec-tools 1%3A2.0.18-1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 2,704 kB
  • sloc: ansic: 25,718; sh: 3,486; asm: 2,625; cpp: 1,752; makefile: 923
file content (15 lines) | stat: -rw-r--r-- 434 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef __KEXEC_UIMAGE_H__
#define __KEXEC_UIMAGE_H__

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

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