process.hh (12431:000549e1f497) | process.hh (13612:12ae022f3a30) |
---|---|
1/* 2 * Copyright (c) 2006 The Regents of The University of Michigan 3 * Copyright (c) 2017 The University of Virginia 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 40 unchanged lines hidden (view full) --- 49 RiscvProcess(ProcessParams * params, ObjectFile *objFile); 50 51 void initState() override; 52 53 template<class IntType> 54 void argsInit(int pageSize); 55 56 public: | 1/* 2 * Copyright (c) 2006 The Regents of The University of Michigan 3 * Copyright (c) 2017 The University of Virginia 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 40 unchanged lines hidden (view full) --- 49 RiscvProcess(ProcessParams * params, ObjectFile *objFile); 50 51 void initState() override; 52 53 template<class IntType> 54 void argsInit(int pageSize); 55 56 public: |
57 RiscvISA::IntReg getSyscallArg(ThreadContext *tc, int &i) override; | 57 RegVal getSyscallArg(ThreadContext *tc, int &i) override; |
58 /// Explicitly import the otherwise hidden getSyscallArg 59 using Process::getSyscallArg; | 58 /// Explicitly import the otherwise hidden getSyscallArg 59 using Process::getSyscallArg; |
60 void setSyscallArg(ThreadContext *tc, int i, 61 RiscvISA::IntReg val) override; | 60 void setSyscallArg(ThreadContext *tc, int i, RegVal val) override; |
62 void setSyscallReturn(ThreadContext *tc, 63 SyscallReturn return_value) override; 64 65 virtual bool mmapGrowsDown() const override { return false; } 66}; 67 68#endif // __RISCV_PROCESS_HH__ | 61 void setSyscallReturn(ThreadContext *tc, 62 SyscallReturn return_value) override; 63 64 virtual bool mmapGrowsDown() const override { return false; } 65}; 66 67#endif // __RISCV_PROCESS_HH__ |