#include struct kjarna_entry_params *entry_params; extern int main(int argc, char **argv); int kjarna_entry() { uint64_t image_base; __asm__ ("leaq kc_image_base(%%rip), %0" : "=r"(image_base) :: ); bool wait = true; while(wait); return main(0, nullptr); }