PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
iop_low_memory_globals.h
Go to the documentation of this file.
1
/*
2
# _____ ___ ____ ___ ____
3
# ____| | ____| | | |____|
4
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5
#-----------------------------------------------------------------------
6
# Copyright ps2dev - http://www.ps2dev.org
7
# Licenced under Academic Free License version 2.0
8
# Review ps2sdk README & LICENSE files for further details.
9
*/
10
16
#ifndef __IOP_LOW_MEMORY_GLOBALS__
17
#define __IOP_LOW_MEMORY_GLOBALS__
18
19
typedef
struct
iop_low_memory_globals_
20
{
21
u32 eh_at_save;
22
u32 eh_epc_save;
23
u32 eh_status_save;
24
u32 eh_cause_save;
25
u32 eh_k0_save;
26
u32 unk14;
27
u32 unk18;
28
u32 dispatch_interrupt_state;
29
u32 bh_k0_save;
30
u32 bh_epc_save;
31
u32 bh_cause_save;
32
u32 bh_status_save;
33
u32 bh_breakpoint_control_save;
34
u32 unk34;
35
u32 unk38;
36
u32 unk3c;
37
void
*exc_table[0x10];
38
intrman_intr_handler_data_t
intr_handlers[0x40];
39
}
iop_low_memory_globals_t
;
40
41
#if !defined(USE_IOP_LOW_MEMORY_GLOBALS) && defined(_IOP)
42
// cppcheck-suppress-macro constVariablePointer
43
#define USE_IOP_LOW_MEMORY_GLOBALS() iop_low_memory_globals_t *const iop_low_memory_globals = (iop_low_memory_globals_t *)0x400
44
#endif
45
#if !defined(USE_IOP_LOW_MEMORY_GLOBALS)
46
#define USE_IOP_LOW_MEMORY_GLOBALS()
47
#endif
48
49
#endif
/* __IOP_LOW_MEMORY_GLOBALS__ */
iop_low_memory_globals_
Definition
iop_low_memory_globals.h:20
intrman_intr_handler_data_
Definition
intrman.h:81
common
include
iop_low_memory_globals.h
Generated on Thu Nov 14 2024 05:25:24 for PS2SDK by
1.9.8