timing.hh (2640:266b80dd5eca) timing.hh (2644:8a45565c2c04)
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;

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

137
138 template <class T>
139 Fault read(Addr addr, T &data, unsigned flags);
140
141 template <class T>
142 Fault write(T data, Addr addr, unsigned flags, uint64_t *res);
143
144 void fetch();
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;

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

137
138 template <class T>
139 Fault read(Addr addr, T &data, unsigned flags);
140
141 template <class T>
142 Fault write(T data, Addr addr, unsigned flags, uint64_t *res);
143
144 void fetch();
145 void completeInst(Fault fault);
146 void completeIfetch();
145 void completeIfetch(Packet *);
147 void completeDataAccess(Packet *);
146 void completeDataAccess(Packet *);
147 void advanceInst(Fault fault);
148};
149
150#endif // __CPU_SIMPLE_TIMING_HH__
148};
149
150#endif // __CPU_SIMPLE_TIMING_HH__