1/*
2 * Copyright (c) 2009 The Regents of The University of Michigan
3 * Copyright (c) 2009 The University of Edinburgh
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

31 */
32
33#ifndef __ARCH_POWER_ISA_HH__
34#define __ARCH_POWER_ISA_HH__
35
36#include "arch/power/registers.hh"
37#include "arch/power/types.hh"
38#include "base/misc.hh"
39#include "sim/sim_object.hh"
40
41struct PowerISAParams;
42class ThreadContext;
43class Checkpoint;
44class EventManager;
45
46namespace PowerISA
47{
48
47class ISA
49class ISA : public SimObject
50{
51 protected:
52 MiscReg dummy;
53 MiscReg miscRegs[NumMiscRegs];
54
55 public:
56 typedef PowerISAParams Params;
57
58 void
59 clear()
60 {
61 }
62
63 MiscReg
64 readMiscRegNoEffect(int misc_reg)
65 {

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

103 {
104 }
105
106 void
107 unserialize(EventManager *em, Checkpoint *cp, const std::string &section)
108 {
109 }
110
107 ISA()
108 {
109 clear();
110 }
111 const Params *params() const;
112
113 ISA(Params *p);
114};
115
116} // namespace PowerISA
117
118#endif // __ARCH_POWER_ISA_HH__