MOS Source Code
Loading...
Searching...
No Matches
platform_syscall.h File Reference
#include <mos/mos_global.h>
#include <mos/types.h>
+ Include dependency graph for platform_syscall.h:

Go to the source code of this file.

Enumerations

enum  { X86_SYSCALL_IOPL_ENABLE = 0 , X86_SYSCALL_IOPL_DISABLE = 1 , X86_SYSCALL_SET_FS_BASE = 2 , X86_SYSCALL_SET_GS_BASE = 3 }
 

Functions

should_inline reg_t platform_syscall0 (reg_t number)
 
should_inline reg_t platform_syscall1 (reg_t number, reg_t arg1)
 
should_inline reg_t platform_syscall2 (reg_t number, reg_t arg1, reg_t arg2)
 
should_inline reg_t platform_syscall3 (reg_t number, reg_t arg1, reg_t arg2, reg_t arg3)
 
should_inline reg_t platform_syscall4 (reg_t number, reg_t arg1, reg_t arg2, reg_t arg3, reg_t arg4)
 
should_inline reg_t platform_syscall5 (reg_t number, reg_t arg1, reg_t arg2, reg_t arg3, reg_t arg4, reg_t arg5)
 
should_inline reg_t platform_syscall6 (reg_t number, reg_t arg1, reg_t arg2, reg_t arg3, reg_t arg4, reg_t arg5, reg_t arg6)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
X86_SYSCALL_IOPL_ENABLE 
X86_SYSCALL_IOPL_DISABLE 
X86_SYSCALL_SET_FS_BASE 
X86_SYSCALL_SET_GS_BASE 

Definition at line 7 of file platform_syscall.h.

Function Documentation

◆ platform_syscall0()

should_inline reg_t platform_syscall0 ( reg_t number)

Definition at line 15 of file platform_syscall.h.

◆ platform_syscall1()

should_inline reg_t platform_syscall1 ( reg_t number,
reg_t arg1 )

Definition at line 22 of file platform_syscall.h.

◆ platform_syscall2()

should_inline reg_t platform_syscall2 ( reg_t number,
reg_t arg1,
reg_t arg2 )

Definition at line 29 of file platform_syscall.h.

◆ platform_syscall3()

should_inline reg_t platform_syscall3 ( reg_t number,
reg_t arg1,
reg_t arg2,
reg_t arg3 )

Definition at line 36 of file platform_syscall.h.

◆ platform_syscall4()

should_inline reg_t platform_syscall4 ( reg_t number,
reg_t arg1,
reg_t arg2,
reg_t arg3,
reg_t arg4 )

Definition at line 43 of file platform_syscall.h.

◆ platform_syscall5()

should_inline reg_t platform_syscall5 ( reg_t number,
reg_t arg1,
reg_t arg2,
reg_t arg3,
reg_t arg4,
reg_t arg5 )

Definition at line 50 of file platform_syscall.h.

◆ platform_syscall6()

should_inline reg_t platform_syscall6 ( reg_t number,
reg_t arg1,
reg_t arg2,
reg_t arg3,
reg_t arg4,
reg_t arg5,
reg_t arg6 )

Definition at line 57 of file platform_syscall.h.