From 9c944c3c25c54224cb91690a75665c812a26218e Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Tue, 30 Dec 2008 16:27:38 +0000 Subject: [PATCH] fixed bug in sysfuncr.txt and updated sysfuncs.txt git-svn-id: svn://kolibrios.org@991 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/docs/sysfuncr.txt | 2 +- kernel/trunk/docs/sysfuncs.txt | 37 ++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-) diff --git a/kernel/trunk/docs/sysfuncr.txt b/kernel/trunk/docs/sysfuncr.txt index bc584ea0cc..5a6124a796 100644 --- a/kernel/trunk/docs/sysfuncr.txt +++ b/kernel/trunk/docs/sysfuncr.txt @@ -3862,7 +3862,7 @@ Architecture Software Developer's Manual, Volume 3, Appendix B); =========================================================================== -====== Функция 68, подфункция 22 - закрыть именованую область памяти. ===== +====== Функция 68, подфункция 23 - закрыть именованую область памяти. ===== =========================================================================== Параметры diff --git a/kernel/trunk/docs/sysfuncs.txt b/kernel/trunk/docs/sysfuncs.txt index 286574427e..918abdb19b 100644 --- a/kernel/trunk/docs/sysfuncs.txt +++ b/kernel/trunk/docs/sysfuncs.txt @@ -3769,6 +3769,43 @@ Remarks: * The contents of the block are unchanged up to the shorter of the new and old sizes. +====================================================================== +======= Function 68, subfunction 22 - open memory block. ======= +====================================================================== +Parameters: + * eax = 68 - function number + * ebx = 22 - subfunction number + * ecx = pointer to already allocated block (max 32 symbols) + * edx = block's size in bytes for SHM_CREATE and SHM_OPEN_ALWAYS + * esi = flags for opening and getting access + SHM_OPEN = 0x00 + SHM_OPEN_ALWAYS = 0x04 + SHM_CREATE = 0x08 + SHM_READ = 0x00 + SHM_WRITE = 0x01 +Returned value: + * eax = pointer to the readed block, 0 = error + * edx = if SHM_CREATE, SHM_OPEN, or SHM_OPEN_ALWAYS active +Error codes: + * E_NOTFOUND = 5 + * E_ACCESS = 10 + * E_NOMEM = 30 + * E_PARAM = 33 +Remarks: + * + * + +====================================================================== +======= Function 68, subfunction 22 - close memory block. ======= +====================================================================== +Parameters: + * eax = 68 - function number + * ebx = 23 - subfunction number + * ecx = pointer to already allocated block (max 32 symbols) + +Returned value: + * not defined + ====================================================================== ====================== Fucntion 69 - debugging. ====================== ======================================================================