Files
FEX-Emu--FEX/Source/Tools/LinuxEmulation/VDSO_Emulation.h
T
Ryan Houdek f2bcc14cda Tools: Moves IRLoader to independent folder
Which requires moving LinuxEmulation to its own independent folder as
well. Since both IRLoader and FEXLoader rely on it.

No functional change, just moves the the code around.
2023-12-18 12:04:28 -08:00

21 lines
605 B
C++

// SPDX-License-Identifier: MIT
#pragma once
#include <FEXCore/IR/IR.h>
#include <FEXCore/fextl/vector.h>
#include "LinuxSyscalls/Syscalls.h"
namespace FEXCore::Context {
struct VDSOSigReturn;
}
namespace FEX::VDSO {
using MapperFn = std::function<void *(void *addr, size_t length, int prot, int flags, int fd, off_t offset)>;
void* LoadVDSOThunks(bool Is64Bit, FEX::HLE::SyscallHandler *const Handler);
uint64_t GetVSyscallEntry(const void* VDSOBase);
fextl::vector<FEXCore::IR::ThunkDefinition> const& GetVDSOThunkDefinitions();
FEXCore::Context::VDSOSigReturn const& GetVDSOSymbols();
}