From a7ae55240b13f62a6a1e8400e99fe2c45fe12469 Mon Sep 17 00:00:00 2001 From: "Magomed Kostoev (mkostoevr)" Date: Tue, 29 Jun 2021 09:37:40 +0000 Subject: [PATCH] [asmxygen] Test doxygen generation on is_region_userspace() function git-svn-id: svn://kolibrios.org@8962 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/kernel.asm | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/kernel/trunk/kernel.asm b/kernel/trunk/kernel.asm index 2caeb5f569..cab36f16b7 100644 --- a/kernel/trunk/kernel.asm +++ b/kernel/trunk/kernel.asm @@ -5747,14 +5747,13 @@ undefined_syscall: ; Undefined system call mov [esp + 32], dword -1 ret -; check if given memory region lays in lower 2gb (userspace memory) or not align 4 +; @brief Check if given memory region lays in lower 2gb (userspace memory) or not +; @param base Base address of region +; @param len Lenght of region +; @return ZF = 1 if region in userspace memory, +; ZF = 0 otherwise proc is_region_userspace stdcall, base:dword, len:dword -; in: -; base = base address of region -; len = lenght of region -; out: ZF = 1 if region in userspace memory -; ZF = 0 otherwise push eax ebx mov eax, [base]