From 1b604d25217a8d451c970f3f07561c70d769dfd1 Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Wed, 25 Apr 2012 21:35:25 +0000 Subject: [PATCH] Fix for r.1345 git-svn-id: svn://kolibrios.org@2647 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/core/memory.inc | 2 +- kernel/trunk/docs/sysfuncr.txt | 1 + kernel/trunk/docs/sysfuncs.txt | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/trunk/core/memory.inc b/kernel/trunk/core/memory.inc index 43af98e8cf..668dc7ec65 100644 --- a/kernel/trunk/core/memory.inc +++ b/kernel/trunk/core/memory.inc @@ -1251,7 +1251,7 @@ f68: cmp ecx, OS_BASE jae .fail - cmp ebx, OS_BASE + cmp edx, OS_BASE jae .fail mov edi, edx diff --git a/kernel/trunk/docs/sysfuncr.txt b/kernel/trunk/docs/sysfuncr.txt index bec04f4c61..2767c639b1 100644 --- a/kernel/trunk/docs/sysfuncr.txt +++ b/kernel/trunk/docs/sysfuncr.txt @@ -3699,6 +3699,7 @@ Architecture Software Developer's Manual, Volume 3, Appendix B); * eax = 68 - номер функции * ebx = 21 - номер подфункции * ecx = указатель на ASCIIZ-строку с именем драйвера + * edx = указатель на командную строку Возвращаемое значение: * eax = 0 - неудача * иначе eax = хэндл драйвера diff --git a/kernel/trunk/docs/sysfuncs.txt b/kernel/trunk/docs/sysfuncs.txt index 3aba2d6455..69456c2431 100644 --- a/kernel/trunk/docs/sysfuncs.txt +++ b/kernel/trunk/docs/sysfuncs.txt @@ -3680,6 +3680,7 @@ Parameters: * eax = 68 - function number * ebx = 21 - subfunction number * ecx = pointer to ASCIIZ-string with driver name + * edx = pointer to command line Returned value: * eax = 0 - failed * otherwise eax = driver handle