From 4426d7630c751f1b2d41c4fdf259dc5634546e76 Mon Sep 17 00:00:00 2001 From: IndecisiveTurtle <47210458+raphaelthegreat@users.noreply.github.com> Date: Tue, 30 Jul 2024 02:58:09 +0300 Subject: [PATCH] address_space: Bump user area size to full --- src/core/address_space.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/core/address_space.h b/src/core/address_space.h index e25159023..29f74f568 100644 --- a/src/core/address_space.h +++ b/src/core/address_space.h @@ -34,10 +34,7 @@ constexpr VAddr USER_MAX = 0xFBFFFFFFFFULL; static constexpr size_t SystemManagedSize = SYSTEM_MANAGED_MAX - SYSTEM_MANAGED_MIN + 1; static constexpr size_t SystemReservedSize = SYSTEM_RESERVED_MAX - SYSTEM_RESERVED_MIN + 1; -// User area size is normally larger than this. However games are unlikely to map to high -// regions of that area, so by default we allocate a smaller virtual address space (about 1/4th). -// to save space on page tables. -static constexpr size_t UserSize = 1ULL << 39; +static constexpr size_t UserSize = 1ULL << 40; /** * Represents the user virtual address space backed by a dmem memory block