userland/freestanding/gem5_* work on baremetal

Remove all the duplicates of those present throughout the tree.
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2020-03-26 00:00:01 +00:00
parent 05a07fc0a8
commit e1d0a2fafb
9 changed files with 27 additions and 32 deletions

View File

@@ -1,5 +0,0 @@
#include <lkmc/m5ops.h>
.global _start
_start:
LKMC_M5OPS_EXIT_ASM

View File

@@ -1,3 +0,0 @@
.global _start
_start:
mov r0, #0; mov r1, #0; .inst 0xEE000110 | (0x21 << 16);

View File

@@ -7,6 +7,7 @@
* void _exit(int status)
*
* If only there was a GCC attribute to create such a function!
* https://stackoverflow.com/questions/43310704/creating-a-c-function-without-compiler-generated-prologue-epilogue-ret-instruc
*/
.text
.global _exit