sdk-core
v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Toggle main menu visibility
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
17
#ifndef __IOP_LOW_MEMORY_GLOBALS__
18
#define __IOP_LOW_MEMORY_GLOBALS__
19
20
typedef
struct
iop_low_memory_globals_
21
{
22
u32 eh_at_save;
23
u32 eh_epc_save;
24
u32 eh_status_save;
25
u32 eh_cause_save;
26
u32 eh_k0_save;
27
u32 unk14;
28
u32 unk18;
29
u32 dispatch_interrupt_state;
30
u32 bh_k0_save;
31
u32 bh_epc_save;
32
u32 bh_cause_save;
33
u32 bh_status_save;
34
u32 bh_breakpoint_control_save;
35
u32 unk34;
36
u32 unk38;
37
u32 unk3c;
38
void
*exc_table[0x10];
39
intrman_intr_handler_data_t intr_handlers[0x40];
40
} iop_low_memory_globals_t;
41
42
#if !defined(USE_IOP_LOW_MEMORY_GLOBALS) && defined(_IOP)
43
// cppcheck-suppress-macro constVariablePointer
44
#define USE_IOP_LOW_MEMORY_GLOBALS() iop_low_memory_globals_t *const iop_low_memory_globals = (iop_low_memory_globals_t *)0x400
45
#endif
46
#if !defined(USE_IOP_LOW_MEMORY_GLOBALS)
47
#define USE_IOP_LOW_MEMORY_GLOBALS()
48
#endif
49
50
#endif
/* __IOP_LOW_MEMORY_GLOBALS__ */
iop_low_memory_globals_
Definition
iop_low_memory_globals.h:21
core
common
include
iop_low_memory_globals.h
Generated by
1.18.0