From 99a39859db7f2f184a3229c3fb0e4bef9204bfc7 Mon Sep 17 00:00:00 2001 From: abhinav29102005 Date: Mon, 12 Oct 2026 11:34:03 +0530 Subject: [PATCH] test(libkernel): assert memory type propagation from batch commit entry --- core/libs/tests/GuestMemory.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/libs/tests/GuestMemory.cpp b/core/libs/tests/GuestMemory.cpp index 6cd0f1fff..2a88211b9 100644 --- a/core/libs/tests/GuestMemory.cpp +++ b/core/libs/tests/GuestMemory.cpp @@ -459,6 +459,8 @@ static void CheckMtypeprotect() { commitEntry.commit.type = 7; processed = -1; Require(sceKernelMemoryPoolBatch(&commitEntry, 1, &processed, 0) == 0 && processed == 1); + check(1, 3, 1); + check(2, 7, 1); Require(sceKernelMtypeprotect(bytes, page * 3, 2, 3) == 0); VirtualQueryInfo whole{}; Require(sceKernelVirtualQuery(bytes, 0, &whole, sizeof(whole)) == 0);