#include <string>
#include <vector>
+#include "mem/multi_level_page_table.hh"
#include "sim/aux_vector.hh"
#include "sim/process.hh"
-#include "mem/multi_level_page_table.hh"
class SyscallDesc;
void argsInit(int pageSize);
void initState();
- void syscall(int64_t callnum, ThreadContext *tc, Fault *fault);
+ void syscall(int64_t callnum, ThreadContext *tc,
+ Fault *fault) override;
X86ISA::IntReg getSyscallArg(ThreadContext *tc, int &i);
X86ISA::IntReg getSyscallArg(ThreadContext *tc, int &i, int width);
void setSyscallArg(ThreadContext *tc, int i, X86ISA::IntReg val);
/**
* Declaration of architectural page table for x86.
*
- * These page tables are stored in system memory and respect x86 specification.
+ * These page tables are stored in system memory and respect x86
+ * specification.
*/
typedef MultiLevelPageTable<PageTableOps> ArchPageTable;
void initState() override;
DrainState drain() override;
- void syscall(int64_t callnum, ThreadContext *tc, Fault *fault);
+ virtual void syscall(int64_t callnum, ThreadContext *tc, Fault *fault);
virtual TheISA::IntReg getSyscallArg(ThreadContext *tc, int &i) = 0;
virtual TheISA::IntReg getSyscallArg(ThreadContext *tc, int &i, int width);
virtual void setSyscallArg(ThreadContext *tc, int i,