mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-11 05:00:21 +02:00
20 lines
573 B
C++
20 lines
573 B
C++
#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();
|
|
}
|