process.hh (11919:54c2e390fc22) process.hh (12044:3fbbaad9c5cc)
1/*
2 * Copyright (c) 2014-2016 Advanced Micro Devices, Inc.
3 * Copyright (c) 2001-2005 The Regents of The University of Michigan
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

--- 57 unchanged lines hidden (view full) ---

66 Process(ProcessParams *params, ObjectFile *obj_file);
67
68 void serialize(CheckpointOut &cp) const override;
69 void unserialize(CheckpointIn &cp) override;
70
71 void initState() override;
72 DrainState drain() override;
73
1/*
2 * Copyright (c) 2014-2016 Advanced Micro Devices, Inc.
3 * Copyright (c) 2001-2005 The Regents of The University of Michigan
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

--- 57 unchanged lines hidden (view full) ---

66 Process(ProcessParams *params, ObjectFile *obj_file);
67
68 void serialize(CheckpointOut &cp) const override;
69 void unserialize(CheckpointIn &cp) override;
70
71 void initState() override;
72 DrainState drain() override;
73
74 void syscall(int64_t callnum, ThreadContext *tc, Fault *fault);
74 virtual void syscall(int64_t callnum, ThreadContext *tc, Fault *fault);
75 virtual TheISA::IntReg getSyscallArg(ThreadContext *tc, int &i) = 0;
76 virtual TheISA::IntReg getSyscallArg(ThreadContext *tc, int &i, int width);
77 virtual void setSyscallArg(ThreadContext *tc, int i,
78 TheISA::IntReg val) = 0;
79 virtual void setSyscallReturn(ThreadContext *tc,
80 SyscallReturn return_value) = 0;
81 virtual SyscallDesc *getDesc(int callnum) = 0;
82

--- 136 unchanged lines hidden ---
75 virtual TheISA::IntReg getSyscallArg(ThreadContext *tc, int &i) = 0;
76 virtual TheISA::IntReg getSyscallArg(ThreadContext *tc, int &i, int width);
77 virtual void setSyscallArg(ThreadContext *tc, int i,
78 TheISA::IntReg val) = 0;
79 virtual void setSyscallReturn(ThreadContext *tc,
80 SyscallReturn return_value) = 0;
81 virtual SyscallDesc *getDesc(int callnum) = 0;
82

--- 136 unchanged lines hidden ---