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:
parent
1f4c0995bf
commit
0369aa35c7
2 changed files with 6 additions and 1 deletions
5
bsp/abstract-machine/src/init.c
Normal file
5
bsp/abstract-machine/src/init.c
Normal file
|
@ -0,0 +1,5 @@
|
|||
int main() {
|
||||
extern int entry(void);
|
||||
entry();
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue