Deleted Added
sdiff udiff text old ( 11168:f98eb2da15a4 ) new ( 12106:7784fac1b159 )
full compact
1/*
2 * Copyright (c) 2009 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;

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

32#define __ARCH_SPARC_ISA_HH__
33
34#include <ostream>
35#include <string>
36
37#include "arch/sparc/registers.hh"
38#include "arch/sparc/types.hh"
39#include "cpu/cpuevent.hh"
40#include "sim/sim_object.hh"
41
42class Checkpoint;
43class EventManager;
44struct SparcISAParams;
45class ThreadContext;
46
47namespace SparcISA

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

184
185 MiscReg readMiscRegNoEffect(int miscReg) const;
186 MiscReg readMiscReg(int miscReg, ThreadContext *tc);
187
188 void setMiscRegNoEffect(int miscReg, const MiscReg val);
189 void setMiscReg(int miscReg, const MiscReg val,
190 ThreadContext *tc);
191
192 int
193 flattenIntIndex(int reg) const
194 {
195 assert(reg < TotalInstIntRegs);
196 RegIndex flatIndex = intRegMap[reg];
197 assert(flatIndex < NumIntRegs);
198 return flatIndex;
199 }

--- 29 unchanged lines hidden ---