commit_impl.hh (5704:98224505352a) commit_impl.hh (5769:e53bdd0e4bf1)
1/*
2 * Copyright (c) 2004-2006 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;

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

48
49#include "params/DerivO3CPU.hh"
50
51template <class Impl>
52DefaultCommit<Impl>::TrapEvent::TrapEvent(DefaultCommit<Impl> *_commit,
53 unsigned _tid)
54 : Event(CPU_Tick_Pri), commit(_commit), tid(_tid)
55{
1/*
2 * Copyright (c) 2004-2006 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;

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

48
49#include "params/DerivO3CPU.hh"
50
51template <class Impl>
52DefaultCommit<Impl>::TrapEvent::TrapEvent(DefaultCommit<Impl> *_commit,
53 unsigned _tid)
54 : Event(CPU_Tick_Pri), commit(_commit), tid(_tid)
55{
56 this->setFlags(Event::AutoDelete);
56 this->setFlags(AutoDelete);
57}
58
59template <class Impl>
60void
61DefaultCommit<Impl>::TrapEvent::process()
62{
63 // This will get reset by commit if it was switched out at the
64 // time of this event processing.

--- 1312 unchanged lines hidden ---
57}
58
59template <class Impl>
60void
61DefaultCommit<Impl>::TrapEvent::process()
62{
63 // This will get reset by commit if it was switched out at the
64 // time of this event processing.

--- 1312 unchanged lines hidden ---