flycast/shell/switch/ucontext.h

19 lines
221 B
C
Raw Normal View History

2021-07-12 18:14:21 +00:00
#pragma once
#include <switch.h>
typedef struct
{
uint64_t regs[29];
uint64_t pc;
} mcontext_t;
typedef struct ucontext_t
{
mcontext_t uc_mcontext;
} ucontext_t;
typedef struct
{
void* si_addr;
} switch_siginfo_t;