Deleted Added
sdiff udiff text old ( 5704:98224505352a ) new ( 5707:da86e00f87a0 )
full compact
1/*
2 * Copyright (c) 2004-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;

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

71{
72 //Stuff that's pretty ISA independent will go here.
73 public:
74 BaseO3CPU(BaseCPUParams *params);
75
76 void regStats();
77
78 /** Sets this CPU's ID. */
79 void setCpuId(int id) { cpu_id = id; }
80
81 /** Reads this CPU's ID. */
82 int readCpuId() { return cpu_id; }
83
84 protected:
85 int cpu_id;
86};
87
88/**
89 * FullO3CPU class, has each of the stages (fetch through commit)
90 * within it, as well as all of the time buffers between stages. The
91 * tick() function for the CPU is defined here.
92 */
93template <class Impl>

--- 714 unchanged lines hidden ---