diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2006-07-27 02:36:23 -0600 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2006-07-27 02:36:23 -0600 |
commit | 283261998a9846019d898bc454b363e4aaf3d181 (patch) | |
tree | a4af6da4c5a2c6f7669d918c1f07dc68d6aa0ab2 /kexec/arch/i386/x86-linux-setup.h |
kexec-tools-1.101
- Initial import into git
- initial nbi image formage support
- ppc32 initial register setting fixes.
- gzipped multiboot file support
Diffstat (limited to 'kexec/arch/i386/x86-linux-setup.h')
-rw-r--r-- | kexec/arch/i386/x86-linux-setup.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/kexec/arch/i386/x86-linux-setup.h b/kexec/arch/i386/x86-linux-setup.h new file mode 100644 index 0000000..79e65f3 --- /dev/null +++ b/kexec/arch/i386/x86-linux-setup.h @@ -0,0 +1,17 @@ +#ifndef X86_LINUX_SETUP_H +#define X86_LINUX_SETUP_H + +void init_linux_parameters(struct x86_linux_param_header *real_mode); +void setup_linux_bootloader_parameters( + struct kexec_info *info, struct x86_linux_param_header *real_mode, + unsigned long real_mode_base, unsigned long cmdline_offset, + const char *cmdline, off_t cmdline_len, + const unsigned char *initrd_buf, off_t initrd_size); +void setup_linux_system_parameters(struct x86_linux_param_header *real_mode); + + +#define SETUP_BASE 0x90000 +#define KERN32_BASE 0x100000 /* 1MB */ +#define INITRD_BASE 0x1000000 /* 16MB */ + +#endif /* X86_LINUX_SETUP_H */ |