mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-21 03:16:54 +02:00
tests: fix macOS extended-memory alias regression check (#889)
tests: use a macOS-owned address for extended memory alias checks
This commit is contained in:
@@ -2165,7 +2165,8 @@ void TestFixedReserveRangeAddRollbackKeepsPlaceholder() {
|
||||
|
||||
void TestExtendedAndUserMappingsDoNotAlias() {
|
||||
const char* test = "ExtendedAndUserMappingsDoNotAlias";
|
||||
constexpr uint64_t user_address = 0x1000000000ull;
|
||||
// macOS starts its ordinary guest range at 448 GiB.
|
||||
constexpr uint64_t user_address = 0x7000000000ull;
|
||||
const uint64_t addresses[] {
|
||||
user_address,
|
||||
Libs::LibKernel::Memory::kExtendedMemoryBase + user_address,
|
||||
|
||||
Reference in New Issue
Block a user