RetroArch
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include <wiiu/os.h>
#include "wiiu_dbg.h"
#include "exception_handler.h"
#include "version.h"
Classes | |
struct | _framerec |
Macros | |
#define | NUM_STACK_TRACE_LINES 5 |
#define | TEXT_START (unsigned int)&__code_start |
#define | TEXT_END (unsigned int)&__code_end |
#define | dsisr __unknown[0] |
#define | dar __unknown[1] |
#define | DSISR_TRANSLATION_MISS 0x40000000 |
#define | DSISR_TRANSLATION_PROT 0x8000000 |
#define | DSISR_BAD_CACHING 0x4000000 |
#define | DSISR_WRITE_ATTEMPTED 0x2000000 |
#define | DSISR_DABR_MATCH 0x400000 |
#define | SRR1_ISI_TRANSLATION_MISS 0x40000000 |
#define | SRR1_ISI_TRANSLATION_PROT 0x8000000 |
#define | SRR1_PROG_IEEE_FLOAT 0x100000 |
#define | SRR1_PROG_BAD_INSTR 0x80000 |
#define | SRR1_PROG_PRIV_INSTR 0x40000 |
#define | SRR1_PROG_TRAP 0x20000 |
#define | SRR1_PROG_SRR0_INACCURATE 0x10000 |
#define | buf_add(...) wiiu_exception_handler_pos += sprintf(exception_msgbuf + wiiu_exception_handler_pos, __VA_ARGS__) |
Typedefs | |
typedef struct _framerec | frame_rec |
typedef struct _framerec * | frame_rec_t |
Functions | |
void | test_os_exceptions (void) |
void | exception_print_symbol (uint32_t addr) |
void | __attribute__ ((__noreturn__)) |
void | setup_os_exceptions (void) |
Variables | |
unsigned int | __code_start |
unsigned int | __code_end |
size_t | wiiu_exception_handler_pos = 0 |
char * | exception_msgbuf |
#define buf_add | ( | ... | ) | wiiu_exception_handler_pos += sprintf(exception_msgbuf + wiiu_exception_handler_pos, __VA_ARGS__) |
#define dar __unknown[1] |
#define dsisr __unknown[0] |
#define DSISR_BAD_CACHING 0x4000000 |
#define DSISR_DABR_MATCH 0x400000 |
#define DSISR_TRANSLATION_MISS 0x40000000 |
#define DSISR_TRANSLATION_PROT 0x8000000 |
#define DSISR_WRITE_ATTEMPTED 0x2000000 |
#define NUM_STACK_TRACE_LINES 5 |
#define SRR1_ISI_TRANSLATION_MISS 0x40000000 |
#define SRR1_ISI_TRANSLATION_PROT 0x8000000 |
#define SRR1_PROG_BAD_INSTR 0x80000 |
#define SRR1_PROG_IEEE_FLOAT 0x100000 |
#define SRR1_PROG_PRIV_INSTR 0x40000 |
#define SRR1_PROG_SRR0_INACCURATE 0x10000 |
#define SRR1_PROG_TRAP 0x20000 |
#define TEXT_END (unsigned int)&__code_end |
#define TEXT_START (unsigned int)&__code_start |
typedef struct _framerec * frame_rec_t |
void __attribute__ | ( | (__noreturn__) | ) |
unsigned int __code_end |
unsigned int __code_start |
char* exception_msgbuf |
size_t wiiu_exception_handler_pos = 0 |