28#ifndef __ARCH_X86_LINUX_SYSCALLS_HH__
29#define __ARCH_X86_LINUX_SYSCALLS_HH__
42SyscallReturn
unameFunc(SyscallDesc *desc, ThreadContext *tc,
45SyscallReturn
archPrctlFunc(SyscallDesc *desc, ThreadContext *tc,
46 int code, uint64_t
addr);
49 Bitfield<0> seg_32bit;
59 uint32_t entry_number;
This class provides the wrapper interface for the system call implementations which are defined in th...
This class represents the return value from an emulated system call, including any errno setting.
ThreadContext is the external interface to all thread state for anything outside of the CPU.
#define EndBitUnion(name)
This closes off the class and union started by the above macro.
Bitfield< 4 > limit_in_pages
Bitfield< 3 > read_exec_only
SyscallReturn unameFunc(SyscallDesc *desc, ThreadContext *tc, VPtr< Linux::utsname > name)
Target uname() handler.
Bitfield< 2, 1 > contents
BitfieldType< SegDescriptorLimit > limit
SyscallReturn archPrctlFunc(SyscallDesc *desc, ThreadContext *tc, int code, uint64_t addr)
SyscallReturn setThreadArea32Func(SyscallDesc *desc, ThreadContext *tc, VPtr< UserDesc32 > userDesc)
Bitfield< 5 > seg_not_present
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
ProxyPtr< T, SETranslatingPortProxy > VPtr
This file defines objects used to emulate syscalls from the target application on the host machine.
const std::string & name()