Deleted Added
sdiff udiff text old ( 9377:6f294e7a93d1 ) new ( 9384:877293183bdf )
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#include "arch/sparc/decoder.hh"
33#include "arch/sparc/isa.hh"
34#include "base/bitfield.hh"
35#include "base/trace.hh"
36#include "cpu/base.hh"
37#include "cpu/thread_context.hh"
38#include "debug/MiscRegs.hh"
39#include "debug/Timer.hh"
40
41namespace SparcISA
42{
43
44static PSTATE
45buildPstateMask()
46{
47 PSTATE mask = 0;

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

53 mask.tle = 1;
54 mask.cle = 1;
55 mask.pid1 = 1;
56 return mask;
57}
58
59static const PSTATE PstateMask = buildPstateMask();
60
61void
62ISA::reloadRegMap()
63{
64 installGlobals(gl, CurrentGlobalsOffset);
65 installWindow(cwp, CurrentWindowOffset);
66 // Microcode registers.
67 for (int i = 0; i < NumMicroIntRegs; i++)
68 intRegMap[MicroIntOffset + i] = i + TotalGlobals + NWindows * 16;

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

775 em->schedule(hSTickCompare, hstick_cmp);
776 }
777 }
778 }
779
780}
781
782}