diff options
author | Simon Horman <horms@verge.net.au> | 2010-04-01 09:10:56 +1100 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2010-04-01 09:10:56 +1100 |
commit | d3ab86bd6d8b5203c8b6e079355d5a878db24494 (patch) | |
tree | 6d91fe9fe572489773fb795f7194c17799ade79a /include | |
parent | 2208c3067904b56855daa8da1e7d96dc7d351fc6 (diff) | |
parent | de5dd4d4036211b0a8e1839ce87984a074eb18f8 (diff) |
Merge branch 'ppc32' of git://git.breakpoint.cc/bigeasy/kexec-tools
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 |