summaryrefslogtreecommitdiff
path: root/include/PR/os_internal.h
blob: d24be55059ffeb5f0a5c606380c61dcca6c3339f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef PR_OS_INTERNAL_H
#define PR_OS_INTERNAL_H

#ifdef _LANGUAGE_C

#include "ultratypes.h"

typedef struct __osHwInt {
    /* 0x0 */ s32 (*handler)(void);
    /* 0x4 */ void* stackEnd;
} __osHwInt; // size = 0x8

#else

/* __osHwInt struct member offsets */
#define HWINT_CALLBACK 0x0
#define HWINT_SP       0x4

/* __osHwInt struct size */
#define HWINT_SIZE     0x8

#endif

#endif