From ee35eb534c2a5fae49c33aad4da34f361a23fb8c Mon Sep 17 00:00:00 2001 From: "Magomed Kostoev (mkostoevr)" Date: Tue, 29 Jun 2021 19:41:20 +0000 Subject: [PATCH] [kernel][doxygen] Documment `endp` macro git-svn-id: svn://kolibrios.org@8979 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/proc32.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/trunk/proc32.inc b/kernel/trunk/proc32.inc index 342132874d..d1c35fb5bf 100644 --- a/kernel/trunk/proc32.inc +++ b/kernel/trunk/proc32.inc @@ -68,7 +68,8 @@ macro cinvoke proc,[arg] ; `proc name uses eax ebx ecx, param0, param1`\n ; If you need to specify both calling convention and used registers ; put calling convention first and then `uses` statement like this:\n -; `proc name stdcall uses ebx ecx edx, param0, param1` +; `proc name stdcall uses ebx ecx edx, param0, param1`\n +; The defined procedure should be ended using `endp` macro. ; @param args Name of the procedure and a comma-separated argument list. ; Type of any parameter may be specified by semicolon after its ; name like this:\n @@ -255,6 +256,7 @@ macro initlocal@proc name,def position@initlocal = position@initlocal + current@initlocal end while } +; @brief Mark the end of a procedure created by `proc` macro macro endp { purge ret,locals,endl finish@proc