regfile.hh (2690:f4337c0d9e6f) regfile.hh (2733:e0eac8fc5774)
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;

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

67 } PhysFloatReg;
68
69 // Note that most of the definitions of the IntReg, FloatReg, etc. exist
70 // within the Impl/ISA class and not within this PhysRegFile class.
71
72 // Will make these registers public for now, but they probably should
73 // be private eventually with some accessor functions.
74 public:
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;

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

67 } PhysFloatReg;
68
69 // Note that most of the definitions of the IntReg, FloatReg, etc. exist
70 // within the Impl/ISA class and not within this PhysRegFile class.
71
72 // Will make these registers public for now, but they probably should
73 // be private eventually with some accessor functions.
74 public:
75 typedef typename Impl::FullCPU FullCPU;
75 typedef typename Impl::O3CPU O3CPU;
76
77 /**
78 * Constructs a physical register file with the specified amount of
79 * integer and floating point registers.
80 */
81 PhysRegFile(unsigned _numPhysicalIntRegs,
82 unsigned _numPhysicalFloatRegs);
83

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

273
274#if FULL_SYSTEM
275 private:
276 int intrflag; // interrupt flag
277#endif
278
279 private:
280 /** CPU pointer. */
76
77 /**
78 * Constructs a physical register file with the specified amount of
79 * integer and floating point registers.
80 */
81 PhysRegFile(unsigned _numPhysicalIntRegs,
82 unsigned _numPhysicalFloatRegs);
83

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

273
274#if FULL_SYSTEM
275 private:
276 int intrflag; // interrupt flag
277#endif
278
279 private:
280 /** CPU pointer. */
281 FullCPU *cpu;
281 O3CPU *cpu;
282
283 public:
284 /** Sets the CPU pointer. */
282
283 public:
284 /** Sets the CPU pointer. */
285 void setCPU(FullCPU *cpu_ptr) { cpu = cpu_ptr; }
285 void setCPU(O3CPU *cpu_ptr) { cpu = cpu_ptr; }
286
287 /** Number of physical integer registers. */
288 unsigned numPhysicalIntRegs;
289 /** Number of physical floating point registers. */
290 unsigned numPhysicalFloatRegs;
291};
292
293template <class Impl>

--- 17 unchanged lines hidden ---
286
287 /** Number of physical integer registers. */
288 unsigned numPhysicalIntRegs;
289 /** Number of physical floating point registers. */
290 unsigned numPhysicalFloatRegs;
291};
292
293template <class Impl>

--- 17 unchanged lines hidden ---