Browse Source
fix compile on non-msvc windows and linux
remotes/1785372757367212240/tmp_refs/heads/variable-page-size
Exverge
1 month ago
No known key found for this signature in database
GPG Key ID: DAD399BCC5FB77E4
5 changed files with
14 additions and
7 deletions
-
src/common/host_memory.h
-
src/core/arm/nce/arm_nce.cpp
-
src/core/arm/nce/arm_nce_asm_definitions.h
-
src/core/arm/nce/guest_context.h
-
src/core/hle/kernel/k_memory_manager.cpp
|
|
@ -9,7 +9,7 @@ |
|
|
#include <memory> |
|
|
#include <memory> |
|
|
#include <optional> |
|
|
#include <optional> |
|
|
|
|
|
|
|
|
#ifndef _MSC_VER |
|
|
|
|
|
|
|
|
#ifndef _WIN32 |
|
|
#include <unistd.h> |
|
|
#include <unistd.h> |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
@ -19,7 +19,7 @@ |
|
|
|
|
|
|
|
|
namespace Common { |
|
|
namespace Common { |
|
|
|
|
|
|
|
|
#ifndef _MSC_VER |
|
|
|
|
|
|
|
|
#ifndef _WIN32 |
|
|
const size_t HostPageSize = sysconf(_SC_PAGESIZE); |
|
|
const size_t HostPageSize = sysconf(_SC_PAGESIZE); |
|
|
#else |
|
|
#else |
|
|
constexpr size_t HostPageSize = 0x1000; |
|
|
constexpr size_t HostPageSize = 0x1000; |
|
|
|
|
|
@ -16,8 +16,6 @@ |
|
|
|
|
|
|
|
|
#include "core/hle/kernel/k_process.h"
|
|
|
#include "core/hle/kernel/k_process.h"
|
|
|
|
|
|
|
|
|
#include <sys/syscall.h>
|
|
|
|
|
|
|
|
|
|
|
|
namespace Core { |
|
|
namespace Core { |
|
|
|
|
|
|
|
|
namespace { |
|
|
namespace { |
|
|
|
|
|
@ -1,5 +1,8 @@ |
|
|
/* SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project */ |
|
|
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|
|
|
|
|
|
|
|
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project |
|
|
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later |
|
|
|
|
|
|
|
|
|
|
|
// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project |
|
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later |
|
|
|
|
|
|
|
|
#pragma once |
|
|
#pragma once |
|
|
|
|
|
|
|
|
|
|
|
@ -1,3 +1,6 @@ |
|
|
|
|
|
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project |
|
|
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later |
|
|
|
|
|
|
|
|
// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project |
|
|
// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project |
|
|
// SPDX-License-Identifier: GPL-2.0-or-later |
|
|
// SPDX-License-Identifier: GPL-2.0-or-later |
|
|
|
|
|
|
|
|
@ -10,8 +13,11 @@ |
|
|
#include "core/arm/arm_interface.h" |
|
|
#include "core/arm/arm_interface.h" |
|
|
#include "core/arm/nce/arm_nce_asm_definitions.h" |
|
|
#include "core/arm/nce/arm_nce_asm_definitions.h" |
|
|
|
|
|
|
|
|
|
|
|
#ifdef __linux__ |
|
|
#include <unistd.h> |
|
|
#include <unistd.h> |
|
|
|
|
|
#include <sys/syscall.h> |
|
|
#include <signal.h> |
|
|
#include <signal.h> |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
namespace Core { |
|
|
namespace Core { |
|
|
|
|
|
|
|
|
|
|
|
@ -1,4 +1,4 @@ |
|
|
// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
|
|
|
|
|
|
|
|
|
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
|
|
|
|
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
|
|
|
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
|
|
|
|