Initial guest-to-host trampoline generation

This commit is contained in:
2025-10-30 02:23:09 -06:00
parent 9367f003c5
commit 55a62a27c9
85 changed files with 1750 additions and 1807 deletions

View File

@@ -3,6 +3,7 @@
#include "common.h"
#include "handles.h"
#include "mimalloc.h"
#include "types.h"
#include <condition_variable>
#include <pthread.h>
@@ -80,7 +81,7 @@ struct ThreadObject final : WaitableObject {
pthread_t thread;
DWORD exitCode = STILL_ACTIVE;
unsigned int suspendCount = 0;
TIB *tib = nullptr;
TEB *tib = nullptr;
explicit ThreadObject(pthread_t thread) : WaitableObject(kType), thread(thread) {}