feat: error parse in panic

This commit is contained in:
karina
2026-04-24 18:14:04 +04:00
parent 78dcfdd662
commit 560bdc8b1d
4 changed files with 69 additions and 9 deletions
+6
View File
@@ -16,3 +16,9 @@ static inline void CPUDisableInterrupts() {
static inline void CPUEnableInterrupts() {
__asm__ volatile ("msr daifclr, #3" ::: "memory");
}
static inline UInt64 CPUGetFAR() {
UInt64 far;
__asm__ volatile ("mrs %0, far_el1" : "=r" (far));
return far;
}