From 906e6d8dce6de2da6d12895fecb581e8de64f6ac Mon Sep 17 00:00:00 2001 From: "Rustem Gimadutdinov (rgimad)" Date: Tue, 29 Dec 2020 13:45:08 +0000 Subject: [PATCH] is_region_userspace: removed extra condition which caused incorrect behavior of boxlib menu in hexedit and rtfread (cuz it uses address 0 i didnt know:D ) git-svn-id: svn://kolibrios.org@8493 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/kernel.asm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/kernel/trunk/kernel.asm b/kernel/trunk/kernel.asm index 1e5e27e792..774d682319 100644 --- a/kernel/trunk/kernel.asm +++ b/kernel/trunk/kernel.asm @@ -5692,12 +5692,6 @@ proc is_region_userspace stdcall, base:dword, len:dword cmp eax, OS_BASE ja @f - mov ebx, 0xFFFFFFFF - sub ebx, [base] - inc ebx - cmp [len], ebx - ja @f - add eax, [len] cmp eax, OS_BASE ja @f