diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/kexec-uImage.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/kexec-uImage.h b/include/kexec-uImage.h new file mode 100644 index 0000000..e8a4b69 --- /dev/null +++ b/include/kexec-uImage.h @@ -0,0 +1,13 @@ +#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_load(const char *buf, off_t len, struct Image_info *info); +#endif |