diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-03-02 14:14:17 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-03-02 14:14:17 +0100 |
| commit | a6143f33ce443c16a773816c2255936a39aee129 (patch) | |
| tree | 38681b32ac61dc1bba63bfd491afcc53ff455917 /src/include/box64stack.h | |
| parent | 9ae5d6121295599bff75012b44adebabd0908ead (diff) | |
| download | box64-a6143f33ce443c16a773816c2255936a39aee129.tar.gz box64-a6143f33ce443c16a773816c2255936a39aee129.zip | |
More x64emu preparation
Diffstat (limited to 'src/include/box64stack.h')
| -rwxr-xr-x | src/include/box64stack.h | 14 |
1 files changed, 8 insertions, 6 deletions
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 <stdint.h> 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 |