mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-12 13:00:41 +02:00
Including fallback to non-unixlib path because we need to support both. Showcases how these are going to be implemented without throwing the entire world at it right away. Next PR will be implementing the remaining four necessary unixlib handlers that we will require: - Kernel unaligned atomic control - shm_stats thing - madvise operation - prctl vma naming
16 lines
391 B
C++
16 lines
391 B
C++
// SPDX-License-Identifier: MIT
|
|
#pragma once
|
|
#include <cstdint>
|
|
|
|
enum class FEXUnixLibFunctions : uint32_t {
|
|
SetHardwareTSOControl,
|
|
MAX,
|
|
};
|
|
|
|
// Structures for passing arguments to unix library handlers.
|
|
// This must match between wow64, arm64ec, and Linux.
|
|
struct FEXUnixLib_SetHardwareTSOControlArgs {
|
|
bool Enable;
|
|
};
|
|
static_assert(sizeof(FEXUnixLib_SetHardwareTSOControlArgs) == 1);
|