From 2c7a2082e624a78e42199d90f7d9fa90473c26c2 Mon Sep 17 00:00:00 2001 From: Yang Liu Date: Wed, 2 Apr 2025 01:02:07 +0800 Subject: Introduced box64cpu.h for exported interpreter and dynarec functions (#2490) --- src/include/box64cpu.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/include/box64cpu.h (limited to 'src/include/box64cpu.h') diff --git a/src/include/box64cpu.h b/src/include/box64cpu.h new file mode 100644 index 00000000..72df2c69 --- /dev/null +++ b/src/include/box64cpu.h @@ -0,0 +1,12 @@ +#ifndef __BOX64CPU_H_ +#define __BOX64CPU_H_ + +typedef struct x64emu_s x64emu_t; + +int Run(x64emu_t *emu, int step); +void EmuCall(x64emu_t* emu, uintptr_t addr); +void StopEmu(x64emu_t* emu, const char* reason, int is32bits); +void DynaRun(x64emu_t *emu); +void DynaCall(x64emu_t* emu, uintptr_t addr); + +#endif // __BOX64CPU_H_ -- cgit 1.4.1