about summary refs log tree commit diff stats
path: root/src/include
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-05-10 17:21:14 +0200
committerptitSeb <sebastien.chev@gmail.com>2023-05-10 17:21:14 +0200
commit1f4cc1cf884e0c7befdfea601def2291e54459be (patch)
tree53f57aeff400515e4a025725d3cd6bde22db0dd2 /src/include
parent92dd53177f0119c0638c057ea7da5204046846d0 (diff)
downloadbox64-1f4cc1cf884e0c7befdfea601def2291e54459be.tar.gz
box64-1f4cc1cf884e0c7befdfea601def2291e54459be.zip
Optimized Exit bridge managment
Diffstat (limited to 'src/include')
-rwxr-xr-xsrc/include/box64context.h1
-rwxr-xr-xsrc/include/x64emu.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/include/box64context.h b/src/include/box64context.h
index bda5bf23..fb09c004 100755
--- a/src/include/box64context.h
+++ b/src/include/box64context.h
@@ -118,6 +118,7 @@ typedef struct box64context_s {
 
     kh_threadstack_t    *stacksizes;    // stack sizes attributes for thread (temporary)
     bridge_t            *system;        // other bridges
+    uintptr_t           exit_bridge;    // exit bridge value
     uintptr_t           vsyscall;       // vsyscall bridge value
     uintptr_t           vsyscalls[3];   // the 3 x86 VSyscall pseudo bridges (mapped at 0xffffffffff600000+)
     dlprivate_t         *dlprivate;     // dlopen library map
diff --git a/src/include/x64emu.h b/src/include/x64emu.h
index d242925a..a1e03f6e 100755
--- a/src/include/x64emu.h
+++ b/src/include/x64emu.h
@@ -44,8 +44,6 @@ void ResetSegmentsCache(x64emu_t *emu);
 const char* DumpCPURegs(x64emu_t* emu, uintptr_t ip);
 
 void StopEmu(x64emu_t* emu, const char* reason);
-void PushExit(x64emu_t* emu);
-void* GetExit();
 void EmuCall(x64emu_t* emu, uintptr_t addr);
 void AddCleanup(x64emu_t *emu, void *p, void* dso_handle);
 void AddCleanup1Arg(x64emu_t *emu, void *p, void* a, void* dso_handle);