mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 21:00:17 +02:00
28 lines
408 B
C++
28 lines
408 B
C++
// SPDX-License-Identifier: MIT
|
|
/*
|
|
$info$
|
|
tags: glue|x86-guest-code
|
|
$end_info$
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
namespace FEXCore {
|
|
class X86GeneratedCode final {
|
|
public:
|
|
X86GeneratedCode();
|
|
~X86GeneratedCode();
|
|
|
|
uint64_t CallbackReturn{};
|
|
uint64_t sigreturn_32{};
|
|
uint64_t rt_sigreturn_32{};
|
|
|
|
private:
|
|
void *CodePtr{};
|
|
void* AllocateGuestCodeSpace(size_t Size);
|
|
};
|
|
}
|