From 8e3411139b27a3421e9ac75c13f14f99f6dd3137 Mon Sep 17 00:00:00 2001 From: Miguel Date: Sun, 2 Sep 2018 00:08:42 +0200 Subject: syscalls --- asm/usermode.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'asm/usermode.h') diff --git a/asm/usermode.h b/asm/usermode.h index 9b76db3..16597f2 100644 --- a/asm/usermode.h +++ b/asm/usermode.h @@ -1,7 +1,8 @@ -/* - * Switch to User Mode and returin to function given by pointer +/** + * @file + * Switch to User Mode and iret to function given by pointer * provide the address of a void func() that will be called without - * any params. + * any params via iret. */ -void usermode(uint32_t func); +void asm_usermode(uint32_t func); -- cgit v1.2.3