Increase address space upper bound

Probably needs heavy testing, especially on Mac/Windows.
This increases the address space, as needed to accommodate strange memory behaviors seen in UFC.
This commit is contained in:
Stephen Miller 2025-05-03 11:50:41 -05:00
parent 4f45b05eee
commit 3d50eeeebb

View file

@ -31,11 +31,11 @@ constexpr VAddr SYSTEM_RESERVED_MAX = 0xFBFFFFFFFULL;
constexpr VAddr SYSTEM_RESERVED_MAX = 0xFFFFFFFFFULL;
#endif
constexpr VAddr USER_MIN = 0x1000000000ULL;
constexpr VAddr USER_MAX = 0xFBFFFFFFFFULL;
constexpr VAddr USER_MAX = 0xFFFFFFFFFFFULL;
static constexpr size_t SystemManagedSize = SYSTEM_MANAGED_MAX - SYSTEM_MANAGED_MIN + 1;
static constexpr size_t SystemReservedSize = SYSTEM_RESERVED_MAX - SYSTEM_RESERVED_MIN + 1;
static constexpr size_t UserSize = 1ULL << 40;
static constexpr size_t UserSize = USER_MAX - USER_MIN + 1;
/**
* Represents the user virtual address space backed by a dmem memory block