From a6143f33ce443c16a773816c2255936a39aee129 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Tue, 2 Mar 2021 14:14:17 +0100 Subject: More x64emu preparation --- src/include/box64stack.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'src/include/box64stack.h') diff --git a/src/include/box64stack.h b/src/include/box64stack.h index a6b00fea..997e0646 100755 --- a/src/include/box64stack.h +++ b/src/include/box64stack.h @@ -4,14 +4,16 @@ #include typedef struct box64context_s box64context_t; -//typedef struct x64emu_s x64emu_t; +typedef struct x64emu_s x64emu_t; int CalcStackSize(box64context_t *context); -//void SetupInitialStack(x64emu_t *emu); +void SetupInitialStack(x64emu_t *emu); -//uint16_t Pop16(x64emu_t *emu); -//void Push16(x64emu_t *emu, uint16_t v); -//uint32_t Pop32(x64emu_t *emu); -//void Push32(x64emu_t *emu, uint32_t v); +uint16_t Pop16(x64emu_t *emu); +void Push16(x64emu_t *emu, uint16_t v); +uint32_t Pop32(x64emu_t *emu); +void Push32(x64emu_t *emu, uint32_t v); +uint64_t Pop64(x64emu_t *emu); +void Push64(x64emu_t *emu, uint64_t v); #endif //__BOX64_STACK_H_ \ No newline at end of file -- cgit 1.4.1