diff options
| author | JosJuice <josjuice@gmail.com> | 2026-04-04 22:51:10 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2026-04-04 22:55:23 +0200 |
| commit | 3fe5df474bf268dc87f05991462df52150a7c511 (patch) | |
| tree | 1f052891d99d7cdd03d91b7a5c5e6a6249a69813 /Source/UnitTests/Core/PowerPC/PageTableHostMappingTest.cpp | |
| parent | c4e99cef61191248f80cb235b6cee1fad16d2c2b (diff) | |
PageTableHostMappingTest: Fix alignment for misaligned+hole test
Mistakenly, MISALIGNED_HOLE_MASK_PAGE_TABLE_BASE was aligned and
MISALIGNED_HOLE_MASK_PAGE_TABLE_BASE_ALIGNED was misaligned. It should
be the other way around.
These variables are unused due to a separate mistake which is corrected
in the next commit.
Diffstat (limited to 'Source/UnitTests/Core/PowerPC/PageTableHostMappingTest.cpp')
| -rw-r--r-- | Source/UnitTests/Core/PowerPC/PageTableHostMappingTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/UnitTests/Core/PowerPC/PageTableHostMappingTest.cpp b/Source/UnitTests/Core/PowerPC/PageTableHostMappingTest.cpp index fcb0071054..c7b93d12fc 100644 --- a/Source/UnitTests/Core/PowerPC/PageTableHostMappingTest.cpp +++ b/Source/UnitTests/Core/PowerPC/PageTableHostMappingTest.cpp @@ -36,8 +36,8 @@ static constexpr u32 HOLE_MASK_PAGE_TABLE_BASE = 0x00080000; static constexpr u32 HOLE_MASK_PAGE_TABLE_MASK = 0x0002ffff; static constexpr u32 HOLE_MASK_PAGE_TABLE_MASK_WITHOUT_HOLE = 0x0003ffff; -static constexpr u32 MISALIGNED_HOLE_MASK_PAGE_TABLE_BASE = 0x000e0000; -static constexpr u32 MISALIGNED_HOLE_MASK_PAGE_TABLE_BASE_ALIGNED = 0x000d0000; +static constexpr u32 MISALIGNED_HOLE_MASK_PAGE_TABLE_BASE = 0x000d0000; +static constexpr u32 MISALIGNED_HOLE_MASK_PAGE_TABLE_BASE_ALIGNED = 0x000c0000; static constexpr u32 MISALIGNED_HOLE_MASK_PAGE_TABLE_MASK = 0x0002ffff; static constexpr u32 MISALIGNED_HOLE_MASK_PAGE_TABLE_MASK_WITHOUT_HOLE = 0x0003ffff; |
