summaryrefslogtreecommitdiff
path: root/src/boot/libu64/debug.c
blob: 7398275472db7629b5e2447a0582f87ff0fba754 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "global.h"
#include "fault.h"

NORETURN void _dbg_hungup(const char* file, int lineNum) {
    osGetThreadId(NULL);
    Fault_AddHungupAndCrash(file, lineNum);
}

NORETURN void Reset(void) {
    Fault_AddHungupAndCrash("Reset", 0);
}