base.hh (5664:3b3756efad89) | base.hh (5704:98224505352a) |
---|---|
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: | 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// uint64_t interrupts[TheISA::NumInterruptLevels]; 112// uint64_t intstatus; 113 TheISA::Interrupts * interrupts; | 111 TheISA::Interrupts *interrupts; |
114 115 public: 116 TheISA::Interrupts * 117 getInterruptController() 118 { 119 return interrupts; 120 } 121 | 112 113 public: 114 TheISA::Interrupts * 115 getInterruptController() 116 { 117 return interrupts; 118 } 119 |
122 virtual void post_interrupt(int int_num, int index); 123 virtual void clear_interrupt(int int_num, int index); 124 virtual void clear_interrupts(); | 120 virtual void postInterrupt(int int_num, int index); 121 virtual void clearInterrupt(int int_num, int index); 122 virtual void clearInterrupts(); |
125 | 123 |
126 bool check_interrupts(ThreadContext * tc) const 127 { return interrupts->check_interrupts(tc); } | 124 bool 125 checkInterrupts(ThreadContext *tc) const 126 { 127 return interrupts->checkInterrupts(tc); 128 } |
128 129 class ProfileEvent : public Event 130 { 131 private: 132 BaseCPU *cpu; 133 Tick interval; 134 135 public: --- 149 unchanged lines hidden --- | 129 130 class ProfileEvent : public Event 131 { 132 private: 133 BaseCPU *cpu; 134 Tick interval; 135 136 public: --- 149 unchanged lines hidden --- |