From 6c18c6d3a066960dd1d379bf501beea54f165b39 Mon Sep 17 00:00:00 2001 From: "Evgeny Grechnikov (Diamond)" Date: Fri, 29 May 2009 16:09:05 +0000 Subject: [PATCH] fixed #PF reporting broken in rev. 1074 git-svn-id: svn://kolibrios.org@1089 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/core/memory.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/trunk/core/memory.inc b/kernel/trunk/core/memory.inc index e29154b1ec..7bfc81b211 100644 --- a/kernel/trunk/core/memory.inc +++ b/kernel/trunk/core/memory.inc @@ -585,7 +585,8 @@ end if .core_tabs: .fail: ;simply return to caller mov esp, ebp - mov bl, 14 ;#PF + push 14 ;#PF + pop ebx ret .user_space: