#include #include #include #include "../../main.h" void stivale2_main(struct stivale2_struct *info); struct stivale2_header_tag_smp smp_request = { .tag = { .identifier = STIVALE2_HEADER_TAG_SMP_ID, .next = 0 }, .flags = 02 }; __attribute__((section(".stivale2hdr"), used)) struct stivale2_header header2 = { .entry_point = 0, .stack = 1024*1024, .flags = 0, .tags = 0 }; void stivale2_main(struct stivale2_struct *info) { char *argv[3] = {"stivale2", info->bootloader_brand, info->bootloader_version}; kmain(3, argv); }