blob: 76a3354af005a31c3637818767a03cea8207e8d0 [file] [log] [blame]
#ifndef BIOS_LINUXBOOT_H
#define BIOS_LINUXBOOT_H 1
#include <stdbool.h>
struct linuxboot_args {
/* Output */
void *setup_addr, *cmdline_addr, *kernel_addr, *initrd_addr;
uint32_t setup_size, kernel_size;
/* Input */
uint32_t cmdline_size, vmlinuz_size, initrd_size;
uint8_t header[8192];
};
bool parse_bzimage(struct linuxboot_args *args);
void boot_bzimage(struct linuxboot_args *args);
#endif