about summary refs log tree commit diff stats
path: root/src/include/x64tls.h
blob: 61f58887967cf736660ef2d2736ab4d7ab7907d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef __X64_TLS_H__
#define __X64_TLS_H__

typedef struct thread_area_s thread_area_t;

uint32_t my_set_thread_area(thread_area_t* td);
uint32_t my_modify_ldt(x64emu_t* emu, int op, thread_area_t* td, int size);

void* fillTLSData(box64context_t *context);
void* resizeTLSData(box64context_t *context, void* oldptr);
void* GetSegmentBase(uint32_t desc);

#endif //__X64_TLS_H__