thermosphere: add watchpoint + watchpoint merging code

This commit is contained in:
TuxSH
2019-08-07 21:38:40 +02:00
parent 9bc0ed2f70
commit 83c6e2f0e7
5 changed files with 278 additions and 8 deletions

View File

@@ -42,12 +42,15 @@ void main(ExceptionStackFrame *frame)
enableTraps();
enableBreakpointsAndWatchpoints();
if (currentCoreCtx->isBootCore) {
uartInit(115200);
DEBUG("EL2: core %u reached main first!\n", currentCoreCtx->coreId);
}
initBreakpoints();
initWatchpoints();
if (currentCoreCtx->isBootCore) {
uartInit(115200);
DEBUG("EL2: core %u reached main first!\n", currentCoreCtx->coreId);
if (currentCoreCtx->kernelEntrypoint == 0) {
if (semihosting_connection_supported()) {
loadKernelViaSemihosting();