Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
syscall.h File Reference

x86 (IA32) specific syscall header More...

#include <zephyr/types.h>
#include <stdbool.h>
#include <zephyr/linker/sections.h>

Go to the source code of this file.

Macros

#define USER_CODE_SEG   0x2b /* at dpl=3 */
 
#define USER_DATA_SEG   0x33 /* at dpl=3 */
 

Functions

static __pinned_func uintptr_t arch_syscall_invoke6 (uintptr_t arg1, uintptr_t arg2, uintptr_t arg3, uintptr_t arg4, uintptr_t arg5, uintptr_t arg6, uintptr_t call_id)
 
static __pinned_func uintptr_t arch_syscall_invoke5 (uintptr_t arg1, uintptr_t arg2, uintptr_t arg3, uintptr_t arg4, uintptr_t arg5, uintptr_t call_id)
 
static __pinned_func uintptr_t arch_syscall_invoke4 (uintptr_t arg1, uintptr_t arg2, uintptr_t arg3, uintptr_t arg4, uintptr_t call_id)
 
static __pinned_func uintptr_t arch_syscall_invoke3 (uintptr_t arg1, uintptr_t arg2, uintptr_t arg3, uintptr_t call_id)
 
static __pinned_func uintptr_t arch_syscall_invoke2 (uintptr_t arg1, uintptr_t arg2, uintptr_t call_id)
 
static __pinned_func uintptr_t arch_syscall_invoke1 (uintptr_t arg1, uintptr_t call_id)
 
static __pinned_func uintptr_t arch_syscall_invoke0 (uintptr_t call_id)
 
static __pinned_func bool arch_is_user_context (void)
 

Detailed Description

x86 (IA32) specific syscall header

This header contains the x86 specific syscall interface. It is included by the syscall interface architecture-abstraction header (include/arch/syscall.h)

Macro Definition Documentation

◆ USER_CODE_SEG

#define USER_CODE_SEG   0x2b /* at dpl=3 */

◆ USER_DATA_SEG

#define USER_DATA_SEG   0x33 /* at dpl=3 */

Function Documentation

◆ arch_is_user_context()

static __pinned_func bool arch_is_user_context ( void  )
inlinestatic

◆ arch_syscall_invoke0()

static __pinned_func uintptr_t arch_syscall_invoke0 ( uintptr_t  call_id)
inlinestatic

◆ arch_syscall_invoke1()

static __pinned_func uintptr_t arch_syscall_invoke1 ( uintptr_t  arg1,
uintptr_t  call_id 
)
inlinestatic

◆ arch_syscall_invoke2()

static __pinned_func uintptr_t arch_syscall_invoke2 ( uintptr_t  arg1,
uintptr_t  arg2,
uintptr_t  call_id 
)
inlinestatic

◆ arch_syscall_invoke3()

static __pinned_func uintptr_t arch_syscall_invoke3 ( uintptr_t  arg1,
uintptr_t  arg2,
uintptr_t  arg3,
uintptr_t  call_id 
)
inlinestatic

◆ arch_syscall_invoke4()

static __pinned_func uintptr_t arch_syscall_invoke4 ( uintptr_t  arg1,
uintptr_t  arg2,
uintptr_t  arg3,
uintptr_t  arg4,
uintptr_t  call_id 
)
inlinestatic

◆ arch_syscall_invoke5()

static __pinned_func uintptr_t arch_syscall_invoke5 ( uintptr_t  arg1,
uintptr_t  arg2,
uintptr_t  arg3,
uintptr_t  arg4,
uintptr_t  arg5,
uintptr_t  call_id 
)
inlinestatic

◆ arch_syscall_invoke6()

static __pinned_func uintptr_t arch_syscall_invoke6 ( uintptr_t  arg1,
uintptr_t  arg2,
uintptr_t  arg3,
uintptr_t  arg4,
uintptr_t  arg5,
uintptr_t  arg6,
uintptr_t  call_id 
)
inlinestatic