1/* 2 * Copyright (c) 2002-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; --- 94 unchanged lines hidden (view full) --- 103 * @param begin_tick The tick that the event is completing on. 104 */ 105 Tick nextCycle(Tick begin_tick); 106 107 TheISA::MicrocodeRom microcodeRom; 108 109#if FULL_SYSTEM 110 protected: |
111 TheISA::Interrupts *interrupts; |
112 113 public: 114 TheISA::Interrupts * 115 getInterruptController() 116 { 117 return interrupts; 118 } 119 |
120 virtual void postInterrupt(int int_num, int index); 121 virtual void clearInterrupt(int int_num, int index); 122 virtual void clearInterrupts(); |
123 |
124 bool 125 checkInterrupts(ThreadContext *tc) const 126 { 127 return interrupts->checkInterrupts(tc); 128 } |
129 130 class ProfileEvent : public Event 131 { 132 private: 133 BaseCPU *cpu; 134 Tick interval; 135 136 public: --- 149 unchanged lines hidden --- |