bsp,abstract-machine: add main() to call entry()

* this flow is similar with qemu-riscv-virt64
* there is still a lot of linking error
This commit is contained in:
Zihao Yu 2023-05-24 12:33:05 +08:00
parent 1f4c0995bf
commit 0369aa35c7
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
int main() {
extern int entry(void);
entry();
return 0;
}