File: kexec-sh.h

package info (click to toggle)
kexec-tools 1%3A2.0.3-1%2Bdeb7u1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 2,780 kB
  • sloc: ansic: 24,550; sh: 2,912; asm: 2,496; cpp: 1,747; makefile: 731
file content (29 lines) | stat: -rw-r--r-- 892 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef KEXEC_SH_H
#define KEXEC_SH_H

#define COMMAND_LINE_SIZE 2048

int uImage_sh_probe(const char *buf, off_t len);
int uImage_sh_load(int argc, char **argv, const char *buf, off_t len,
		        struct kexec_info *info);

int zImage_sh_probe(const char *buf, off_t len);
int zImage_sh_load(int argc, char **argv, const char *buf, off_t len,
	struct kexec_info *info);
void zImage_sh_usage(void);

int elf_sh_probe(const char *buf, off_t len);
int elf_sh_load(int argc, char **argv, const char *buf, off_t len,
	struct kexec_info *info);
void elf_sh_usage(void);

int netbsd_sh_probe(const char *buf, off_t len);
int netbsd_sh_load(int argc, char **argv, const char *buf, off_t len,
	struct kexec_info *info);
void netbsd_sh_usage(void);

char *get_append(void);
void kexec_sh_setup_zero_page(char *zero_page_buf, size_t zero_page_size,
			      char *cmd_line);

#endif /* KEXEC_SH_H */