atomic.hh (5177:4307a768e10e) | atomic.hh (5315:30997e988446) |
---|---|
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; --- 142 unchanged lines hidden (view full) --- 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); | 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; --- 142 unchanged lines hidden (view full) --- 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 * Print state of address in memory system via PrintReq (for 162 * debugging). 163 */ 164 void printAddr(Addr a); |
|
159}; 160 161#endif // __CPU_SIMPLE_ATOMIC_HH__ | 165}; 166 167#endif // __CPU_SIMPLE_ATOMIC_HH__ |