isa.hh (7811:a8fc35183c10) isa.hh (9384:877293183bdf)
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"
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"
39
40
41struct PowerISAParams;
40class ThreadContext;
41class Checkpoint;
42class EventManager;
43
44namespace PowerISA
45{
46
42class ThreadContext;
43class Checkpoint;
44class EventManager;
45
46namespace PowerISA
47{
48
47class ISA
49class ISA : public SimObject
48{
49 protected:
50 MiscReg dummy;
51 MiscReg miscRegs[NumMiscRegs];
52
53 public:
50{
51 protected:
52 MiscReg dummy;
53 MiscReg miscRegs[NumMiscRegs];
54
55 public:
56 typedef PowerISAParams Params;
57
54 void
55 clear()
56 {
57 }
58
59 MiscReg
60 readMiscRegNoEffect(int misc_reg)
61 {

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

99 {
100 }
101
102 void
103 unserialize(EventManager *em, Checkpoint *cp, const std::string &section)
104 {
105 }
106
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);
111};
112
113} // namespace PowerISA
114
115#endif // __ARCH_POWER_ISA_HH__
114};
115
116} // namespace PowerISA
117
118#endif // __ARCH_POWER_ISA_HH__