From eba0cfa6b0bef4f2e73c8630a7efa3944df8b0f8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 04:56:35 +0200 Subject: Adding upstream version 1:2.0.27. Signed-off-by: Daniel Baumann --- include/kexec-uImage.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 include/kexec-uImage.h (limited to 'include/kexec-uImage.h') diff --git a/include/kexec-uImage.h b/include/kexec-uImage.h new file mode 100644 index 0000000..983d63f --- /dev/null +++ b/include/kexec-uImage.h @@ -0,0 +1,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 -- cgit v1.2.3