base.hh (3520:4f4a2054fd85) | base.hh (3521:0b0b3551def0) |
---|---|
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; --- 75 unchanged lines hidden (view full) --- 84 TheISA::Interrupts interrupts; 85 86 public: 87 virtual void post_interrupt(int int_num, int index); 88 virtual void clear_interrupt(int int_num, int index); 89 virtual void clear_interrupts(); 90 bool checkInterrupts; 91 | 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; --- 75 unchanged lines hidden (view full) --- 84 TheISA::Interrupts interrupts; 85 86 public: 87 virtual void post_interrupt(int int_num, int index); 88 virtual void clear_interrupt(int int_num, int index); 89 virtual void clear_interrupts(); 90 bool checkInterrupts; 91 |
92 bool check_interrupt(int int_num) const { 93 return interrupts.check_interrupt(int_num); 94 } | 92 bool check_interrupts(ThreadContext * tc) const 93 { return interrupts.check_interrupts(tc); } |
95 | 94 |
96 bool check_interrupts() const { return interrupts.check_interrupts(); } 97 //uint64_t intr_status() const { return interrupts.intr_status(); } 98 | |
99 class ProfileEvent : public Event 100 { 101 private: 102 BaseCPU *cpu; 103 int interval; 104 105 public: 106 ProfileEvent(BaseCPU *cpu, int interval); --- 154 unchanged lines hidden --- | 95 class ProfileEvent : public Event 96 { 97 private: 98 BaseCPU *cpu; 99 int interval; 100 101 public: 102 ProfileEvent(BaseCPU *cpu, int interval); --- 154 unchanged lines hidden --- |