From 195876a62197349e55df6e54c1db20599295a7e0 Mon Sep 17 00:00:00 2001 From: DBJ314 <28739710+DBJ314@users.noreply.github.com> Date: Sun, 22 Apr 2018 10:10:43 -0400 Subject: [PATCH] fixed consistency check in MPCall_83. LLL.Signature of pages in free list is always logical not of free list's base. Had to take over one of the less useful instructions in the MPCall to preserve the number of bytes it takes up --- NanoKernel/NKAddressSpaceMPCalls.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NanoKernel/NKAddressSpaceMPCalls.s b/NanoKernel/NKAddressSpaceMPCalls.s index b6b5e24..c5a5da6 100644 --- a/NanoKernel/NKAddressSpaceMPCalls.s +++ b/NanoKernel/NKAddressSpaceMPCalls.s @@ -2753,10 +2753,10 @@ MPCall_83_0x90 ; OUTSIDE REFERER stw r16, -0x0430(r1) lwz r17, 0x0004(r8) mfspr r16, dec - eqv. r17, r18, r17 + xor r17, r18, r17 stw r16, 0x0000(r8) + cmpwi r17, -1 bne Local_Panic - stw r16, 0x0004(r8) stw r16, 0x0008(r8) stw r16, 0x000c(r8) blr