forked from KolibriOS/kolibrios
[asmxygen] Test doxygen generation on is_region_userspace() function
git-svn-id: svn://kolibrios.org@8962 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
ed5ccbec27
commit
a7ae55240b
@ -5747,14 +5747,13 @@ undefined_syscall: ; Undefined system call
|
|||||||
mov [esp + 32], dword -1
|
mov [esp + 32], dword -1
|
||||||
ret
|
ret
|
||||||
|
|
||||||
; check if given memory region lays in lower 2gb (userspace memory) or not
|
|
||||||
align 4
|
align 4
|
||||||
proc is_region_userspace stdcall, base:dword, len:dword
|
; @brief Check if given memory region lays in lower 2gb (userspace memory) or not
|
||||||
; in:
|
; @param base Base address of region
|
||||||
; base = base address of region
|
; @param len Lenght of region
|
||||||
; len = lenght of region
|
; @return ZF = 1 if region in userspace memory,
|
||||||
; out: ZF = 1 if region in userspace memory
|
|
||||||
; ZF = 0 otherwise
|
; ZF = 0 otherwise
|
||||||
|
proc is_region_userspace stdcall, base:dword, len:dword
|
||||||
push eax ebx
|
push eax ebx
|
||||||
mov eax, [base]
|
mov eax, [base]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user