16 lines
277 B
C
16 lines
277 B
C
#pragma once
|
|
|
|
struct thread {
|
|
// Platform data
|
|
struct thread_data {
|
|
uintptr_t rsp0; // 0x00
|
|
uintptr_t syscall_rsp; // 0x08
|
|
|
|
uintptr_t rsp0_base;
|
|
size_t rsp0_size;
|
|
} data;
|
|
|
|
int pid;
|
|
struct thread *next;
|
|
};
|