diff options
| author | Yang Liu <liuyang22@iscas.ac.cn> | 2025-04-10 18:14:50 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-10 12:14:50 +0200 |
| commit | f9f082ee53ae0ab8e12b0c1bf1de339af8b92282 (patch) | |
| tree | b040c5f88bf691cc67f7fc1bd9c8b4914ea4758b /src/include | |
| parent | 66bb1aeb89d7ee64cad83ab12208b221ce5e9731 (diff) | |
| download | box64-f9f082ee53ae0ab8e12b0c1bf1de339af8b92282.tar.gz box64-f9f082ee53ae0ab8e12b0c1bf1de339af8b92282.zip | |
[WOW64] More work on the PE wow64 build (#2518)
* [WOW64] More work on the PE wow64 build * added a TODO
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/dynarec_native.h | 2 | ||||
| -rw-r--r-- | src/include/myalign.h | 2 | ||||
| -rw-r--r-- | src/include/mysignal.h | 3 | ||||
| -rw-r--r-- | src/include/perfmap.h | 6 |
4 files changed, 10 insertions, 3 deletions
diff --git a/src/include/dynarec_native.h b/src/include/dynarec_native.h index 2754eed7..6e733eeb 100644 --- a/src/include/dynarec_native.h +++ b/src/include/dynarec_native.h @@ -26,6 +26,4 @@ void addInst(instsize_t* insts, size_t* size, int x64_size, int native_size); void CancelBlock64(int need_lock); void* FillBlock64(dynablock_t* block, uintptr_t addr, int alternate, int is32bits, int inst_max); -void writePerfMap(uintptr_t func_addr, uintptr_t code_addr, size_t code_size, const char* inst_name); - #endif //__DYNAREC_ARM_H_ diff --git a/src/include/myalign.h b/src/include/myalign.h index 8c6bcc06..ec7c6e70 100644 --- a/src/include/myalign.h +++ b/src/include/myalign.h @@ -2,6 +2,8 @@ #define __MY_ALIGN__H_ #include <stdint.h> +#include "mysignal.h" + typedef struct x64_va_list_s { unsigned int gp_offset; unsigned int fp_offset; diff --git a/src/include/mysignal.h b/src/include/mysignal.h index 5eb1b782..8d4f84a6 100644 --- a/src/include/mysignal.h +++ b/src/include/mysignal.h @@ -8,8 +8,9 @@ typedef struct { int a; } sigset_t; +typedef sigset_t __sigset_t; + #define sigfillset(x) -#define pthread_sigmask(a, b, c) #endif #endif // __MYSIGNAL_H_ \ No newline at end of file diff --git a/src/include/perfmap.h b/src/include/perfmap.h new file mode 100644 index 00000000..574b3f2c --- /dev/null +++ b/src/include/perfmap.h @@ -0,0 +1,6 @@ +#ifndef __PERFMAP_H__ +#define __PERFMAP_H__ + +void writePerfMap(uintptr_t func_addr, uintptr_t code_addr, size_t code_size, const char* inst_name); + +#endif // __PERFMAP_H__ \ No newline at end of file |