process.hh (12044:3fbbaad9c5cc) | process.hh (12141:0d5750e8c0b0) |
---|---|
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 --- 147 unchanged lines hidden (view full) --- 156 * @return True if the map operation was successful. (At this 157 * point in time, the map operation always succeeds.) 158 */ 159 bool map(Addr vaddr, Addr paddr, int size, bool cacheable = true); 160 161 void replicatePage(Addr vaddr, Addr new_paddr, ThreadContext *old_tc, 162 ThreadContext *new_tc, bool alloc_page); 163 | 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 --- 147 unchanged lines hidden (view full) --- 156 * @return True if the map operation was successful. (At this 157 * point in time, the map operation always succeeds.) 158 */ 159 bool map(Addr vaddr, Addr paddr, int size, bool cacheable = true); 160 161 void replicatePage(Addr vaddr, Addr new_paddr, ThreadContext *old_tc, 162 ThreadContext *new_tc, bool alloc_page); 163 |
164 void clone(ThreadContext *old_tc, ThreadContext *new_tc, Process *new_p, 165 TheISA::IntReg flags); | 164 virtual void clone(ThreadContext *old_tc, ThreadContext *new_tc, 165 Process *new_p, TheISA::IntReg flags); |
166 167 // thread contexts associated with this process 168 std::vector<ContextID> contextIds; 169 170 // system object which owns this process 171 System *system; 172 173 Stats::Scalar numSyscalls; // track how many system calls are executed --- 45 unchanged lines hidden --- | 166 167 // thread contexts associated with this process 168 std::vector<ContextID> contextIds; 169 170 // system object which owns this process 171 System *system; 172 173 Stats::Scalar numSyscalls; // track how many system calls are executed --- 45 unchanged lines hidden --- |