yuzu/src/common
Kyle Kienapfel 14e9de6678 code: dodge PAGE_SIZE #define
Some header files, specifically for OSX and Musl libc define PAGE_SIZE to be a number
This is great except in yuzu we're using PAGE_SIZE as a variable

Specific example
`static constexpr u64 PAGE_SIZE = u64(1) << PAGE_BITS;`

PAGE_SIZE PAGE_BITS PAGE_MASK are all similar variables.
Simply deleted the underscores, and then added YUZU_ prefix

Might be worth noting that there are multiple uses in different classes/namespaces
This list may not be exhaustive

Core::Memory   12 bits (4096)
QueryCacheBase 12 bits
ShaderCache    14 bits (16384)
TextureCache   20 bits (1048576, or 1MB)

Fixes #8779
2022-08-19 16:08:40 -07:00
..
fs path_util: Resolve -Wpointer-bool-conversion warning 2022-05-26 19:01:26 -04:00
logging chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
x64 Revert Coretiming PRs 8531 and 7454 (#8591) 2022-07-27 19:47:06 -04:00
algorithm.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
alignment.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
announce_multiplayer_room.h core, network: Add ability to proxy socket packets 2022-08-15 20:25:42 +02:00
assert.cpp common/assert: rework ASSERT handling to avoid std::function usage 2022-06-13 20:09:32 -04:00
assert.h common/assert: rework ASSERT handling to avoid std::function usage 2022-06-13 20:09:32 -04:00
atomic_helpers.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
atomic_ops.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
bit_cast.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
bit_field.h common: fix bitfield aliasing on GCC/Clang 2022-07-09 22:43:45 -04:00
bit_set.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
bit_util.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
bounded_threadsafe_queue.h bounded_threadsafe_queue: Use constexpr capacity and mask 2022-06-15 16:59:13 -04:00
cityhash.cpp chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
cityhash.h chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
CMakeLists.txt core, network: Add ability to proxy socket packets 2022-08-15 20:25:42 +02:00
common_funcs.h common_funcs: Mark padding as [[maybe_unused]] 2022-07-15 10:34:38 +01:00
common_types.h chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
concepts.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
detached_tasks.cpp chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
detached_tasks.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
div_ceil.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
dynamic_library.cpp chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
dynamic_library.h chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
elf.h common: consolidate ELF structure definitions 2022-06-05 09:42:05 -04:00
error.cpp chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
error.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
expected.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
fiber.cpp common/fiber: make fibers easier to use 2022-07-02 12:33:49 -04:00
fiber.h common/fiber: make fibers easier to use 2022-07-02 12:33:49 -04:00
fixed_point.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
hash.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
hex_util.cpp chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
hex_util.h chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
host_memory.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
host_memory.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
input.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
intrusive_red_black_tree.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
literals.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
lru_cache.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
lz4_compression.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
lz4_compression.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
math_util.h chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
memory_detect.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
memory_detect.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
microprofile.cpp chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
microprofile.h code: dodge PAGE_SIZE #define 2022-08-19 16:08:40 -07:00
microprofileui.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
nvidia_flags.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
nvidia_flags.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
page_table.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
page_table.h core/debugger: memory breakpoint support 2022-06-16 13:18:07 -04:00
param_package.cpp chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
param_package.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
parent_of_member.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
point.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
quaternion.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
reader_writer_queue.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
ring_buffer.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
scm_rev.cpp.in chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
scm_rev.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
scope_exit.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
settings.cpp Allow audio volume up to 200% 2022-08-12 16:57:29 +01:00
settings.h Allow audio volume up to 200% 2022-08-12 16:57:29 +01:00
settings_input.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
settings_input.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
socket_types.h Make copyright headers SPDX-compliant 2022-08-15 20:25:42 +02:00
spin_lock.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
spin_lock.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
stream.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
stream.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
string_util.cpp string_util: Add U16StringFromBuffer 2022-05-15 18:06:33 -04:00
string_util.h string_util: Add U16StringFromBuffer 2022-05-15 18:06:33 -04:00
swap.h chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
telemetry.cpp chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
telemetry.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
thread.cpp Core: Fix tests. 2022-06-28 01:10:55 +02:00
thread.h Core/Common: Corrections to core timing and add critical priority. 2022-06-28 01:10:55 +02:00
thread_queue_list.h chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
thread_worker.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
threadsafe_queue.h common: move forwarded value into SPSCQueue 2022-07-29 15:41:57 -04:00
time_zone.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
time_zone.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
tiny_mt.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
tree.h chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
uint128.h Revert Coretiming PRs 8531 and 7454 (#8591) 2022-07-27 19:47:06 -04:00
unique_function.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
uuid.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
uuid.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
vector_math.h chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
virtual_buffer.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
virtual_buffer.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
wall_clock.cpp common/x64: Use TSC clock rate from CPUID when available 2022-07-06 12:42:01 -05:00
wall_clock.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
zstd_compression.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
zstd_compression.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00