wichtounet/thor-os

qemu-system-x86_64: brigde helper failed

lobakkang opened this issue · 5 comments

image
what should it do?

I try to change the command to :
sudo qemu-system-x86_64 -enable-kvm -cpu host -serial file:virtual.log -vga std -hda hdd.img
It run but stuck at bootloader.
image

There is an issue with the init.bin entry_point.
Still don't understand the root of the issue, but was able to WAR it by adding:
void attribute ((noreturn)) rm_main();
void attribute ((noreturn)) foo(){ rm_main(); }
Right after includes in the boot_16.cpp.

Thanks it work!!!
not add:
void attribute ((noreturn)) rm_main();
void attribute ((noreturn)) foo(){ rm_main(); }

FIX:
void attribute __((noreturn)) __ rm_main();
void attribute __((noreturn)) __ foo() { rm_main(); }

Thanks ;D