thermosphere: add semihosting support & load a kernel using it when needed

basically host i/o
This commit is contained in:
TuxSH
2019-07-31 02:30:17 +02:00
parent 6cbf5628d4
commit 7f094044b2
8 changed files with 333 additions and 4 deletions

View File

@@ -105,5 +105,6 @@ static inline bool check_32bit_additive_overflow(u32 a, u32 b) {
}
static inline void panic(void) {
__builtin_trap();
for (;;);
}