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

@@ -77,6 +77,8 @@ _startCommon:
add x18, x18, x10, lsl #3
stp x18, xzr, [sp, #-0x10]!
strb w19, [x18, #0x14] // isColdbootCore
// Store entrypoint if first core
cbz x19, _store_arg
ldr x8, _initialKernelEntrypoint