historical/m0-applesillicon.git/xnu-qemu-arm64-5.1.0/roms/qboot/include/linuxboot.h
2024-01-16 11:20:27 -06:00

19 lines
407 B
C

#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