mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 15:01:53 -04:00
901b222eb8
* JUTException inherit JKRThread * OK __ct__12JUTExceptionFP14JUTDirectPrint * OK create__12JUTExceptionFP14JUTDirectPrint * OK setFPException__12JUTExceptionFUl * OK showFloatSub__12JUTExceptionFif * OK showFloat__12JUTExceptionFP9OSContext * OK searchPartialModule__12JUTExceptionFUlPUlPUlPUlPUl * OK search_name_part__FPUcPUci * OK showStack__12JUTExceptionFP9OSContext * OK showMainInfo__12JUTExceptionFUsP9OSContextUlUl * OK showGPR__12JUTExceptionFP9OSContext * OK __sinit_JUTException_cpp * OK showMapInfo_subroutine__12JUTExceptionFUlb * OK showGPRMap__12JUTExceptionFP9OSContext * OK showSRR0Map__12JUTExceptionFP9OSContext * OK printDebugInfo__12JUTExceptionFQ212JUTException9EInfoPageUsP9OSContextUlUl * OK isEnablePad__12JUTExceptionCFv * OK readPad__12JUTExceptionFPUlPUl * NONMATCHING printContext__12JUTExceptionFUsP9OSContextUlUl * OK printContext__12JUTExceptionFUsP9OSContextUlUl * OK __dt__12JUTExceptionFv * OK waitTime__12JUTExceptionFl * OK createFB__12JUTExceptionFv * OK setPreUserCallback__12JUTExceptionFPFUsP9OSContextUlUl_v * OK __ct__13JUTExternalFBFP16_GXRenderModeObj8_GXGammaPvUl * OK createConsole__12JUTExceptionFPvUl * NONMATCHING queryMapAddress_single__12JUTExceptionFPcUllPUlPUlPcUlbb * OK queryMapAddress__12JUTExceptionFPcUllPUlPUlPcUlbb * OK appendMapFile__12JUTExceptionFPCc * clean up * OK panic_f__12JUTExceptionFPCciPCce * OK panic_f_va__12JUTExceptionFPCciPCcP16__va_list_struct * OK errorHandler__12JUTExceptionFUsP9OSContextUlUl * format * format * fixed requested changes * merged with master and removed *.s files Co-authored-by: Julgodis <>
34 lines
854 B
C
34 lines
854 B
C
#ifndef OSERROR_H
|
|
#define OSERROR_H
|
|
|
|
#include "dolphin/types.h"
|
|
|
|
struct OSContext;
|
|
|
|
extern u32 __OSFpscrEnableBits;
|
|
|
|
typedef u16 OSError;
|
|
typedef void (*OSErrorHandler)(OSError, OSContext*, u32, u32);
|
|
|
|
#define OS_ERROR_SYSTEM_RESET 0x0
|
|
#define OS_ERROR_MACHINE_CHECK 0x1
|
|
#define OS_ERROR_DSI 0x2
|
|
#define OS_ERROR_ISI 0x3
|
|
#define OS_ERROR_INTERRUPT 0x4
|
|
#define OS_ERROR_ALIGNMENT 0x5
|
|
#define OS_ERROR_PROGRAM 0x6
|
|
#define OS_ERROR_FLOATING_POINT 0x7
|
|
#define OS_ERROR_DECREMENTER 0x8
|
|
#define OS_ERROR_SYSTEM_CALL 0x9
|
|
#define OS_ERROR_TRACE 0xa
|
|
#define OS_ERROR_PERFORMANCE_MONITOR 0xb
|
|
#define OS_ERROR_BREAKPOINT 0xc
|
|
#define OS_ERROR_RESERVED 0xd
|
|
#define OS_ERROR_THERMAL_INTERRUPT 0xe
|
|
#define OS_ERROR_MEMORY_PROTECTION 0xf
|
|
#define OS_ERROR_FLOATING_POINT_EXCEPTION 0x10
|
|
|
|
extern "C" void OSSetErrorHandler(OSError, OSErrorHandler);
|
|
|
|
#endif /* OSERROR_H */
|