TuxSH
8538fed043
thermosphere: optimize barrier and core_ctx
2021-02-19 21:51:57 +00:00
TuxSH
418cabbd53
thermosphere: add esr_el2 to exception frame
2021-02-19 21:51:53 +00:00
TuxSH
217c1ad054
thermosphere: implement reading and writing guest memory
2021-02-19 21:51:50 +00:00
TuxSH
626f0ecb98
thermosphere: major refactor of memory map
...
- use recursive stage 1 page table (thanks @fincs for this idea)
- NULL now unmapped
- no identity mapping
- image + GICv2 now mapped at the same address for every platform
- tempbss mapped just after "real" bss, can now steal unused mem from
the latter
- no hardcoded VAs for other MMIO devices
- tegra: remove timers, use the generic timer instead
2021-02-19 21:51:48 +00:00
TuxSH
906d6a4f20
thermosphere: rewrite debug pause & fix single step state machine
2021-02-19 21:51:48 +00:00
TuxSH
b6a130547a
thermosphere: add common asm macros
2021-02-19 21:51:46 +00:00
TuxSH
a7741c8576
thermosphere: add cctx->userFrame
2021-02-19 21:51:46 +00:00
TuxSH
68a1ce6dd2
thermosphere: properly implement guest timer stuff
2021-02-19 21:51:45 +00:00
TuxSH
501472324f
thermosphere: refactor exception handlers & add stolen time/emulated ptimer logic
2021-02-19 21:51:42 +00:00
TuxSH
0a9a8c2f15
thermosphere: handle physical IRQs
2021-02-19 21:51:33 +00:00
TuxSH
ff9714d4f6
thermopshere: refactor jump-to-kernel ,add single-step code
...
not working under qemu yet though
2021-02-19 21:51:30 +00:00
TuxSH
e0339049b3
thermosphere: rework linkscrips, use discardable sections, better sp pivot on crash
2021-02-19 21:51:28 +00:00
TuxSH
3fa9133814
thermosphere: add semihosting support & load a kernel using it when needed
...
basically host i/o
2021-02-19 21:51:27 +00:00
TuxSH
4a5d05f32b
thermosphere: add smc trap handler
2021-02-19 21:51:26 +00:00
TuxSH
61b6f06766
thermosphere: unfuck qemu JIT, fix exc. handling bug, add cache funcs
2021-02-19 21:51:24 +00:00
TuxSH
16cfa1305d
thermosphere: use x18 but qemu shits the bed
2021-02-19 21:51:24 +00:00
TuxSH
3009438e54
thermosphere: sysreg stuff, continued
2021-02-19 21:51:23 +00:00
TuxSH
4e0eef2784
thermosphere: start exception handling
2021-02-19 21:51:19 +00:00