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; --- 137 unchanged lines hidden (view full) --- 146 virtual void activateContext(int thread_num, int delay); 147 virtual void suspendContext(int thread_num); 148 149 template <class T> 150 Fault read(Addr addr, T &data, unsigned flags); 151 152 template <class T> 153 Fault write(T data, Addr addr, unsigned flags, uint64_t *res); |
154 155 Fault translateDataReadAddr(Addr vaddr, Addr &paddr, 156 int size, unsigned flags); 157 Fault translateDataWriteAddr(Addr vaddr, Addr &paddr, 158 int size, unsigned flags); |
159}; 160 161#endif // __CPU_SIMPLE_ATOMIC_HH__ |