1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 122 unchanged lines hidden (view full) --- 131 virtual void suspendContext(int thread_num); 132 133 template <class T> 134 Fault read(Addr addr, T &data, unsigned flags); 135 136 template <class T> 137 Fault write(T data, Addr addr, unsigned flags, uint64_t *res); 138 |
139 /** 140 * Print state of address in memory system via PrintReq (for 141 * debugging). 142 */ 143 void printAddr(Addr a); 144}; 145 146#endif // __CPU_SIMPLE_ATOMIC_HH__ |