process.hh (12141:0d5750e8c0b0) process.hh (12431:000549e1f497)
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

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

58class SyscallDesc;
59class SyscallReturn;
60class System;
61class ThreadContext;
62
63class Process : public SimObject
64{
65 public:
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

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

58class SyscallDesc;
59class SyscallReturn;
60class System;
61class ThreadContext;
62
63class Process : public SimObject
64{
65 public:
66 Process(ProcessParams *params, ObjectFile *obj_file);
66 Process(ProcessParams *params, PageTableBase *pTable,
67 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 virtual void syscall(int64_t callnum, ThreadContext *tc, Fault *fault);

--- 144 unchanged lines hidden ---
68
69 void serialize(CheckpointOut &cp) const override;
70 void unserialize(CheckpointIn &cp) override;
71
72 void initState() override;
73 DrainState drain() override;
74
75 virtual void syscall(int64_t callnum, ThreadContext *tc, Fault *fault);

--- 144 unchanged lines hidden ---