about summary refs log tree commit diff stats
path: root/src/include/emit_signals.h
blob: 7bc4aa42647fe39e67540057e0475d601dfbc6fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef __EMIT_SIGNALS_H_
#define __EMIT_SIGNALS_H_

#include <stdint.h>

typedef struct x64emu_s x64emu_t;

void EmitSignal(x64emu_t* emu, int sig, void* addr, int code);
void EmitInterruption(x64emu_t* emu, int num, void* addr);
void EmitDiv0(x64emu_t* emu, void* addr, int code);
void CheckExec(x64emu_t* emu, uintptr_t addr);

#endif // __EMIT_SIGNALS_H_