From a892097ff0ed56d5c79c2c2a48cb18533a38c32a Mon Sep 17 00:00:00 2001 From: nmzik Date: Mon, 28 Sep 2026 18:33:46 +0400 Subject: [PATCH] tests: fix macOS extended-memory alias regression check (#889) tests: use a macOS-owned address for extended memory alias checks --- tests/VirtualMemoryAllocationTests.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/VirtualMemoryAllocationTests.cpp b/tests/VirtualMemoryAllocationTests.cpp index 29d478524..d1d9dc1a6 100644 --- a/tests/VirtualMemoryAllocationTests.cpp +++ b/tests/VirtualMemoryAllocationTests.cpp @@ -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,